Colobot
|
Public Member Functions | |
CObjectInterface (COldObject *object) | |
void | DeleteObject (bool all=false) |
bool | EventProcess (const Event &event) |
bool | CreateInterface (bool bSelect) |
void | UpdateInterface (float rTime) |
void | UpdateInterface () |
Protected Member Functions | |
bool | EventFrame (const Event &event) |
void | StartEditScript (Program *program, std::string name) |
Start the program editor. More... | |
void | StopEditScript (bool closeWithErrors) |
Close the program editor. More... | |
void | GroundFlat () |
void | ColorFlag (int color) |
void | UpdateScript (CWindow *pw) |
int | GetSelScript () |
void | SetSelScript (int index) |
void | BlinkScript (bool bEnable) |
void | CheckInterface (CWindow *pw, EventType event, bool bState) |
void | EnableInterface (CWindow *pw, EventType event, bool bState) |
void | DeadInterface (CWindow *pw, EventType event, bool bState) |
void | DefaultEnter (CWindow *pw, EventType event, bool bState=true) |
Protected Attributes | |
Gfx::CEngine * | m_engine |
Gfx::CTerrain * | m_terrain |
Gfx::CWater * | m_water |
Gfx::CCamera * | m_camera |
Gfx::CParticle * | m_particle |
CRobotMain * | m_main |
CInterface * | m_interface |
CSoundInterface * | m_sound |
COldObject * | m_object |
CTaskExecutorObject * | m_taskExecutor |
CProgrammableObject * | m_programmable |
CProgramStorageObject * | m_programStorage |
CPhysics * | m_physics |
CMotion * | m_motion |
std::unique_ptr< CStudio > | m_studio |
int | m_selScript |
EventType | m_manipStyle |
EventType | m_defaultEnter |
float | m_time |
float | m_lastUpdateTime |
float | m_lastAlarmTime |
int | m_soundChannelAlarm |
int | m_flagColor |
|
protected |
|
protected |
Close the program editor.
closeWithErrors | If true, the editor will be forced to close even if the program contains errors |