Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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 (char *line)
virtual bool Read (char *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 (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
CInstanceManager * m_iMan
CEventQueue * m_eventQueue
Gfx::CEngine * m_engine
Gfx::CParticle * m_particle
Gfx::CTerrain * m_terrain
Gfx::CWater * m_water
Gfx::CCloud * m_cloud
Gfx::CPlanet * m_planet
Gfx::CLightning * m_lightning
Gfx::CCamera * m_camera
Ui::CInterface * m_interface
CRobotMain * m_main
CObject * m_object
CSoundInterface * m_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: