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/star.cc
parent825d5a44bd312772c53fdaa8924e4009cfb320a3 (diff)
renamed Entity.base_* to Entity.core_*
fixed camera::mode::Overview
Diffstat (limited to 'src/game/star.cc')
-rw-r--r--src/game/star.cc10
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()