Colobot
|
Public Member Functions | |
CAutoRepair (COldObject *object) | |
void | DeleteObject (bool bAll=false) override |
void | Init () override |
bool | EventProcess (const Event &event) override |
Error | GetError () override |
bool | CreateInterface (bool bSelect) override |
bool | Write (CLevelParserLine *line) override |
bool | Read (CLevelParserLine *line) override |
![]() | |
CAuto (COldObject *object) | |
virtual void | Start (int param) |
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 | |
CObject * | SearchVehicle () |
![]() | |
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 | |
AutoRepairPhase | m_phase = ARP_WAIT |
float | m_progress = 0.0f |
float | m_speed = 0.0f |
float | m_timeVirus = 0.0f |
float | m_lastParticle = 0.0f |
![]() | |
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 |