Colobot
Loading...
Searching...
No Matches
CAutoVault Class Reference
Inheritance diagram for CAutoVault:

Public Member Functions

 CAutoVault (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
Public Member Functions inherited from CAuto
 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

int CountKeys ()
void LockKeys ()
void DownKeys (float progress)
void DeleteKeys ()
CObjectSearchVehicle ()
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

AutoVaultPhase m_phase = ASAP_WAIT
float m_progress = 0.0f
float m_speed = 0.0f
float m_timeVirus = 0.0f
float m_lastParticle = 0.0f
int m_channelSound = 0
bool m_bLock = false
int m_countKeys = 0
float m_actualAngle = 0.0f
float m_finalAngle = 0.0f
bool m_bKey [4] = {}
Math::Vector m_keyPos [4]
int m_keyParti [4] = {}
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

Member Function Documentation

◆ DeleteObject()

void CAutoVault::DeleteObject ( bool bAll = false)
overridevirtual

Reimplemented from CAuto.

◆ Init()

void CAutoVault::Init ( )
overridevirtual

Reimplemented from CAuto.

◆ EventProcess()

bool CAutoVault::EventProcess ( const Event & event)
overridevirtual

Reimplemented from CAuto.

◆ GetError()

Error CAutoVault::GetError ( )
overridevirtual

Reimplemented from CAuto.

◆ CreateInterface()

bool CAutoVault::CreateInterface ( bool bSelect)
overridevirtual

Reimplemented from CAuto.

◆ Write()

bool CAutoVault::Write ( CLevelParserLine * line)
overridevirtual

Reimplemented from CAuto.

◆ Read()

bool CAutoVault::Read ( CLevelParserLine * line)
overridevirtual

Reimplemented from CAuto.


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