Colobot
|
Public Types | |
enum class | Phase : unsigned int { Wait = 1 , Send = 2 , Receive = 3 , Error = 4 } |
Public Member Functions | |
CAutoInfo (CExchangePost *object) | |
void | DeleteObject (bool all=false) override |
void | Init () override |
void | Start (int param) override |
bool | EventProcess (const Event &event) override |
Error | GetError () override |
bool | CreateInterface (bool select) override |
bool | Write (CLevelParserLine *line) override |
bool | Read (CLevelParserLine *line) override |
![]() | |
CAuto (COldObject *object) | |
virtual Error | IsEnded () |
virtual bool | Abort () |
virtual Error | StartAction (int param) |
virtual bool | SetType (ObjectType type) |
virtual bool | SetValue (int rank, float value) |
virtual bool | SetString (char *string) |
virtual bool | GetBusy () |
virtual void | SetBusy (bool busy) |
virtual void | InitProgressTotal (float total) |
virtual void | EventProgress (float rTime) |
virtual bool | GetMotor () |
virtual void | SetMotor (bool bMotor) |
Protected Member Functions | |
void | UpdateInterface (float rTime) |
void | UpdateList () |
void | UpdateListVirus () |
![]() | |
void | CheckInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | EnableInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | VisibleInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | DeadInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | UpdateInterface () |
void | UpdateInterface (float rTime) |
Protected Attributes | |
CExchangePost * | m_exchangePost |
Phase | m_phase |
float | m_progress |
float | m_speed |
float | m_timeVirus |
float | m_lastParticle |
Math::Vector | m_goal |
bool | m_lastVirus |
![]() | |
CEventQueue * | m_eventQueue = nullptr |
Gfx::CEngine * | m_engine = nullptr |
Gfx::CParticle * | m_particle = nullptr |
Gfx::CTerrain * | m_terrain = nullptr |
Gfx::CWater * | m_water = nullptr |
Gfx::CCloud * | m_cloud = nullptr |
Gfx::CPlanet * | m_planet = nullptr |
Gfx::CLightning * | m_lightning = nullptr |
Gfx::CCamera * | m_camera = nullptr |
Ui::CInterface * | m_interface = nullptr |
CRobotMain * | m_main = nullptr |
COldObject * | m_object = nullptr |
CSoundInterface * | m_sound = nullptr |
ObjectType | m_type = OBJECT_NULL |
bool | m_bBusy = false |
bool | m_bMotor = false |
float | m_time = 0.0f |
float | m_lastUpdateTime = 0.0f |
float | m_progressTime = 0.0f |
float | m_progressTotal = 0.0f |
|
overridevirtual |
Reimplemented from CAuto.
|
overridevirtual |
Reimplemented from CAuto.
|
overridevirtual |
Reimplemented from CAuto.
|
overridevirtual |
Reimplemented from CAuto.
|
overridevirtual |
Reimplemented from CAuto.
|
overridevirtual |
Reimplemented from CAuto.