Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-29 13:37:16 +0000
committerStijn Buys <ingar@osirion.org>2010-11-29 13:37:16 +0000
commit409d3ce47d8a4d48947c7b19fc2460fd801b742c (patch)
tree3a6a029bcd1041a9bd88f8868bf11372c91ac5a7 /src/client/client.h
parenta7808ebdf39b549f4e0df38e6d897caa2dbb24bd (diff)
Added 'testmodel' function, enabled autoscaling on ui::ModelView
Diffstat (limited to 'src/client/client.h')
-rw-r--r--src/client/client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 288e9fa..a5ce297 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -12,6 +12,7 @@
#include "core/entity.h"
#include "client/clientext.h"
#include "client/soundext.h"
+#include "client/testmodelview.h"
#include "client/worldview.h"
#include "render/renderext.h"
@@ -66,6 +67,11 @@ public:
inline WorldView *worldview() {
return client_worldview;
}
+
+ /// model test widget
+ inline TestModelView *testmodelview() {
+ return client_testmodelview;
+ }
protected:
/// run a client frame
@@ -88,11 +94,14 @@ private:
static void func_ui_inventory(std::string const &args);
static void func_ui_map(std::string const &args);
static void func_ui_menu(std::string const &args);
+
+ static void func_testmodel(std::string const &args);
static void func_menu(std::string const &args);
static void func_view(std::string const &args);
WorldView *client_worldview;
+ TestModelView *client_testmodelview;
unsigned long previous_timestamp;
};