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>2012-12-28 22:53:10 +0000
committerStijn Buys <ingar@osirion.org>2012-12-28 22:53:10 +0000
commitfe96eee5db2acbef1ea0f360b180fd9f8f990444 (patch)
treee4c2c65b20ca652861a30fa6b73673e73a07bb59 /src/core/parser.cc
parent92dafc75bba246aed3f20a558a9c4eed13a1e8a9 (diff)
Addedd core:: support for EntityGlobe rings.
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r--src/core/parser.cc4
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);