diff options
Diffstat (limited to 'src/game/intro/intro.cc')
-rw-r--r-- | src/game/intro/intro.cc | 11 |
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); |