summaryrefslogtreecommitdiff
path: root/src/driver.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 10:15:33 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 10:15:33 +0000
commit485c7cd99e4367b271279a7588c47ddabd6a3a47 (patch)
tree8e8bef53236b50c09032146a8d2da95fcdde5c6f /src/driver.cpp
parent70c7ec30b1c10bc4502a14e45555fff7a310fca4 (diff)
downloadopenttd-485c7cd99e4367b271279a7588c47ddabd6a3a47.tar.xz
(svn r22397) -Document: some tidbits of the blitter code
Diffstat (limited to 'src/driver.cpp')
-rw-r--r--src/driver.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index f0c27c195..8cab88fad 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -16,20 +16,20 @@
#include "video/video_driver.hpp"
#include "string_func.h"
-VideoDriver *_video_driver;
-char *_ini_videodriver;
-int _num_resolutions;
-Dimension _resolutions[32];
-Dimension _cur_resolution;
-bool _rightclick_emulate;
+VideoDriver *_video_driver; ///< The currently active video driver.
+char *_ini_videodriver; ///< The video driver a stored in the configuration file.
+int _num_resolutions; ///< The number of resolutions.
+Dimension _resolutions[32]; ///< List of resolutions.
+Dimension _cur_resolution; ///< The current resolution.
+bool _rightclick_emulate; ///< Whether right clicking is emulated.
-SoundDriver *_sound_driver;
-char *_ini_sounddriver;
+SoundDriver *_sound_driver; ///< The currently active sound driver.
+char *_ini_sounddriver; ///< The sound driver a stored in the configuration file.
-MusicDriver *_music_driver;
-char *_ini_musicdriver;
+MusicDriver *_music_driver; ///< The currently active music driver.
+char *_ini_musicdriver; ///< The music driver a stored in the configuration file.
-char *_ini_blitter;
+char *_ini_blitter; ///< The blitter as stored in the configuration file.
const char *GetDriverParam(const char * const *parm, const char *name)
{