From e379b1bfeb231716e07f0e4ae9ef024be9bfd08f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 2 Mar 2008 22:55:30 +0000 Subject: added target_engine support --- src/game/game.cc | 6 +++--- src/game/ship.cc | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/game') diff --git a/src/game/game.cc b/src/game/game.cc index 828a35b..4aa505d 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -101,8 +101,8 @@ void Game::init() cube->entity_shape = core::Entity::Diamond; cube->entity_color = Color(0.5f, 1.0f, 5.0f); cube->entity_location = Vector3f(16.0f, 20.0f, 0.0f); - cube->entity_name = "wreck: Thornaider"; - cube->entity_modelname = "ship"; + cube->entity_name = "wreck: Canasta"; + cube->entity_modelname = "ships/canasta"; // Micron Vector cube = new core::Entity(core::Entity::Solid & core::Entity::Static); @@ -110,7 +110,7 @@ void Game::init() cube->entity_color = Color(0.5f, 1.0f, 5.0f); cube->entity_location = Vector3f(18.0f, 22.0f, 0.0f); cube->entity_name = "wreck: Micron Vector"; - cube->entity_modelname = "micron_vector"; + cube->entity_modelname = "ships/micron_vector"; // the yellow sphere core::Entity *sphere = new core::Entity(core::Entity::Solid & core::Entity::Static); diff --git a/src/game/ship.cc b/src/game/ship.cc index e2a42d8..37c8cd8 100644 --- a/src/game/ship.cc +++ b/src/game/ship.cc @@ -23,6 +23,7 @@ Ship::Ship(core::Player *owner) : // entity properties entity_name = "ship: <" + owner->name() + "> Micron Vector"; entity_owner = owner; + entity_modelname = "ships/micron_vector"; // ship specs acceleration = 1.5f; -- cgit v1.2.3