summaryrefslogtreecommitdiff
path: root/src/video/null_v.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 16:14:23 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 16:14:23 +0000
commit4d5dbf51707c42c24eeafdb65016b079c54adcf2 (patch)
tree0197dcc17f4a8411ecea2223f356019c902fe7b9 /src/video/null_v.h
parente9837ff1ec1326aec622366ae29ff1aa81581daf (diff)
downloadopenttd-4d5dbf51707c42c24eeafdb65016b079c54adcf2.tar.xz
(svn r22410) -Document: some more bits ;)
Diffstat (limited to 'src/video/null_v.h')
-rw-r--r--src/video/null_v.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video/null_v.h b/src/video/null_v.h
index f9329d2d6..fa0ff054f 100644
--- a/src/video/null_v.h
+++ b/src/video/null_v.h
@@ -14,9 +14,10 @@
#include "video_driver.hpp"
+/** The null video driver. */
class VideoDriver_Null: public VideoDriver {
private:
- uint ticks;
+ uint ticks; ///< Amount of ticks to run.
public:
/* virtual */ const char *Start(const char * const *param);
@@ -33,6 +34,7 @@ public:
/* virtual */ const char *GetName() const { return "null"; }
};
+/** Factory the null video driver. */
class FVideoDriver_Null: public VideoDriverFactory<FVideoDriver_Null> {
public:
static const int priority = 0;