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-11-23 22:13:03 +0000
committerStijn Buys <ingar@osirion.org>2008-11-23 22:13:03 +0000
commitd01664f17503d52d4be1c31e099065da0d38d7f3 (patch)
tree63f15840977a02bdeca925c16a80b3da93dae5d8 /src/model/classes.cc
parentac3663d05da4e236d02620ae98d5a7e6882bc802 (diff)
merged model classes into one file, classname cleanup, fx_particles
Diffstat (limited to 'src/model/classes.cc')
-rw-r--r--src/model/classes.cc67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/model/classes.cc b/src/model/classes.cc
new file mode 100644
index 0000000..4042c38
--- /dev/null
+++ b/src/model/classes.cc
@@ -0,0 +1,67 @@
+/*
+ model/classes.cc
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#include "model/classes.h"
+
+namespace model {
+
+/* ---- class Light ------------------------------------------------ */
+
+Light::Light() :
+ light_location(),
+ light_color(1.0f, 1.0f, 1.0f)
+{
+ light_entity = false;
+ light_strobe = false;
+ light_radius = 1.0f;
+ light_frequency = 1.0f;
+ light_offset = 0.0f;
+ light_time = 0.5f;
+ light_flare = 0;
+ render_texture = 0;
+}
+
+Light::~Light()
+{}
+
+/* ---- class Flare ------------------------------------------------ */
+
+Flare::Flare() : Light()
+{
+ flare_angle = 0;
+ flare_engine = false;
+}
+
+Flare::~Flare()
+{}
+
+/* ---- class Particles -------------------------------------------- */
+
+Particles::Particles() :
+ particles_location()
+{
+}
+
+Particles::Particles(math::Vector3f const & location) :
+ particles_location(location)
+{
+}
+
+Particles::~Particles()
+{}
+
+/* ---- class Dock ------------------------------------------------- */
+
+Dock::Dock()
+{
+ dock_radius = 0.01f;
+}
+
+Dock::~Dock()
+{
+}
+
+}