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>2008-09-29 18:01:35 +0000
committerStijn Buys <ingar@osirion.org>2008-09-29 18:01:35 +0000
commit381c729e777b50771626703e60b422aafc791513 (patch)
tree856b9467dda75daaa1d78f6dce9dfb746dc338ce /src/core/application.h
parent5b64ecbd39307d17acd8815187f6cd211c384029 (diff)
adds introduction screen to the client
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h
index 0dfa652..3769941 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -13,6 +13,7 @@
#include "core/netserver.h"
#include "core/netconnection.h"
#include "core/gameinterface.h"
+#include "core/module.h"
namespace core
{
@@ -46,6 +47,9 @@ public:
/// disconnect from the game module
void disconnect();
+ /// load a module
+ Module *load(std::string const &module_name);
+
/*----- virtual mutators ------------------------------------------ */
/// initialize the application
@@ -100,6 +104,9 @@ private:
float application_time;
GameInterface *application_game;
static Application *application_instance;
+
+ /// last loaded interactive module
+ Module *module_interactive;
};
/// pointer to the current Application