Mercurial > otakunoraifu
comparison scn2k/scn2k_impl.h @ 53:ddbcbd000206
* MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
* ParseMoji moved to TextStream
* Some cleaning (0 -> NULL when needed, removal of useless returns, ...)
author | thib |
---|---|
date | Sun, 19 Apr 2009 11:44:05 +0000 |
parents | 15a18fbe6f21 |
children | 4416cfac86ae |
comparison
equal
deleted
inserted
replaced
52:15a18fbe6f21 | 53:ddbcbd000206 |
---|---|
71 | 71 |
72 class Scn2k : Event::Time { | 72 class Scn2k : Event::Time { |
73 private: | 73 private: |
74 Event::Container& event; | 74 Event::Container& event; |
75 PicContainer& parent; | 75 PicContainer& parent; |
76 AyuSysConfig& config; | 76 AyuSysConfig *config; |
77 WidMouseCursor* mcursor; | 77 WidMouseCursor* mcursor; |
78 Flags flag; | 78 Flags flag; |
79 Text text_exec; | 79 Text text_exec; |
80 Grp grp_exec; | 80 Grp grp_exec; |
81 int system_version; | 81 int system_version; |
132 void Load(Cmd& cmd); | 132 void Load(Cmd& cmd); |
133 void SaveRollback(void); | 133 void SaveRollback(void); |
134 void LoadRollback(Cmd& cmd); | 134 void LoadRollback(Cmd& cmd); |
135 void SaveSys(void); | 135 void SaveSys(void); |
136 void LoadSys(void); | 136 void LoadSys(void); |
137 | |
137 public: | 138 public: |
138 Scn2k(Event::Container& _event, PicContainer& _parent, class MuSys& mu, AyuSysConfig& config); | 139 Scn2k(Event::Container& _event, PicContainer& _parent); |
139 ~Scn2k(); | 140 ~Scn2k(); |
140 static char* OpenScript(int scn_number, char*& end, int* call_vec, int& system_version); | 141 static char* OpenScript(int scn_number, char*& end, int* call_vec, int& system_version); |
141 bool ChangeScript(int scn_number, int call_no); | 142 bool ChangeScript(int scn_number, int call_no); |
142 bool ReadCmdAt(Cmd& cmd, int scn, int pt); | 143 bool ReadCmdAt(Cmd& cmd, int scn, int pt); |
143 void show_textwindow(int type); | 144 void show_textwindow(int type); |