00001 #ifndef SimpleActorParser_hpp 00002 #define SimpleActorParser_hpp 00003 00004 #include "BasicPre.hpp" 00005 #include "../thing/SimpleActorFactory.hpp" 00006 #include "io/parse/component/ComponentParser.hpp" 00007 #include "io/parse/Parser.hpp" 00008 #include "comp/list/comp_list.hpp" 00009 00010 namespace se_basic { 00011 class _SeBasicExport SimpleComponentParser : public se_core::ComponentParser { 00012 public: 00013 SimpleComponentParser(const char* name, int type); 00014 00015 private: 00016 se_core::DictionaryEntry name_; 00017 }; 00018 00019 00020 class _SeBasicExport SignalComponentParser : public SimpleComponentParser { 00021 public: 00022 SignalComponentParser() 00023 : SimpleComponentParser("SIGNAL", se_core::sct_SIGNAL) { 00024 } 00025 se_core::ComponentFactory* parse(se_core::InputStream& in); 00026 }; 00027 00028 00029 class _SeBasicExport SimpleActorParser : public se_core::Parser { 00030 public: 00031 SimpleActorParser(se_core::ParseManager& parser); 00032 void parse(se_core::InputStream& in); 00033 void readMultiCutscene(se_core::InputStream& in, se_core::ObjectList& mgo); 00034 void readMultiQuest(se_core::InputStream& in, se_core::ObjectList& mgo); 00035 void readSpawnPoint(se_core::InputStream& in, se_core::ViewPoint& sp); 00036 //void parseStats(se_core::InputStream& in, SimpleActorFactory* factory); 00037 void parsePos(se_core::InputStream& in, SimpleActorFactory* factory); 00038 00039 private: 00040 SignalComponentParser signal_; 00041 }; 00042 00043 }; 00044 00045 00046 #endif
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:02 2007 by Doxygen version 1.3.9.1.