From d01664f17503d52d4be1c31e099065da0d38d7f3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 23 Nov 2008 22:13:03 +0000 Subject: merged model classes into one file, classname cleanup, fx_particles --- src/model/classes.cc | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/model/classes.cc (limited to 'src/model/classes.cc') 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() +{ +} + +} -- cgit v1.2.3