diff 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
line wrap: on
line diff
--- a/scn2k/scn2k_impl.h
+++ b/scn2k/scn2k_impl.h
@@ -73,7 +73,7 @@ class Scn2k : Event::Time {
 	private:
 		Event::Container& event;
 		PicContainer& parent;
-		AyuSysConfig& config;
+		AyuSysConfig *config;
 		WidMouseCursor* mcursor;
 		Flags flag;
 		Text text_exec;
@@ -134,8 +134,9 @@ class Scn2k : Event::Time {
 		void LoadRollback(Cmd& cmd);
 		void SaveSys(void);
 		void LoadSys(void);
+
 	public:
-		Scn2k(Event::Container& _event, PicContainer& _parent, class MuSys& mu, AyuSysConfig& config);
+		Scn2k(Event::Container& _event, PicContainer& _parent);
 		~Scn2k();
 		static char* OpenScript(int scn_number, char*& end, int* call_vec, int& system_version);
 		bool ChangeScript(int scn_number, int call_no);