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-11 00:19:11 +0000
committerStijn Buys <ingar@osirion.org>2008-02-11 00:19:11 +0000
commitafec8e7c3aec1a186512b997ed3b717efef8fc43 (patch)
tree92f19ef9144bd271c72a19a15ae32b7dcdcd994c /src/game/game.h
parent825d5a44bd312772c53fdaa8924e4009cfb320a3 (diff)
renamed Entity.base_* to Entity.core_*
fixed camera::mode::Overview
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/game.h b/src/game/game.h
index bceb62d..abe0c0d 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -33,6 +33,9 @@ public:
/// execute one game grame
void frame(float seconds);
+ /// a player joins the game
+ void event_join(core::Player *player);
+
/// sectors in space
std::vector<Sector*> sectors;
@@ -47,6 +50,13 @@ private:
std::string author;
};
+// entity type constants
+const unsigned int ship_enttype = 256;
+const unsigned int star_enttype = 257;
+const unsigned int cube_enttype = 258;
+const unsigned int sphere_enttype = 259;
+const unsigned int axis_enttype = 260;
+
}
#endif // __INCLUDED_GAME_H__