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-03-02 12:23:48 +0000
committerStijn Buys <ingar@osirion.org>2008-03-02 12:23:48 +0000
commit81787e9004377016236865e95b95707ed6cf1d0b (patch)
treeb8a7bd0d51f97848ad98ec8c8f5e424de910df32 /src/game/game.cc
parent1d45d8ecb4633f07a0ff163255dbedc3c3a72ac8 (diff)
initial (buggy) support for .map models
Diffstat (limited to 'src/game/game.cc')
-rw-r--r--src/game/game.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/game.cc b/src/game/game.cc
index 85cd457..5157270 100644
--- a/src/game/game.cc
+++ b/src/game/game.cc
@@ -84,6 +84,7 @@ void Game::init()
cube->entity_color = Color(0.0f, 0.8f, 0.0f);
cube->entity_location = Vector3f(24.0f, 0.0f, -24.0f);
cube->entity_name ="cube: Borg cube green";
+ cube->entity_modelname = "cube";
cube->entity_moduletypeid = cube_enttype;
// the red cube
@@ -91,7 +92,8 @@ void Game::init()
cube->entity_shape = core::Entity::Cube;
cube->entity_color = Color(1.0f, 0.0f, 0.0f);
cube->entity_location = Vector3f(16.0f, 0.0f, -16.0f);
- cube->entity_name ="cube: Borg cube red";
+ cube->entity_name = "cube: Borg cube red";
+ cube->entity_modelname = "cube";
cube->entity_moduletypeid = cube_enttype;
// the yellow sphere