From 4cad4a27677b0490d3ba0018bc3404961f925ed5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 8 Nov 2008 10:17:37 +0000 Subject: docking, bumps network protocol version --- src/core/parser.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/core/parser.cc') 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; -- cgit v1.2.3