diff options
author | Stijn Buys <ingar@osirion.org> | 2012-12-28 22:53:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-12-28 22:53:10 +0000 |
commit | fe96eee5db2acbef1ea0f360b180fd9f8f990444 (patch) | |
tree | e4c2c65b20ca652861a30fa6b73673e73a07bb59 /src/core/parser.cc | |
parent | 92dafc75bba246aed3f20a558a9c4eed13a1e8a9 (diff) |
Addedd core:: support for EntityGlobe rings.
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r-- | src/core/parser.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/parser.cc b/src/core/parser.cc index 1c66888..ab280e4 100644 --- a/src/core/parser.cc +++ b/src/core/parser.cc @@ -154,6 +154,10 @@ bool Parser::got_entity_key(filesystem::IniFile &inifile, core::Entity *entity) } else if (inifile.got_key_string("corona", strval)) { globe->set_coronaname(strval); return true; + + } else if (inifile.got_key_string("rings", strval)) { + globe->set_ringsname(strval); + return true; } else if (inifile.got_key_float("rotationspeed", f)) { globe->set_rotationspeed(f); |