diff options
author | Zaba999 <qrwfw5rp> | 2012-10-11 23:09:29 +0200 |
---|---|---|
committer | Zaba999 <qrwfw5rp> | 2012-10-11 23:09:29 +0200 |
commit | 8a932fed3e5700af283017deab3cb1da11cb0dce (patch) | |
tree | 892d7a4068c843cb41bd202f078b042027a0a3d0 /src/ui/control.h | |
parent | 3f7f013168e62693601ab57108d329ffaa924439 (diff) | |
download | colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.tar.gz colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.tar.bz2 colobot-8a932fed3e5700af283017deab3cb1da11cb0dce.zip |
Added saving user scripts on game save. Fixed bug in writing script to file.
Diffstat (limited to 'src/ui/control.h')
-rw-r--r-- | src/ui/control.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/control.h b/src/ui/control.h index e08c34d..635ae12 100644 --- a/src/ui/control.h +++ b/src/ui/control.h @@ -1,4 +1,4 @@ -// * This file is part of the COLOBOT source code +// * This file is part of the COLOBOT source code; // * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch // * Copyright (C) 2012 Polish Portal of Colobot (PPC) // * @@ -65,8 +65,7 @@ namespace Ui { class CControl { public: - // CControl(CInstanceManager* iMan); - CControl (); + CControl(); virtual ~CControl(); virtual bool Create(Math::Point pos, Math::Point dim, int icon, EventType eventType); @@ -117,9 +116,9 @@ namespace Ui { protected: CInstanceManager* m_iMan; Gfx::CEngine* m_engine; + Gfx::CParticle* m_particle; CEventQueue* m_event; CRobotMain* m_main; - Gfx::CParticle* m_particle; CSoundInterface* m_sound; Math::Point m_pos; // corner upper / left |