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-05-04 22:30:49 +0000
committerStijn Buys <ingar@osirion.org>2008-05-04 22:30:49 +0000
commit7218e3bd4616d4706090ec47d72845a2bb89c6a3 (patch)
treecbf3fdb0dddf573edff89b50af22e8a84690cf00 /src/model/engine.h
parent33e45d8052b385aa8b1fce68122c8d11f50e7e42 (diff)
split map reading from models
Diffstat (limited to 'src/model/engine.h')
-rw-r--r--src/model/engine.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/model/engine.h b/src/model/engine.h
index fc868c9..5254973 100644
--- a/src/model/engine.h
+++ b/src/model/engine.h
@@ -8,6 +8,7 @@
#define __INCLUDED_MODEL_ENGINE_H__
#include "math/vector3f.h"
+#include "math/color.h"
namespace model {
@@ -15,15 +16,25 @@ namespace model {
class Engine
{
public:
+ Engine();
+
Engine(math::Vector3f const & location);
~Engine();
inline math::Vector3f const & location() const { return engine_location; }
inline float radius() const { return engine_radius; }
+
+ inline unsigned int flare() const { return engine_flare; }
+
+ inline unsigned int texture() const { return render_texture; }
math::Vector3f engine_location;
float engine_radius;
+ math::Color engine_color;
+ unsigned int engine_flare;
+
+ unsigned int render_texture;
};
}