From 4f6b27b58bfae9ce860a005edf890d8f1136a85f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 5 Mar 2008 18:21:39 +0000 Subject: OpenGL lighting --- src/game/game.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/game') diff --git a/src/game/game.cc b/src/game/game.cc index da8ef2e..77e534f 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -120,7 +120,7 @@ void Game::init() cube->entity_modelname = "cube"; cube->entity_moduletypeid = cube_enttype; - // Thornaider + // Canasta cube = new core::Entity(core::Entity::Solid & core::Entity::Static); cube->entity_shape = core::Entity::Diamond; cube->entity_color = Color(0.5f, 1.0f, 5.0f); @@ -132,10 +132,16 @@ void Game::init() cube = new core::Entity(core::Entity::Solid & core::Entity::Static); cube->entity_shape = core::Entity::Diamond; cube->entity_color = Color(0.5f, 1.0f, 5.0f); - cube->entity_location = Vector3f(18.0f, 22.0f, 0.0f); + cube->entity_location = Vector3f(17.0f, 21.0f, 0.0f); cube->entity_name = "wreck: Micron Vector"; cube->entity_modelname = "ships/micron_vector"; + // Alexandria + core::Entity *alexandria = new core::Entity(core::Entity::Solid & core::Entity::Static); + alexandria->entity_location = Vector3f(0.0f, -64.0f, 0.0f); + alexandria->entity_name = "station: Alexandria"; + alexandria->entity_modelname = "stations/alexandria"; + // the yellow sphere core::Entity *sphere = new core::Entity(core::Entity::Solid & core::Entity::Static); sphere->entity_shape = core::Entity::Sphere; -- cgit v1.2.3