Public Member Functions |
| CBrain (CObject *object) |
void | DeleteObject (bool bAll=false) |
void | SetPhysics (CPhysics *physics) |
void | SetMotion (CMotion *motion) |
bool | EventProcess (const Event &event) |
bool | CreateInterface (bool bSelect) |
bool | Write (char *line) |
bool | Read (char *line) |
bool | IsBusy () |
void | SetActivity (bool bMode) |
bool | GetActivity () |
bool | IsProgram () |
bool | ProgramExist (int rank) |
void | RunProgram (int rank) |
int | FreeProgram () |
int | GetProgram () |
void | StopProgram () |
void | StopTask () |
bool | IntroduceVirus () |
void | SetActiveVirus (bool bActive) |
bool | GetActiveVirus () |
void | SetScriptRun (int rank) |
int | GetScriptRun () |
void | SetScriptName (int rank, char *name) |
char * | GetScriptName (int rank) |
void | SetSoluceName (char *name) |
char * | GetSoluceName () |
bool | SendProgram (int rank, const char *buffer) |
bool | ReadSoluce (char *filename) |
bool | ReadProgram (int rank, const char *filename) |
bool | GetCompile (int rank) |
bool | WriteProgram (int rank, char *filename) |
bool | ReadStack (FILE *file) |
bool | WriteStack (FILE *file) |
Error | StartTaskTake () |
Error | StartTaskManip (TaskManipOrder order, TaskManipArm arm) |
Error | StartTaskFlag (TaskFlagOrder order, int rank) |
Error | StartTaskBuild (ObjectType type) |
Error | StartTaskSearch () |
Error | StartTaskTerraform () |
Error | StartTaskPen (bool bDown, int color) |
Error | StartTaskRecover () |
Error | StartTaskShield (TaskShieldMode mode) |
Error | StartTaskFire (float delay) |
Error | StartTaskFireAnt (Math::Vector impact) |
Error | StartTaskSpiderExplo () |
Error | StartTaskGunGoal (float dirV, float dirH) |
Error | StartTaskReset (Math::Vector goal, Math::Vector angle) |
void | UpdateInterface (float rTime) |
void | UpdateInterface () |
Protected Member Functions |
bool | EventFrame (const Event &event) |
void | StartEditScript (int rank, char *name) |
void | StopEditScript (bool bCancel) |
Error | EndedTask () |
void | GroundFlat () |
void | ColorFlag (int color) |
void | UpdateScript (Ui::CWindow *pw) |
int | GetSelScript () |
void | BlinkScript (bool bEnable) |
void | CheckInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | EnableInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | DeadInterface (Ui::CWindow *pw, EventType event, bool bState) |
void | DefaultEnter (Ui::CWindow *pw, EventType event, bool bState=true) |
void | TraceRecordStart () |
void | TraceRecordFrame () |
void | TraceRecordStop () |
bool | TraceRecordOper (TraceOper oper, float param) |
bool | TraceRecordPut (char *buffer, int max, TraceOper oper, float param) |
The documentation for this class was generated from the following files:
- /build/colobot-T0lCmu/colobot-0.1.3/src/object/brain.h
- /build/colobot-T0lCmu/colobot-0.1.3/src/object/brain.cpp