diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-08 10:17:37 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-08 10:17:37 +0000 |
commit | 4cad4a27677b0490d3ba0018bc3404961f925ed5 (patch) | |
tree | f9d59542f27f66a9fb4c8938f40aec66994449fc /src/core/parser.cc | |
parent | 27ab3566118e77754fefb32a41ee06cf24a59dfe (diff) |
docking, bumps network protocol version
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r-- | src/core/parser.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/parser.cc b/src/core/parser.cc index 39eb073..6af3903 100644 --- a/src/core/parser.cc +++ b/src/core/parser.cc @@ -10,6 +10,21 @@ namespace core { +bool Parser::read_entity_menu(core::Entity *entity, const std::string &menufilename) +{ + filesystem::IniFile inifile; + inifile.open(menufilename); + + if (!inifile.is_open()) { + return false; + } + + con_debug << " " << inifile.name() << std::endl; + + inifile.close(); + return true; +} + bool Parser::got_entity_key(filesystem::IniFile &inifile, core::Entity *entity) { std::string shapename; |