Colobot
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CAutoBase Class Reference
Inheritance diagram for CAutoBase:
Inheritance graph
[legend]

Public Member Functions

 CAutoBase (CObject *object)
 
void DeleteObject (bool bAll=false)
 
void Init ()
 
void Start (int param)
 
bool EventProcess (const Event &event)
 
bool Abort ()
 
Error GetError ()
 
bool CreateInterface (bool bSelect)
 
Error TakeOff (bool printMsg)
 
- Public Member Functions inherited from CAuto
 CAuto (CObject *object)
 
virtual Error IsEnded ()
 
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 bBuse)
 
virtual void InitProgressTotal (float total)
 
virtual void EventProgress (float rTime)
 
virtual bool GetMotor ()
 
virtual void SetMotor (bool bMotor)
 
virtual bool Write (CLevelParserLine *line)
 
virtual bool Read (CLevelParserLine *line)
 

Protected Member Functions

void UpdateInterface ()
 
void FreezeCargo (bool bFreeze)
 
void MoveCargo ()
 
Error CheckCloseDoor ()
 
void BeginTransit ()
 
void EndTransit ()
 
- Protected Member Functions inherited from CAuto
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

AutoBasePhase m_phase
 
bool m_bOpen
 
float m_progress
 
float m_speed
 
float m_lastParticle
 
float m_lastMotorParticle
 
float m_fogStart
 
float m_deepView
 
Math::Vector m_pos
 
Math::Vector m_posSound
 
Math::Vector m_finalPos
 
Math::Vector m_lastPos
 
int m_param
 
int m_soundChannel
 
int m_partiChannel [8]
 
std::string m_bgBack
 
std::string m_bgName
 
Gfx::Color m_bgUp
 
Gfx::Color m_bgDown
 
Gfx::Color m_bgCloudUp
 
Gfx::Color m_bgCloudDown
 
- Protected Attributes inherited from CAuto
CEventQueuem_eventQueue
 
Gfx::CEnginem_engine
 
Gfx::CParticlem_particle
 
Gfx::CTerrainm_terrain
 
Gfx::CWaterm_water
 
Gfx::CCloudm_cloud
 
Gfx::CPlanetm_planet
 
Gfx::CLightningm_lightning
 
Gfx::CCameram_camera
 
Ui::CInterfacem_interface
 
CRobotMainm_main
 
CObjectm_object
 
CSoundInterfacem_sound
 
ObjectType m_type
 
bool m_bBusy
 
bool m_bMotor
 
float m_time
 
float m_lastUpdateTime
 
float m_progressTime
 
float m_progressTotal
 

The documentation for this class was generated from the following files: