From 871be21e83502a909620a5bcfcd09e3257ed0518 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 13 Nov 2010 14:25:39 +0000 Subject: corrected a bug where ship names got erased, made core::Entity::info() const, added core::Info::find() to get non-const *core::Info pointers --- src/game/base/template.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/base/template.h') diff --git a/src/game/base/template.h b/src/game/base/template.h index 5780e9c..7934a7f 100644 --- a/src/game/base/template.h +++ b/src/game/base/template.h @@ -50,6 +50,11 @@ public: * @brief apply a template to an entity */ void apply(core::Entity *entity) const; + + /** + * @brief read template keys from an ini file + */ + static bool got_template_key(filesystem::IniFile &inifile, Template *entitytemplate); protected: -- cgit v1.2.3