#include <C4Command.h>
Public Member Functions | |
C4Command () | |
~C4Command () | |
void | Set (int32_t iCommand, C4Object *pObj, C4Object *pTarget, C4Value iTx, int32_t iTy, C4Object *pTarget2, C4Value iData, int32_t iUpdateInterval, bool fEvaluated, int32_t iRetries, C4String *szText, int32_t iBaseMode) |
void | Clear () |
void | Execute () |
void | ClearPointers (C4Object *pObj) |
void | Default () |
void | Denumerate (C4ValueNumbers *) |
void | CompileFunc (StdCompiler *pComp, C4ValueNumbers *) |
Public Attributes | |
C4Object * | cObj |
int32_t | Command |
C4Value | Tx |
int32_t | Ty |
C4ObjectPtr | Target |
C4ObjectPtr | Target2 |
C4Value | Data |
int32_t | UpdateInterval |
int32_t | Evaluated |
int32_t | PathChecked |
int32_t | Finished |
int32_t | Failures |
int32_t | Retries |
int32_t | Permit |
C4String * | Text |
C4Command * | Next |
int32_t | iExec |
int32_t | BaseMode |
Protected Member Functions | |
void | Call () |
void | Home () |
void | Retry () |
void | Fail (const char *szFailMessage=nullptr) |
void | Acquire () |
void | Sell () |
void | Buy () |
void | Attack () |
void | Transfer () |
void | Finish (bool fSuccess=false, const char *szFailMessage=nullptr) |
void | Follow () |
void | MoveTo () |
void | Enter () |
void | Exit () |
void | Grab () |
void | UnGrab () |
void | Throw () |
void | Jump () |
void | Wait () |
void | Take () |
void | Take2 () |
bool | GetTryEnter () |
void | Get () |
void | Put () |
void | Drop () |
void | Dig () |
void | Activate () |
void | PushTo () |
int32_t | CallFailed () |
bool | JumpControl () |
bool | FlightControl () |
bool | InitEvaluation () |
int32_t | GetExpGain () |
Definition at line 74 of file C4Command.h.
C4Command::C4Command | ( | ) |
Definition at line 197 of file C4Command.cpp.
References Default().
C4Command::~C4Command | ( | ) |
Definition at line 202 of file C4Command.cpp.
References Clear().
|
protected |
Definition at line 1655 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::AddCommand(), C4CMD_Buy, C4CMD_Get, C4CMD_Mode_Sub, C4PropList::Call(), cObj, C4Object::Contained, C4Object::Contents, Data, C4ObjectList::Find(), C4Game::FindObject(), Finish(), Game, C4Value::getDef(), C4Value::getInt(), C4Object::GetOnFire(), C4Object::GetX(), C4Object::GetY(), Inside(), C4Object::OCF, OCF_Available, OCF_FullCon, PSF_ControlCommandAcquire, C4PropList::Status, Target, Target2, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1105 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::ActivateMenu(), C4Object::AddCommand(), C4CMD_Enter, C4CMD_Exit, C4MN_Activate, cObj, Command, C4Object::Command, C4Object::Contained, C4Object::Contents, C4Object::Controller, Data, C4Object::Def, DFA_DIG, Finish(), C4Value::getDef(), C4Object::GetProcedure(), ObjectComStop(), C4Object::OCF, OCF_Entrance, C4Object::SetCommand(), C4Value::SetInt(), C4PropList::Status, Target, Target2, and Tx.
Referenced by Execute().
|
protected |
Definition at line 1600 of file C4Command.cpp.
References C4Object::AddCommand(), C4CMD_Enter, C4CMD_Exit, C4CMD_MoveTo, C4CMD_Throw, cObj, C4Object::Contained, C4Object::Contents, C4Object::Def, Finish(), C4Object::GetX(), C4Object::GetY(), C4Object::OCF, OCF_CrewMember, C4Def::Projectile, and Target.
Referenced by Execute().
|
protected |
Definition at line 1645 of file C4Command.cpp.
References Finish().
Referenced by Execute().
|
protected |
Definition at line 1833 of file C4Command.cpp.
References C4PropList::Call(), cObj, Finish(), C4String::GetCStr(), Target, Target2, Text, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1918 of file C4Command.cpp.
References C4Value::_getInt(), C4PropList::Call(), cObj, C4String::GetCStr(), sprintf, Target, Target2, Text, Tx, and Ty.
Referenced by Fail().
void C4Command::Clear | ( | ) |
Definition at line 1456 of file C4Command.cpp.
References BaseMode, C4CMD_Mode_SilentSub, C4CMD_None, C4VNull, cObj, Command, C4RefCnt::DecRef(), Evaluated, PathChecked, Target, Target2, Text, Tx, Ty, and UpdateInterval.
Referenced by Set(), and ~C4Command().
void C4Command::ClearPointers | ( | C4Object * | pObj | ) |
void C4Command::CompileFunc | ( | StdCompiler * | pComp, |
C4ValueNumbers * | numbers | ||
) |
Definition at line 1852 of file C4Command.cpp.
References BaseMode, Command, Data, C4RefCnt::DecRef(), EnumAdaptCommandEntries, Evaluated, Failures, Finished, C4String::GetData(), C4RefCnt::IncRef(), StdCompiler::isDeserializer(), StdCompiler::isSerializer(), mkIntPackAdapt(), mkParAdapt(), StdCompiler::NoSeparator(), PathChecked, Permit, StdCompiler::RCT_All, StdStrBuf::Ref(), C4StringTable::RegString(), Retries, StdCompiler::SEP_DOLLAR, StdCompiler::SEP_SEP, StdCompiler::Separator(), Strings, Target, Target2, Text, Tx, Ty, UpdateInterval, and StdCompiler::Value().
void C4Command::Default | ( | ) |
Definition at line 207 of file C4Command.cpp.
References BaseMode, C4CMD_Mode_SilentSub, C4CMD_None, C4VNull, cObj, Command, Data, Evaluated, Failures, Finished, iExec, Next, PathChecked, Permit, Retries, C4Value::Set0(), Target, Target2, Text, Tx, Ty, and UpdateInterval.
Referenced by C4Command(), and Set().
void C4Command::Denumerate | ( | C4ValueNumbers * | numbers | ) |
Definition at line 1911 of file C4Command.cpp.
References C4Value::Denumerate(), C4ObjectPtr::DenumeratePointers(), Target, Target2, and Tx.
|
protected |
Definition at line 454 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4CMD_Exit, C4CMD_UnGrab, cObj, COMD_Down, COMD_DownLeft, COMD_DownRight, COMD_Left, COMD_Right, COMD_UpLeft, COMD_UpRight, C4Action::ComDir, C4Object::Contained, Data, C4Action::Data, C4Object::Def, DFA_DIG, DFA_HANGLE, DFA_PUSH, DFA_SCALE, DFA_WALK, DigRange, C4Action::Dir, DIR_Left, Finish(), C4Value::getBool(), C4Object::GetProcedure(), C4Object::GetX(), C4Object::GetY(), C4Shape::GetY(), Inside(), MoveToRange, C4Def::MoveToRange, ObjectComDig(), ObjectComLetGo(), ObjectComStop(), C4Object::Shape, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 841 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4CMD_Get, C4CMD_MoveTo, C4CMD_UnGrab, cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, C4Object::Contents, C4Object::Def, DFA_DIG, DFA_PUSH, Finish(), C4ObjectList::GetLink(), C4Object::GetProcedure(), C4Object::GetX(), C4Object::GetY(), MoveToRange, C4Def::MoveToRange, ObjectComDrop(), ObjectComPutTake(), ObjectComStop(), Target, C4Action::Target, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 564 of file C4Command.cpp.
References C4Object::Action, C4Object::ActivateEntrance(), C4Object::AddCommand(), C4Object::At(), C4CMD_Enter, C4CMD_Enter_PushTarget, C4CMD_MoveTo, C4CMD_MoveTo_PushTarget, C4CMD_UnGrab, C4VInt(), cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, C4Object::Controller, Data, C4Object::Def, DFA_DIG, DFA_PUSH, C4Object::Enter(), C4Object::EntranceStatus, Finish(), C4Object::GetEntranceArea(), C4Value::getInt(), C4Object::GetProcedure(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), C4Def::NoPushEnter, ObjectComStop(), OCF_Entrance, P_Touchable, C4Object::SetCommand(), Target, and C4Action::Target.
Referenced by Execute().
void C4Command::Execute | ( | ) |
Definition at line 1295 of file C4Command.cpp.
References Acquire(), Activate(), C4Object::AddCommand(), Attack(), Buy(), C4CMD_Acquire, C4CMD_Activate, C4CMD_Attack, C4CMD_Buy, C4CMD_Call, C4CMD_Dig, C4CMD_Drop, C4CMD_Enter, C4CMD_Exit, C4CMD_Follow, C4CMD_Get, C4CMD_Grab, C4CMD_Home, C4CMD_Jump, C4CMD_MoveTo, C4CMD_PushTo, C4CMD_Put, C4CMD_Retry, C4CMD_Sell, C4CMD_Take, C4CMD_Take2, C4CMD_Throw, C4CMD_Transfer, C4CMD_UnGrab, C4CMD_Wait, Call(), cObj, Command, Dig(), Drop(), Enter(), Exit(), Failures, Finish(), Finished, Follow(), Get(), Grab(), Home(), iExec, InitEvaluation(), Jump(), MoveTo(), PushTo(), Put(), Retries, Retry(), Sell(), Take(), Take2(), Throw(), Transfer(), UnGrab(), UpdateInterval, and Wait().
Referenced by C4Object::ExecuteCommand().
|
protected |
Definition at line 630 of file C4Command.cpp.
References C4Object::ActivateEntrance(), cObj, C4Def::Collection, C4Object::Contained, C4Object::Controller, C4Object::Def, C4Object::Enter(), C4Object::EntranceStatus, C4Object::Exit(), Finish(), C4Object::GetEntranceArea(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), C4Shape::GetY(), ObjectComJump(), C4Object::OCF, OCF_Entrance, P_Collectible, C4Object::Shape, C4Rect::Wdt, and C4Rect::y.
Referenced by Execute().
|
protected |
Definition at line 1703 of file C4Command.cpp.
References C4Object::Action, C4GameMessageList::Append(), BaseMode, C4CMD_Acquire, C4CMD_Call, C4CMD_Dig, C4CMD_Exit, C4CMD_Mode_Base, C4CMD_Mode_SilentSub, C4CMD_Mode_Sub, C4GM_Target, C4MaxName, C4RGB, C4VInt(), C4VObj(), C4VString(), C4PropList::Call(), CallFailed(), cObj, COMD_Stop, C4Action::ComDir, Command, CommandName(), CommandNameID(), Data, C4Object::Def, Failures, Finished, StdStrBuf::Format(), StdStrBuf::getData(), C4Value::getDef(), C4PropListStatic::GetName(), LoadResStr(), Messages, Next, NO_OWNER, C4Object::OCF, OCF_CrewMember, PSF_CommandFailure, Retries, SCopy(), C4Def::SilentCommands, C4PropList::Status, Target, Target2, Tx, and Ty.
Referenced by Finish().
|
protected |
Definition at line 1374 of file C4Command.cpp.
References cObj, C4ObjectInfo::ControlCount, C4Object::DoExperience(), Fail(), Finished, GetExpGain(), and C4Object::Info.
Referenced by Acquire(), Activate(), Attack(), Buy(), Call(), Dig(), Drop(), Enter(), Execute(), Exit(), Follow(), Get(), GetTryEnter(), Grab(), Home(), Jump(), MoveTo(), PushTo(), Put(), Sell(), Take(), Take2(), Throw(), Transfer(), and UnGrab().
|
protected |
Definition at line 1471 of file C4Command.cpp.
References C4Value::_getInt(), Angle(), cObj, C4Object::Def, Distance(), FlightAngleRange, GBackSolid(), C4Object::GetAction(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), C4Shape::GetY(), Inside(), C4Object::OCF, OCF_CrewMember, P_ObjectDisabled, C4Def::Pathfinder, C4Object::SetActionByName(), C4Object::Shape, Tx, and Ty.
Referenced by MoveTo().
|
protected |
Definition at line 512 of file C4Command.cpp.
References C4Object::Action, C4Object::AddCommand(), C4CMD_Enter, C4CMD_Exit, C4CMD_Grab, C4CMD_MoveTo, C4CMD_UnGrab, cObj, C4Action::ComDir, C4Object::Contained, C4Def::CrewMember, C4Object::Def, DFA_PUSH, Finish(), FollowRange, C4Object::GetProcedure(), C4Object::GetX(), C4Object::GetY(), Target, and C4Action::Target.
Referenced by Execute().
|
protected |
Definition at line 955 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::ActivateMenu(), C4Object::AddCommand(), C4Object::At(), C4CMD_Dig, C4CMD_Enter, C4CMD_Exit, C4CMD_Grab, C4CMD_Jump, C4CMD_MoveTo, C4CMD_UnGrab, C4D_Grab_Get, C4MN_Contents, C4MN_Get, cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, C4Object::Contents, Data, C4Object::Def, DFA_DIG, DFA_PUSH, DigOutPositionRange, Distance(), C4ObjectList::Find(), FindClosestFree(), Finish(), C4Value::getDef(), C4Value::getInt(), C4Object::GetProcedure(), GetTryEnter(), C4Object::GetX(), C4Object::GetY(), C4Def::GrabPutGet, Inside(), C4Def::NoGet, ObjectComStop(), C4Object::OCF, OCF_Carryable, OCF_Collection, OCF_Entrance, OCF_InSolid, OCF_Normal, PathFree(), Random(), Target, C4Action::Target, Target2, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1932 of file C4Command.cpp.
References C4CMD_Acquire, C4CMD_Activate, C4CMD_Attack, C4CMD_Buy, C4CMD_Call, C4CMD_Dig, C4CMD_Drop, C4CMD_Enter, C4CMD_Exit, C4CMD_Follow, C4CMD_Get, C4CMD_Grab, C4CMD_Home, C4CMD_Jump, C4CMD_MoveTo, C4CMD_PushTo, C4CMD_Put, C4CMD_Retry, C4CMD_Sell, C4CMD_Take, C4CMD_Take2, C4CMD_Throw, C4CMD_Transfer, C4CMD_UnGrab, C4CMD_Wait, and Command.
Referenced by Finish().
|
protected |
Definition at line 926 of file C4Command.cpp.
References C4PropList::Call(), cObj, C4Object::Contained, C4Object::Enter(), Finish(), PSF_Get, PSF_RejectContents, C4Object::PutAwayUnusedObject(), and Target.
Referenced by Get().
|
protected |
Definition at line 669 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4Object::At(), C4CMD_MoveTo, C4CMD_UnGrab, cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, DFA_DIG, DFA_HANGLE, DFA_PUSH, DFA_SCALE, C4Action::Dir, DIR_Left, Finish(), C4Object::GetProcedure(), C4Object::GetX(), C4Object::GetY(), ObjectComGrab(), ObjectComLetGo(), ObjectComStop(), OCF_All, Target, C4Action::Target, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1805 of file C4Command.cpp.
References Finish().
Referenced by Execute().
|
protected |
Definition at line 1392 of file C4Command.cpp.
References C4Value::_getInt(), AdjustMoveToTarget(), C4CMD_Acquire, C4CMD_Exit, C4CMD_Jump, C4CMD_MoveTo, C4CMD_MoveTo_NoPosAdjust, C4CMD_PushTo, C4CMD_Wait, cObj, Command, Data, DIR_Left, DIR_Right, Evaluated, FreeMoveTo(), C4Value::getInt(), C4Object::GetX(), C4Object::GetY(), C4Rect::Hgt, ObjectComCancelAttach(), ObjectComJump(), C4Object::SetDir(), C4Value::SetInt(), C4Object::Shape, Target, Tx, Ty, and UpdateInterval.
Referenced by Execute().
|
protected |
Definition at line 898 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, cObj, COMD_Left, COMD_Right, COMD_Stop, C4Action::ComDir, DFA_FLIGHT, Finish(), C4Object::GetProcedure(), C4Object::GetX(), and Tx.
Referenced by Execute().
|
protected |
Definition at line 1505 of file C4Command.cpp.
References C4Value::_getInt(), Abs(), C4Object::AddCommand(), AdjustMoveToTarget(), Angle(), C4CMD_Jump, C4CMD_MoveTo, CNAT_Left, CNAT_Right, cObj, C4Shape::ContactDensity, C4Object::Def, Distance(), GBackDensity(), GBackSolid(), C4Object::GetX(), C4Object::GetY(), C4Shape::GetY(), C4Rect::Hgt, Inside(), JumpAngle, JumpAngleRange, JumpHighAngle, JumpLowAngle, C4Object::OCF, OCF_CrewMember, C4Def::Pathfinder, PathFree(), C4Object::Shape, SolidOnWhichSide(), C4Object::t_contact, Tx, and Ty.
Referenced by MoveTo().
|
protected |
Definition at line 257 of file C4Command.cpp.
References C4Value::_getInt(), Abs(), C4Object::Action, C4Object::AddCommand(), Angle(), C4CMD_Exit, C4CMD_MoveTo, C4CMD_MoveTo_PushTarget, C4CMD_UnGrab, C4REAL100(), cObj, COMD_Down, COMD_DownLeft, COMD_DownRight, COMD_Left, COMD_Right, COMD_Stop, COMD_Up, COMD_UpLeft, COMD_UpRight, C4Action::ComDir, Command, C4Object::Contained, Data, C4Object::Def, DFA_DIG, DFA_FLIGHT, DFA_FLOAT, DFA_HANGLE, DFA_PULL, DFA_PUSH, DFA_SCALE, DFA_SWIM, DFA_WALK, C4Action::Dir, DIR_Left, DIR_Right, Distance(), C4PathFinder::EnableTransferZones(), Evaluated, C4PathFinder::Find(), Finish(), C4Object::fix_x, C4Object::fix_y, FlightControl(), Game, C4Object::GetAction(), C4Value::getInt(), C4Object::GetProcedure(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), Inside(), C4Game::iTick2, C4Game::iTick35, itofix(), JumpControl(), LetGoHangleAngle, LetGoRange1, LetGoRange2, MaxPathRange, MoveToRange, C4Def::MoveToRange, Next, C4Def::NoTransferZones, ObjectComLetGo(), ObjectComStop(), C4Object::OCF, OCF_CrewMember, P_Speed, P_Touchable, PathChecked, C4Game::PathFinder, C4Def::Pathfinder, PathFree(), PathRange, C4PathFinder::SetLevel(), C4Object::Shape, C4Object::t_contact, C4Action::Target, C4Action::Time, Tx, Ty, C4Rect::Wdt, C4Object::xdir, and C4Object::ydir.
Referenced by Execute().
|
protected |
Definition at line 701 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4CMD_Activate, C4CMD_Enter, C4CMD_Enter_PushTarget, C4CMD_Grab, C4CMD_MoveTo, C4CMD_MoveTo_PushTarget, C4CMD_UnGrab, C4CMD_Wait, cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, DFA_DIG, DFA_PUSH, Finish(), C4Object::GetProcedure(), C4Object::GetX(), C4Object::GetY(), Inside(), ObjectComStop(), PushToRange, Target, C4Action::Target, Target2, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1173 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4CMD_Enter, C4CMD_Exit, C4CMD_Get, C4CMD_Grab, C4CMD_Throw, C4CMD_UnGrab, C4D_Grab_Put, C4REAL100(), cObj, C4Def::Collection, C4Object::Contained, C4Object::Contents, Data, C4Object::Def, DFA_DIG, DFA_PUSH, Distance(), C4ObjectList::Find(), FindThrowingPosition(), Finish(), C4Def::Fragile, C4Value::getDef(), C4ObjectList::GetLink(), C4ObjectList::GetObject(), C4Object::GetProcedure(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), C4Def::GrabPutGet, C4Rect::Hgt, ObjectComPut(), ObjectComStop(), C4Object::OCF, OCF_Collection, OCF_Entrance, OCF_HitSpeed1, P_ThrowSpeed, C4Object::Shape, Target, C4Action::Target, Target2, Tx, Ty, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by Execute().
|
protected |
Definition at line 1800 of file C4Command.cpp.
Referenced by Execute().
|
protected |
Definition at line 1650 of file C4Command.cpp.
References Finish().
Referenced by Execute().
void C4Command::Set | ( | int32_t | iCommand, |
C4Object * | pObj, | ||
C4Object * | pTarget, | ||
C4Value | iTx, | ||
int32_t | iTy, | ||
C4Object * | pTarget2, | ||
C4Value | iData, | ||
int32_t | iUpdateInterval, | ||
bool | fEvaluated, | ||
int32_t | iRetries, | ||
C4String * | szText, | ||
int32_t | iBaseMode | ||
) |
Definition at line 1810 of file C4Command.cpp.
References BaseMode, C4CMD_Call, C4V_Int, C4Value::CheckConversion(), Clear(), cObj, Command, Data, Default(), Evaluated, C4RefCnt::IncRef(), Retries, C4Value::SetInt(), Target, Target2, Text, Tx, Ty, and UpdateInterval.
Referenced by C4Object::AddCommand().
|
protected |
Definition at line 829 of file C4Command.cpp.
References cObj, Finish(), and ObjectComTake().
Referenced by Execute().
|
protected |
Definition at line 835 of file C4Command.cpp.
References cObj, Finish(), and ObjectComTake2().
Referenced by Execute().
|
protected |
Definition at line 755 of file C4Command.cpp.
References C4Value::_getInt(), C4Object::Action, C4Object::AddCommand(), C4CMD_Get, C4CMD_MoveTo, C4CMD_UnGrab, C4REAL100(), cObj, COMD_Stop, C4Action::ComDir, C4Object::Contained, C4Object::Contents, C4Object::Def, DFA_DIG, DFA_PUSH, DIR_Left, DIR_Right, FindThrowingPosition(), Finish(), C4ObjectList::GetLink(), C4Object::GetProcedure(), C4PropList::GetPropertyInt(), C4Object::GetX(), C4Object::GetY(), C4Rect::Hgt, MoveToRange, C4Def::MoveToRange, ObjectComPutTake(), ObjectComStop(), ObjectComThrow(), P_ThrowSpeed, C4Object::SetDir(), C4Object::Shape, Target, C4Action::Target, Tx, and Ty.
Referenced by Execute().
|
protected |
Definition at line 1571 of file C4Command.cpp.
References C4Object::AddCommand(), C4CMD_MoveTo, C4PropList::Call(), cObj, C4TransferZones::Find(), Finish(), Game, C4TransferZone::GetEntryPoint(), C4Object::GetX(), C4Object::GetY(), C4Game::iTick5, PSF_ControlTransfer, Target, C4Game::TransferZones, Tx, Ty, C4TransferZone::Wdt, and C4TransferZone::X.
Referenced by Execute().
|
protected |
Definition at line 748 of file C4Command.cpp.
References C4Object::Action, cObj, COMD_Stop, C4Action::ComDir, Finish(), and ObjectComUnGrab().
Referenced by Execute().
|
protected |
Definition at line 920 of file C4Command.cpp.
References cObj, DFA_DIG, C4Object::GetProcedure(), and ObjectComStop().
Referenced by Execute().
int32_t C4Command::BaseMode |
Definition at line 92 of file C4Command.h.
Referenced by Clear(), CompileFunc(), Default(), Fail(), and Set().
C4Object* C4Command::cObj |
Definition at line 80 of file C4Command.h.
Referenced by Acquire(), Activate(), Attack(), Call(), CallFailed(), Clear(), ClearPointers(), C4Object::CompileFunc(), Default(), Dig(), Drop(), Enter(), Execute(), Exit(), Fail(), Finish(), FlightControl(), Follow(), Get(), GetTryEnter(), Grab(), InitEvaluation(), Jump(), JumpControl(), MoveTo(), PushTo(), Put(), Set(), Take(), Take2(), Throw(), Transfer(), UnGrab(), and Wait().
int32_t C4Command::Command |
Definition at line 81 of file C4Command.h.
Referenced by Activate(), Clear(), CompileFunc(), Default(), C4Object::Draw(), Execute(), C4Object::ExecuteCommand(), Fail(), GetExpGain(), InitEvaluation(), MoveTo(), ObjectComStopDig(), ObjectAddWaypoint::operator()(), and Set().
C4Value C4Command::Data |
Definition at line 85 of file C4Command.h.
Referenced by Acquire(), Activate(), CompileFunc(), Default(), Dig(), C4Object::Draw(), Enter(), C4Object::ExecuteCommand(), Fail(), Get(), InitEvaluation(), MoveTo(), ObjectAddWaypoint::operator()(), Put(), and Set().
int32_t C4Command::Evaluated |
Definition at line 87 of file C4Command.h.
Referenced by Clear(), CompileFunc(), Default(), InitEvaluation(), MoveTo(), and Set().
int32_t C4Command::Failures |
Definition at line 88 of file C4Command.h.
Referenced by CompileFunc(), Default(), Execute(), and Fail().
int32_t C4Command::Finished |
Definition at line 87 of file C4Command.h.
Referenced by CompileFunc(), Default(), C4Object::Draw(), Execute(), C4Object::ExecuteCommand(), Fail(), and Finish().
int32_t C4Command::iExec |
Definition at line 91 of file C4Command.h.
Referenced by C4Object::ClearCommand(), C4Object::ClearCommands(), Default(), and Execute().
C4Command* C4Command::Next |
Definition at line 90 of file C4Command.h.
Referenced by C4Object::AddCommand(), C4Object::Clear(), C4Object::ClearCommand(), C4Object::ClearCommands(), C4Object::ClearPointers(), C4Object::CompileFunc(), Default(), C4Object::Denumerate(), C4Object::Draw(), Fail(), C4Object::FindCommand(), GrabLost(), and MoveTo().
int32_t C4Command::PathChecked |
Definition at line 87 of file C4Command.h.
Referenced by Clear(), CompileFunc(), Default(), and MoveTo().
int32_t C4Command::Permit |
Definition at line 88 of file C4Command.h.
Referenced by CompileFunc(), and Default().
int32_t C4Command::Retries |
Definition at line 88 of file C4Command.h.
Referenced by CompileFunc(), Default(), Execute(), Fail(), and Set().
C4ObjectPtr C4Command::Target |
Definition at line 84 of file C4Command.h.
Referenced by Acquire(), Activate(), Attack(), Call(), CallFailed(), Clear(), ClearPointers(), CompileFunc(), Default(), Denumerate(), C4Object::Draw(), Drop(), Enter(), C4Object::ExecuteCommand(), Fail(), Follow(), Get(), GetTryEnter(), Grab(), InitEvaluation(), PushTo(), Put(), Set(), Throw(), and Transfer().
C4ObjectPtr C4Command::Target2 |
Definition at line 84 of file C4Command.h.
Referenced by Acquire(), Activate(), Call(), CallFailed(), Clear(), ClearPointers(), CompileFunc(), Default(), Denumerate(), C4Object::Draw(), C4Object::ExecuteCommand(), Fail(), Get(), PushTo(), Put(), and Set().
C4String* C4Command::Text |
Definition at line 89 of file C4Command.h.
Referenced by Call(), CallFailed(), Clear(), CompileFunc(), Default(), C4Object::Draw(), and Set().
C4Value C4Command::Tx |
Definition at line 82 of file C4Command.h.
Referenced by Acquire(), Activate(), Call(), CallFailed(), Clear(), CompileFunc(), Default(), Denumerate(), Dig(), C4Object::Draw(), Drop(), C4Object::ExecuteCommand(), Fail(), FlightControl(), Get(), Grab(), InitEvaluation(), Jump(), JumpControl(), MoveTo(), PushTo(), Put(), Set(), Throw(), and Transfer().
int32_t C4Command::Ty |
Definition at line 83 of file C4Command.h.
Referenced by Acquire(), Call(), CallFailed(), Clear(), CompileFunc(), Default(), Dig(), C4Object::Draw(), Drop(), C4Object::ExecuteCommand(), Fail(), FlightControl(), Get(), Grab(), InitEvaluation(), JumpControl(), MoveTo(), PushTo(), Put(), Set(), Throw(), and Transfer().
int32_t C4Command::UpdateInterval |
Definition at line 86 of file C4Command.h.
Referenced by Clear(), CompileFunc(), Default(), Execute(), InitEvaluation(), and Set().