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-17 18:59:52 +0000
committerStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
commit982562fa19bb87a3dab352e562f386f61c171b7b (patch)
treeaeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/game/star.cc
parentd198b7b8d9ff713d891f35ab173d1f428f610e7d (diff)
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/game/star.cc')
-rw-r--r--src/game/star.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/star.cc b/src/game/star.cc
index 10bb6ee..0bb8fb5 100644
--- a/src/game/star.cc
+++ b/src/game/star.cc
@@ -10,13 +10,13 @@
namespace game {
-Star::Star() : core::Entity(core::entity::Static & core::entity::Solid)
+Star::Star() : core::Entity(core::Entity::Static & core::Entity::Solid)
{
- 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
+ entity_shape = core::Entity::Sphere; // a star is a sphere
+ entity_color = math::Color(1,1,1,1); // white
+ entity_radius = 48; // 48 game units
- type = star_enttype;
+ entity_moduletypeid = star_enttype;
}
Star::~Star()