Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/video.cc')
-rw-r--r--src/client/video.cc5
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;