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-02-01 19:34:47 +0000
committerStijn Buys <ingar@osirion.org>2008-02-01 19:34:47 +0000
commit6c8446cddb37df732fc9e5fc21f98e31968ce634 (patch)
tree25515ae78969e2f0ef216a5cbef8a650b217e8f8 /src/core/core.h
parentf794b9ee52293cefd6ac73fdf0d2a01c5388f057 (diff)
interface cleanup
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 09c7209..745fd86 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -7,20 +7,18 @@
#ifndef __INCLUDED_CORE_H__
#define __INCLUDED_CORE_H__
+#include "core/gameinterface.h"
+#include "core/applicationinterface.h"
+
/// core contains the basic functionality of the engine
namespace core
{
- /// initialize the core
- void init();
-
- /// shutdown the core
- void shutdown();
+ inline GameInterface *game() { return GameInterface::instance(); }
- /// run one frame
- void frame(float sec);
+ inline ApplicationInterface *application() { return ApplicationInterface::instance(); }
+
};
-#include "core/game.h"
#endif // __INCLUDED_CORE_H__