diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-20 17:37:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-20 17:37:03 +0000 |
commit | 8ad20ed0462227463a5e3b94683d8c1c5a650494 (patch) | |
tree | b328fa70ba7b45e3dccb7de54cb5b43c68624cde /src/client/video.cc | |
parent | ed36610840d6b845a7ac9706502c447a5b773b31 (diff) |
targetting
Diffstat (limited to 'src/client/video.cc')
-rw-r--r-- | src/client/video.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/video.cc b/src/client/video.cc index 0dfe8ef..3566481 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -57,8 +57,13 @@ bool init() // initialize cvars r_width = core::Cvar::get("r_width", width_default, core::Cvar::Archive); + r_width->set_info("[int] video resolution width"); + r_height = core::Cvar::get("r_height", height_default, core::Cvar::Archive); + r_height->set_info("[int] video resolution height"); + r_fullscreen = core::Cvar::get("r_fullscreen", "0", core::Cvar::Archive); + r_fullscreen->set_info("[bool] enable or disable fullscreen video"); int bpp = 0; int flags = 0; |