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 (COldObject *object)
 
void DeleteObject (bool bAll=false) override
 
void Init () override
 
void Start (int param) override
 
bool EventProcess (const Event &event) override
 
bool Abort () override
 
Error GetError () override
 
bool CreateInterface (bool bSelect) override
 
Error TakeOff (bool printMsg)
 
- Public Member Functions inherited from CAuto
 CAuto (COldObject *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 busy)
 
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 freeze)
 
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 = ABP_WAIT
 
bool m_bOpen = false
 
float m_progress = 0.0f
 
float m_speed = 0.0f
 
float m_lastParticle = 0.0f
 
float m_lastMotorParticle = 0.0f
 
float m_fogStart = 0.0f
 
float m_deepView = 0.0f
 
Math::Vector m_pos
 
Math::Vector m_posSound
 
Math::Vector m_finalPos
 
Math::Vector m_lastPos
 
int m_param = 0
 
int m_soundChannel = 0
 
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
 
std::set< CObject * > m_cargoObjects
 
- Protected Attributes inherited from CAuto
CEventQueuem_eventQueue = nullptr
 
Gfx::CEnginem_engine = nullptr
 
Gfx::CParticlem_particle = nullptr
 
Gfx::CTerrainm_terrain = nullptr
 
Gfx::CWaterm_water = nullptr
 
Gfx::CCloudm_cloud = nullptr
 
Gfx::CPlanetm_planet = nullptr
 
Gfx::CLightningm_lightning = nullptr
 
Gfx::CCameram_camera = nullptr
 
Ui::CInterfacem_interface = nullptr
 
CRobotMainm_main = nullptr
 
COldObjectm_object = nullptr
 
CSoundInterfacem_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
 

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