#include "C4Include.h"#include "C4ForbidLibraryCompilation.h"#include "object/C4Object.h"#include "game/C4Physics.h"#include "landscape/C4MaterialList.h"#include "landscape/C4PXS.h"#include "object/C4Command.h"#include "object/C4Def.h"#include "object/C4MeshAnimation.h"#include "object/C4ObjectCom.h"#include "platform/C4SoundSystem.h"Go to the source code of this file.
Functions | |
| void | GrabLost (C4Object *cObj, C4Object *prev_target) |
| bool | ReduceLineSegments (C4Shape &rShape, bool fAlternate) |
| void | StopActionDelayCommand (C4Object *cobj) |
| void | Towards (C4Real &val, C4Real target, C4Real step) |
Definition at line 34 of file C4ObjectAction.cpp.
References C4CMD_PushTo, C4PropList::Call(), C4Object::ClearCommand(), C4Object::Command, C4Command::Next, PSF_GrabLost, and C4PropList::Status.
Referenced by C4Object::NoAttachAction().
| bool ReduceLineSegments | ( | C4Shape & | rShape, |
| bool | fAlternate | ||
| ) |
Definition at line 76 of file C4ObjectAction.cpp.
References PathFree(), C4Shape::RemoveVertex(), C4Shape::VtxNum, C4Shape::VtxX, and C4Shape::VtxY.
| void StopActionDelayCommand | ( | C4Object * | cobj | ) |
Definition at line 90 of file C4ObjectAction.cpp.
References C4Object::AddCommand(), C4CMD_Wait, and ObjectComStop().
Definition at line 96 of file C4ObjectAction.cpp.
References Abs().