diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-06 12:11:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-06 12:11:46 +0000 |
commit | 64a2a6d71023ab382c996ccdb8e403660fa19916 (patch) | |
tree | ab6a181c528deda6033ffa9c274ea87bfffffee1 /src/core/zone.h | |
parent | fed29d9ddc3b8372b9c3fe8bffe221a5a55e5ce9 (diff) |
replaces skydomes with skyboxes
Diffstat (limited to 'src/core/zone.h')
-rw-r--r-- | src/core/zone.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/core/zone.h b/src/core/zone.h index c96f7f9..38a9298 100644 --- a/src/core/zone.h +++ b/src/core/zone.h @@ -85,16 +85,11 @@ public: return zone_id; } - /// the name of the texture to be used as sky for this zone + /// name of the skybox inline std::string const & sky() const { return zone_sky; } - /// texture id for the sky - inline size_t sky_texture() const { - return zone_sky_texture; - } - /// default zone view inline Entity *default_view() { return zone_defaultview; @@ -114,16 +109,11 @@ public: /* ---- mutators ------------------------------------------- */ - /// set the sky texture name to be used for this zone + /// set the skybox name inline void set_sky(std::string const & sky) { zone_sky.assign(sky); } - /// set the texture id for the sky - inline void set_sky_texture(size_t texture) { - zone_sky_texture = texture; - } - ///set the default view inline void set_default_view(Entity *entity) { zone_defaultview = entity; @@ -155,8 +145,6 @@ private: std::string zone_sky; - size_t zone_sky_texture; - Content zone_content; static Registry zone_registry; |