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-10-26 13:35:59 +0000
committerStijn Buys <ingar@osirion.org>2008-10-26 13:35:59 +0000
commit654b908c2ed0c7708b609beb9841f06c4d982cc3 (patch)
treeaa092f5522e801b34676fc4c53e8ea0072c9e980 /src/game/intro/intro.cc
parent95576727e1e328c18dcc6228dc37762b39464dc1 (diff)
intro.ini updates
Diffstat (limited to 'src/game/intro/intro.cc')
-rw-r--r--src/game/intro/intro.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/intro/intro.cc b/src/game/intro/intro.cc
index 95d003a..55f038f 100644
--- a/src/game/intro/intro.cc
+++ b/src/game/intro/intro.cc
@@ -55,6 +55,8 @@ bool Intro::load_world()
std::string strval;
core::EntityGlobe *globe = 0;
math::Color color;
+ math::Vector3f v;
+ float f;
bool b;
while (ini.getline()) {
@@ -91,6 +93,15 @@ bool Intro::load_world()
} else if (ini.got_key_color("colorsecond", color)) {
intro_convoy->set_color_second(color);
+ } else if (ini.got_key_vector3f("location", v)) {
+ intro_convoy->set_location(v);
+
+ } else if (ini.got_key_float("direction", f)) {
+ intro_convoy->change_direction(f);
+
+ } else if (ini.got_key_float("speed", f)) {
+ intro_convoy->set_speed(f);
+
} else if (ini.got_key_string("ship", strval)) {
intro_convoy->add(strval);