diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-11 00:19:11 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-11 00:19:11 +0000 |
commit | afec8e7c3aec1a186512b997ed3b717efef8fc43 (patch) | |
tree | 92f19ef9144bd271c72a19a15ae32b7dcdcd994c /src/game/star.cc | |
parent | 825d5a44bd312772c53fdaa8924e4009cfb320a3 (diff) |
renamed Entity.base_* to Entity.core_*
fixed camera::mode::Overview
Diffstat (limited to 'src/game/star.cc')
-rw-r--r-- | src/game/star.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game/star.cc b/src/game/star.cc index 5fed82a..10bb6ee 100644 --- a/src/game/star.cc +++ b/src/game/star.cc @@ -4,7 +4,7 @@ the terms of the GNU General Public License version 2. */ -#include "game/shared.h" +#include "game/game.h" #include "game/star.h" @@ -12,9 +12,11 @@ namespace game { Star::Star() : core::Entity(core::entity::Static & core::entity::Solid) { - base_shape = core::entity::Sphere; // a star is a sphere - base_color = math::Color(1,1,1,1); // white - base_radius = 48; // 48 game units + core_shape = core::entity::Sphere; // a star is a sphere + core_color = math::Color(1,1,1,1); // white + core_radius = 48; // 48 game units + + type = star_enttype; } Star::~Star() |