diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-08 20:19:21 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-08 20:19:21 +0000 |
commit | 82992a9b16d64104dd28d42e97cc118a75fded86 (patch) | |
tree | a7c30cedd613196c06df3fc04f6bce015c3927c1 /src/client/video.cc | |
parent | 1124a81de517375a012b89bf83462c091d472cab (diff) |
Added clock.
Diffstat (limited to 'src/client/video.cc')
-rw-r--r-- | src/client/video.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/video.cc b/src/client/video.cc index 72b72da..84bbe52 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -36,6 +36,7 @@ core::Cvar *draw_ui = 0; core::Cvar *draw_stats = 0; core::Cvar *draw_devinfo = 0; core::Cvar *draw_keypress = 0; +core::Cvar *draw_clock = 0; namespace video { @@ -86,6 +87,9 @@ bool init() draw_keypress = core::Cvar::get("draw_keypress", "0", core::Cvar::Archive); draw_keypress->set_info("[bool] draw keypress key names"); + + draw_clock = core::Cvar::get("draw_clock", "0", core::Cvar::Archive); + draw_clock->set_info("[int] draw clock (0=Off, 1=24hr, 2=12hr)"); draw_ui = core::Cvar::get("draw_ui", "1", core::Cvar::Archive); draw_ui->set_info("[bool] draw the user interface"); |