Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/game/game.h b/src/game/game.h
index 6f77bcf..bd9cebb 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -10,31 +10,40 @@
// project headers
#include "game/ship.h"
#include "game/star.h"
+#include "game/sector.h"
#include "core/core.h"
#include "sys/sys.h"
+// C++ headers
+#include <vector>
+#include <string>
+
/// the game-specific engine
-/** The main game functions. The console should be initialized before calling these.
+/** The main game functions.
*/
namespace game
{
-/// the only ship in the game
-extern Ship ship;
-
-/// the only star in the game
-extern Star star;
-
class Game : public core::GameInterface {
public:
/// initialize the game
void init();
-
/// shutdown the game
void shutdown();
-
- /// update the game state
+ /// execute one game grame
void frame(float sec);
+
+ /// sectors in space
+ std::vector<Sector*> sectors;
+ /// the only ship in the game
+ Ship ship;
+ /// the only star in the game
+ Star star;
+
+private:
+ std::string name;
+ std::string label;
+ std::string author;
};
}