#include <C4Object.h>
Public Types | |
| enum | DrawMode { ODM_Normal =0 , ODM_Overlay =1 , ODM_BaseOnly =2 } |
| enum | { SAC_StartCall = 1 , SAC_EndCall = 2 , SAC_AbortCall = 4 } |
Public Member Functions | |
| C4Object () | |
| ~C4Object () override | |
| void | ClearParticleLists () |
| void | Resort () |
| void | SetPlane (int32_t z) |
| int32_t | GetPlane () const |
| int32_t | GetSolidMaskPlane () const |
| void | SetCommand (int32_t iCommand, C4Object *pTarget, C4Value iTx, int32_t iTy=0, C4Object *pTarget2=nullptr, bool fControl=false, C4Value iData=C4VNull, int32_t iRetries=0, C4String *szText=nullptr) |
| void | SetCommand (int32_t iCommand, C4Object *pTarget=nullptr, int32_t iTx=0, int32_t iTy=0, C4Object *pTarget2=nullptr, bool fControl=false, C4Value iData=C4VNull, int32_t iRetries=0, C4String *szText=nullptr) |
| bool | AddCommand (int32_t iCommand, C4Object *pTarget, C4Value iTx, int32_t iTy=0, int32_t iUpdateInterval=0, C4Object *pTarget2=nullptr, bool fInitEvaluation=true, C4Value iData=C4VNull, bool fAppend=false, int32_t iRetries=0, C4String *szText=nullptr, int32_t iBaseMode=0) |
| bool | AddCommand (int32_t iCommand, C4Object *pTarget=nullptr, int32_t iTx=0, int32_t iTy=0, int32_t iUpdateInterval=0, C4Object *pTarget2=nullptr, bool fInitEvaluation=true, C4Value iData=C4VNull, bool fAppend=false, int32_t iRetries=0, C4String *szText=nullptr, int32_t iBaseMode=0) |
| C4Command * | FindCommand (int32_t iCommandType) const |
| void | ClearCommand (C4Command *pUntil) |
| void | ClearCommands () |
| void | DrawSelectMark (C4TargetFacet &cgo) const |
| void | UpdateActionFace () |
| void | SyncClearance () |
| void | SetSolidMask (int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt, int32_t iTX, int32_t iTY) |
| void | SetHalfVehicleSolidMask (bool set) |
| bool | CheckSolidMaskRect () |
| bool | MenuCommand (const char *szCommand) |
| void | Clear () |
| void | ClearInfo (C4ObjectInfo *pInfo) |
| bool | AssignInfo () |
| bool | ValidateOwner () |
| bool | AssignLightRange () |
| void | DrawPicture (C4Facet &cgo, bool fSelected=false, C4DrawTransform *transform=nullptr) |
| void | Picture2Facet (C4FacetSurface &cgo) |
| void | Default () |
| bool | Init (C4PropList *ndef, C4Object *pCreator, int32_t owner, C4ObjectInfo *info, int32_t nx, int32_t ny, int32_t nr, C4Real nxdir, C4Real nydir, C4Real nrdir, int32_t iController) |
| void | CompileFunc (StdCompiler *pComp, C4ValueNumbers *) |
| void | Denumerate (C4ValueNumbers *) override |
| void | DrawLine (C4TargetFacet &cgo, int32_t at_player) |
| bool | SetPhase (int32_t iPhase) |
| void | AssignRemoval (bool exit_contents=false) |
| void | Draw (C4TargetFacet &cgo, int32_t iByPlayer=-1, DrawMode eDrawMode=ODM_Normal, float offX=0, float offY=0) |
| void | DrawTopFace (C4TargetFacet &cgo, int32_t iByPlayer=-1, DrawMode eDrawMode=ODM_Normal, float offX=0, float offY=0) |
| void | DrawActionFace (C4TargetFacet &cgo, float offX, float offY) const |
| void | DrawFace (C4TargetFacet &cgo, float offX, float offY, int32_t iPhaseX=0, int32_t iPhaseY=0) const |
| void | DrawFaceImpl (C4TargetFacet &cgo, bool action, float fx, float fy, float fwdt, float fhgt, float tx, float ty, float twdt, float thgt, C4DrawTransform *transform) const |
| void | Execute () |
| void | ClearPointers (C4Object *ptr) |
| bool | ExecMovement () |
| void | ExecAction () |
| bool | ExecLife () |
| bool | ExecuteCommand () |
| void | AssignDeath (bool fForced) |
| void | ContactAction () |
| void | NoAttachAction () |
| void | DoMovement () |
| void | Stabilize () |
| void | SetOCF () |
| void | UpdateOCF () |
| void | UpdateShape (bool bUpdateVertices=true) |
| void | UpdatePos () |
| void | UpdateSolidMask (bool fRestoreAttachedObjects) |
| void | UpdateMass () |
| bool | ChangeDef (C4ID idNew) |
| void | UpdateFace (bool bUpdateShape, bool fTemp=false) |
| void | UpdateGraphics (bool fGraphicsChanged, bool fTemp=false) |
| void | UpdateFlipDir () |
| bool | At (int32_t ctx, int32_t cty) const |
| bool | At (int32_t ctx, int32_t cty, DWORD &ocf) const |
| void | GetOCFForPos (int32_t ctx, int32_t cty, DWORD &ocf) const |
| bool | CloseMenu (bool fForce) |
| bool | ActivateMenu (int32_t iMenu, int32_t iMenuSelect=0, int32_t iMenuData=0, int32_t iMenuPosition=0, C4Object *pTarget=nullptr) |
| int32_t | ContactCheck (int32_t at_x, int32_t at_y, uint32_t *border_hack_contacts=nullptr, bool collide_halfvehic=false) |
| bool | Contact (int32_t cnat) |
| void | StopAndContact (C4Real &ctco, C4Real limit, C4Real &speed, int32_t cnat) |
| C4PropList * | GetAction () const |
| bool | SetAction (C4PropList *Act, C4Object *pTarget=nullptr, C4Object *pTarget2=nullptr, int32_t iCalls=SAC_StartCall|SAC_AbortCall, bool fForce=false) |
| bool | SetActionByName (C4String *ActName, C4Object *pTarget=nullptr, C4Object *pTarget2=nullptr, int32_t iCalls=SAC_StartCall|SAC_AbortCall, bool fForce=false) |
| bool | SetActionByName (const char *szActName, C4Object *pTarget=nullptr, C4Object *pTarget2=nullptr, int32_t iCalls=SAC_StartCall|SAC_AbortCall, bool fForce=false) |
| void | SetDir (int32_t tdir) |
| void | SetCategory (int32_t Category) |
| int32_t | GetProcedure () const |
| bool | Enter (C4Object *pTarget, bool fCalls=true, bool fCopyMotion=true, bool *pfRejectCollect=nullptr) |
| bool | Exit (int32_t iX=0, int32_t iY=0, int32_t iR=0, C4Real iXDir=Fix0, C4Real iYDir=Fix0, C4Real iRDir=Fix0, bool fCalls=true) |
| void | CopyMotion (C4Object *from) |
| void | ForcePosition (C4Real target_x, C4Real target_y) |
| void | MovePosition (int32_t dx, int32_t dy) |
| void | MovePosition (C4Real dx, C4Real dy) |
| void | DoMotion (int32_t mx, int32_t my) |
| bool | ActivateEntrance (int32_t by_plr, C4Object *by_obj) |
| void | DoDamage (int32_t iLevel, int32_t iCausedByPlr, int32_t iCause) |
| void | DoEnergy (int32_t iChange, bool fExact, int32_t iCause, int32_t iCausedByPlr) |
| void | UpdatLastEnergyLossCause (int32_t iNewCausePlr) |
| void | DoBreath (int32_t iChange) |
| void | DoCon (int32_t iChange, bool grow_from_center) |
| int32_t | GetCon () const |
| void | DoExperience (int32_t change) |
| bool | Promote (int32_t torank, bool exception, bool fForceRankName) |
| bool | Push (C4Real txdir, C4Real dforce, bool fStraighten) |
| bool | Lift (C4Real tydir, C4Real dforce) |
| void | Fling (C4Real txdir, C4Real tydir, bool fAddSpeed) |
| C4Object * | CreateContents (C4PropList *) |
| bool | CreateContentsByList (C4IDList &idlist) |
| BYTE | GetArea (int32_t &aX, int32_t &aY, int32_t &aWdt, int32_t &aHgt) const |
| int32_t | addtop () const |
| int32_t | Left () const |
| int32_t | Top () const |
| int32_t | Width () const |
| int32_t | Height () const |
| int32_t | GetX () const |
| int32_t | GetY () const |
| int32_t | GetR () const |
| C4Real | GetFixedX () const |
| C4Real | GetFixedY () const |
| C4Real | GetFixedR () const |
| BYTE | GetEntranceArea (int32_t &aX, int32_t &aY, int32_t &aWdt, int32_t &aHgt) const |
| BYTE | GetMomentum (C4Real &rxdir, C4Real &rydir) const |
| C4Real | GetSpeed () const |
| StdStrBuf | GetDataString () |
| void | SetName (const char *NewName=nullptr) override |
| int32_t | GetValue (C4Object *pInBase, int32_t iForPlayer) |
| bool | SetOwner (int32_t iOwner) |
| bool | SetLightRange (int32_t iToRange, int32_t iToFadeoutRange) |
| uint32_t | GetLightColor () const |
| bool | SetLightColor (uint32_t iValue) |
| void | SetOnFire (bool OnFire) override |
| bool | GetOnFire () const |
| void | SetAlive (bool Alive) |
| bool | GetAlive () const |
| void | UpdateLight () |
| void | SetAudibilityAt (C4TargetFacet &cgo, int32_t iX, int32_t iY, int32_t player) |
| bool | IsVisible (int32_t iForPlr, bool fAsOverlay) const |
| void | SetRotation (int32_t nr) |
| void | PrepareDrawing () const |
| void | FinishedDrawing () const |
| void | DrawSolidMask (C4TargetFacet &cgo) const |
| bool | Collect (C4Object *pObj) |
| bool | GrabInfo (C4Object *pFrom) |
| bool | ShiftContents (bool fShiftBack, bool fDoCalls) |
| void | DirectComContents (C4Object *pTarget, bool fDoCalls) |
| void | GetParallaxity (int32_t *parX, int32_t *parY) const |
| bool | GetDrawPosition (const C4TargetFacet &cgo, float &resultx, float &resulty, float &resultzoom) const |
| bool | GetDrawPosition (const C4TargetFacet &cgo, float x, float y, float zoom, float &resultx, float &resulty, float &resultzoom) const |
| bool | IsInLiquidCheck () const |
| void | UpdateInLiquid () |
| void | GrabContents (C4Object *pFrom) |
| bool | GetDragImage (C4Object **drag_object, C4Def **drag_id) const |
| int32_t | AddObjectAndContentsToArray (C4ValueArray *target_array, int32_t index=0) |
| void | BoundsCheck (C4Real &target_x, C4Real &target_y) |
| bool | DoSelect () |
| void | UnSelect () |
| void | GetViewPos (float &riX, float &riY, float tx, float ty, const C4Facet &fctViewport) const |
| void | GetViewPosPar (float &riX, float &riY, float tx, float ty, const C4Facet &fctViewport) const |
| bool | PutAwayUnusedObject (C4Object *pToMakeRoomForObject) |
| C4DefGraphics * | GetGraphics () const |
| bool | SetGraphics (const char *szGraphicsName=nullptr, C4Def *pSourceDef=nullptr) |
| bool | SetGraphics (C4DefGraphics *pNewGfx, bool fUpdateData) |
| class C4GraphicsOverlay * | GetGraphicsOverlay (int32_t iForID) const |
| class C4GraphicsOverlay * | GetGraphicsOverlay (int32_t iForID, bool fCreate) |
| bool | RemoveGraphicsOverlay (int32_t iOverlayID) |
| bool | HasGraphicsOverlayRecursion (const C4Object *pCheckObj) const |
| void | UpdateScriptPointers () |
| bool | StatusActivate () |
| bool | StatusDeactivate (bool fClearPointers) |
| void | ClearContentsAndContained (bool fDoCalls=true) |
| bool | AdjustWalkRotation (int32_t iRangeX, int32_t iRangeY, int32_t iSpeed) |
| StdStrBuf | GetInfoString () |
| bool | CanConcatPictureWith (C4Object *pOtherObject) const |
| bool | IsMoveableBySolidMask (int ComparisonPlane) const |
| bool | IsPlayerObject (int32_t iPlayerNumber=NO_OWNER) const |
| bool | IsUserPlayerObject () |
| C4Object * | GetObject () override |
| C4Object const * | GetObject () const override |
| void | SetPropertyByS (C4String *k, const C4Value &to) override |
| void | ResetProperty (C4String *k) override |
| bool | GetPropertyByS (const C4String *k, C4Value *pResult) const override |
| C4ValueArray * | GetProperties () const override |
| C4PropListNumbered * | GetPropListNumbered () override |
| bool | IsNumbered () const override |
| virtual const char * | GetName () const |
| virtual C4Def const * | GetDef () const |
| virtual C4Def * | GetDef () |
| virtual C4Effect * | GetEffect () |
| virtual class C4MapScriptLayer * | GetMapScriptLayer () |
| virtual class C4MapScriptMap * | GetMapScriptMap () |
| C4PropList * | GetPrototype () const |
| void | RemoveCyclicPrototypes () |
| virtual class C4PropListStatic * | IsStatic () |
| const class C4PropListStatic * | IsStatic () const |
| virtual bool | Delete () |
| bool | GetProperty (C4PropertyName k, C4Value *pResult) const |
| C4String * | GetPropertyStr (C4PropertyName k) const |
| C4ValueArray * | GetPropertyArray (C4PropertyName n) const |
| C4AulFunc * | GetFunc (C4PropertyName k) const |
| C4AulFunc * | GetFunc (C4String *k) const |
| C4AulFunc * | GetFunc (const char *k) const |
| C4String * | EnumerateOwnFuncs (C4String *prev=nullptr) const |
| C4Value | Call (C4PropertyName k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
| C4Value | Call (C4String *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
| C4Value | Call (const char *k, C4AulParSet *pPars=nullptr, bool fPassErrors=false) |
| C4PropertyName | GetPropertyP (C4PropertyName k) const |
| int32_t | GetPropertyBool (C4PropertyName n, bool default_val=false) const |
| int32_t | GetPropertyInt (C4PropertyName k, int32_t default_val=0) const |
| C4PropList * | GetPropertyPropList (C4PropertyName k) const |
| bool | HasProperty (C4String *k) const |
| void | SetProperty (C4PropertyName k, const C4Value &to) |
| void | Freeze () |
| void | Thaw () |
| void | ThawRecursively () |
| bool | IsFrozen () const |
| C4PropListStatic * | FreezeAndMakeStaticRecursively (std::vector< C4Value > *prop_lists, const C4PropListStatic *parent=nullptr, C4String *key=nullptr) |
| void | AppendDataString (StdStrBuf *out, const char *delim, int depth=3, bool ignore_reference_parent=false) const |
| StdStrBuf | ToJSON (int depth=10, bool ignore_reference_parent=false) const |
| std::vector< C4String * > | GetSortedLocalProperties (bool add_prototype=true) const |
| std::vector< C4String * > | GetSortedLocalProperties (const char *prefix, const C4PropList *ignore_overridden) const |
| std::vector< C4String * > | GetUnsortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
| std::vector< C4String * > | GetSortedProperties (const char *prefix, C4PropList *ignore_parent=nullptr) const |
| bool | operator== (const C4PropList &b) const |
| Iterator | begin () |
| Iterator | end () |
Static Public Member Functions | |
| static C4PropList * | GetByNumber (int32_t iNumber) |
| static bool | CheckPropList (C4PropList *) |
| static void | SetEnumerationIndex (int32_t iMaxObjectNumber) |
| static int32_t | GetEnumerationIndex () |
| static void | ResetEnumerationIndex () |
| static void | ShelveNumberedPropLists () |
| static void | UnshelveNumberedPropLists () |
| static void | ClearShelve () |
| static void | ClearNumberedPropLists () |
| static C4PropList * | New (C4PropList *prototype=nullptr) |
| static C4PropListStatic * | NewStatic (C4PropList *prototype, const C4PropListStatic *parent, C4String *key) |
Protected Member Functions | |
| void | SideBounds (C4Real &target_x) |
| void | VerticalBounds (C4Real &target_y) |
| void | AcquireNumber () |
| void | ClearNumber () |
| void | ClearRefs () |
Protected Attributes | |
| bool | OnFire |
| int32_t | Con |
| int32_t | Plane |
| bool | Alive |
| C4SolidMask * | pSolidMaskData |
Static Protected Attributes | |
| static C4Set< C4PropListNumbered * > | PropLists |
| static std::vector< C4PropListNumbered * > | ShelvedPropLists |
| static int32_t | EnumerationIndex = 0 |
Definition at line 96 of file C4Object.h.
| anonymous enum |
| enum C4Object::DrawMode |
| C4Object::C4Object | ( | ) |
Definition at line 44 of file C4Object.cpp.
References BackParticles, Default(), and FrontParticles.
|
override |
Definition at line 195 of file C4Object.cpp.
References C4LSectors::AssertObjectNotInList(), Clear(), Objects, and C4GameObjects::Sectors.
|
protectedinherited |
Definition at line 131 of file C4PropList.cpp.
References C4Set< T >::Add(), C4PropListNumbered::EnumerationIndex, C4Set< T >::Get(), C4PropListNumbered::Number, and C4PropListNumbered::PropLists.
Referenced by C4Effect::C4Effect(), C4MapScriptLayer::C4MapScriptLayer(), and Init().
| bool C4Object::ActivateEntrance | ( | int32_t | by_plr, |
| C4Object * | by_obj | ||
| ) |
Definition at line 689 of file C4Object.cpp.
References C4PropList::Call(), OCF, OCF_Entrance, and PSF_ActivateEntrance.
Referenced by C4Command::Enter(), and C4Command::Exit().
| bool C4Object::ActivateMenu | ( | int32_t | iMenu, |
| int32_t | iMenuSelect = 0, |
||
| int32_t | iMenuData = 0, |
||
| int32_t | iMenuPosition = 0, |
||
| C4Object * | pTarget = nullptr |
||
| ) |
Definition at line 57 of file C4ObjectMenuLogic.cpp.
References C4MN_Activate, C4MN_Buy, C4MN_Extra_None, C4SymbolSize, C4PropList::Call(), C4Menu::ClearItems(), Color, Contained, C4FacetSurface::Create(), Def, C4Def::Draw(), FormatString(), StdStrBuf::getData(), C4PropList::GetName(), C4ObjectMenu::Init(), C4Menu::IsActive(), LoadResStr(), Menu, PSF_RejectContents, C4Menu::SetPermanent(), C4ObjectMenu::SetRefillObject(), and C4Menu::TryClose().
Referenced by C4Command::Activate(), C4Command::Get(), ObjectComPutTake(), ObjectComTake(), and ObjectComTake2().
| bool C4Object::AddCommand | ( | int32_t | iCommand, |
| C4Object * | pTarget, | ||
| C4Value | iTx, | ||
| int32_t | iTy = 0, |
||
| int32_t | iUpdateInterval = 0, |
||
| C4Object * | pTarget2 = nullptr, |
||
| bool | fInitEvaluation = true, |
||
| C4Value | iData = C4VNull, |
||
| bool | fAppend = false, |
||
| int32_t | iRetries = 0, |
||
| C4String * | szText = nullptr, |
||
| int32_t | iBaseMode = 0 |
||
| ) |
Definition at line 60 of file C4ObjectCommand.cpp.
References C4CMD_First, C4CMD_Last, Command, Inside(), C4Command::Next, and C4Command::Set().
Referenced by C4Command::Acquire(), C4Command::Activate(), AddCommand(), C4Command::Attack(), C4Command::Dig(), C4Command::Drop(), C4Command::Enter(), C4Command::Execute(), C4Command::Follow(), C4Command::Get(), C4Command::Grab(), C4Command::JumpControl(), C4Command::MoveTo(), ObjectAddWaypoint::operator()(), C4Command::PushTo(), C4Command::Put(), PutAwayUnusedObject(), SetCommand(), StopActionDelayCommand(), C4Command::Throw(), and C4Command::Transfer().
|
inline |
Definition at line 185 of file C4Object.h.
References AddCommand(), and C4VInt().
| int32_t C4Object::AddObjectAndContentsToArray | ( | C4ValueArray * | target_array, |
| int32_t | index = 0 |
||
| ) |
Definition at line 229 of file C4ObjectContents.cpp.
References C4VObj(), Contents, and C4ValueArray::SetItem().
Referenced by C4EditCursor::PerformDuplication().
|
inline |
Definition at line 280 of file C4Object.h.
References C4Rect::Hgt, and Shape.
Referenced by At(), Height(), Top(), and C4MouseControl::UpdateCursorTarget().
| bool C4Object::AdjustWalkRotation | ( | int32_t | iRangeX, |
| int32_t | iRangeY, | ||
| int32_t | iSpeed | ||
| ) |
Definition at line 376 of file C4ObjectPhysics.cpp.
References Abs(), Def, GBackSolid(), GetR(), C4Shape::iAttachVtx, C4Shape::iAttachX, C4Shape::iAttachY, itofix(), rdir, C4Def::Shape, Shape, and C4Shape::VtxX.
|
inherited |
Definition at line 487 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::end(), C4Value::GetDataString(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), and C4PropList::IsStatic().
Referenced by GetDataString().
| void C4Object::AssignDeath | ( | bool | fForced | ) |
Definition at line 467 of file C4Object.cpp.
References Alive, C4FxCall_RemoveDeath, C4PropList::Call(), C4Effect::ClearAll(), ClearCommands(), C4Player::ClearPointers(), Contents, C4Player::Crew, C4ObjectInfoCore::DeathCount, Exit(), Game, C4PlayerList::Get(), C4ObjectList::GetObject(), GetX(), GetY(), C4Game::GRBroadcast(), C4ObjectInfo::HasDied, Info, LastEnergyLossCausePlayer, C4ObjectList::ObjectCount(), Owner, pEffects, Players, PSF_Death, PSF_RelaunchPlayer, C4ObjectInfo::Retire(), SetActionByName(), SetLightRange(), SetOCF(), and C4PropList::Status.
Referenced by DoEnergy(), and ExecMovement().
| bool C4Object::AssignInfo | ( | ) |
Definition at line 1045 of file C4Object.cpp.
References Alive, C4Player::ClearPointers(), C4Player::Crew, C4PlayerList::Get(), StdStrBuf::getLength(), C4ObjectList::GetLink(), Info, C4Player::MakeCrewMember(), nInfo, Owner, Players, C4ObjectList::Remove(), and ValidPlr().
Referenced by C4ObjectList::AssignInfo().
| bool C4Object::AssignLightRange | ( | ) |
Definition at line 29 of file C4ObjectVisibility.cpp.
References lightFadeoutRange, lightRange, and UpdateLight().
| void C4Object::AssignRemoval | ( | bool | exit_contents = false | ) |
Definition at line 215 of file C4Object.cpp.
References C4GameObjects::Add(), AddDbgRec(), C4FxCall_RemoveClear, C4OS_DELETED, C4OS_INACTIVE, C4OS_NORMAL, C4PropList::Call(), C4Effect::ClearAll(), ClearCommands(), ClearParticleLists(), C4Game::ClearPointers(), C4PropList::ClearRefs(), Config, Contained, Contents, C4Def::Count, C4ConfigGeneral::DebugRec, Def, Enter(), Exit(), Game, C4Config::General, C4PropListStatic::GetName(), GetX(), GetY(), C4RCCreateObj::id, C4GameObjects::InactiveObjects, Info, C4PropListNumbered::Number, Objects, C4RCCreateObj::oei, Owner, C4RCCreateObj::ownr, pEffects, PSF_ContentsDestruction, PSF_Destruction, pSolidMaskData, RCT_DsObj, RemovalDelay, C4ObjectList::Remove(), C4ObjectInfo::Retire(), SetAction(), SetOCF(), SolidMask, C4PropList::Status, UpdateMass(), C4Rect::Wdt, C4RCCreateObj::x, and C4RCCreateObj::y.
Referenced by CreateContents(), C4Landscape::P::DigMaterial2Objects(), DoCon(), ExecMovement(), and C4Player::RemoveCrewObjects().
| bool C4Object::At | ( | int32_t | ctx, |
| int32_t | cty | ||
| ) | const |
Definition at line 82 of file C4ObjectPhysics.cpp.
References addtop(), Contained, Def, GetX(), C4Shape::GetX(), GetY(), C4Shape::GetY(), C4Rect::Hgt, Shape, C4PropList::Status, and C4Rect::Wdt.
Referenced by C4Command::Enter(), C4Command::Get(), and C4Command::Grab().
| bool C4Object::At | ( | int32_t | ctx, |
| int32_t | cty, | ||
| DWORD & | ocf | ||
| ) | const |
Definition at line 92 of file C4ObjectPhysics.cpp.
References addtop(), Contained, Def, GetOCFForPos(), GetX(), C4Shape::GetX(), GetY(), C4Shape::GetY(), C4Rect::Hgt, OCF, Shape, C4PropList::Status, and C4Rect::Wdt.
|
inherited |
Definition at line 995 of file C4PropList.cpp.
References C4PropList::begin(), C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::GetSize(), and C4Set< T >::Next().
Referenced by C4PropList::AppendDataString(), C4PropList::begin(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
Definition at line 330 of file C4Object.h.
References SideBounds(), and VerticalBounds().
Referenced by Exit().
|
inlineinherited |
Definition at line 114 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Command::Acquire(), ActivateEntrance(), ActivateMenu(), AssignDeath(), AssignRemoval(), C4Command::Call(), C4GameScriptHost::Call(), C4Effect::CallEffect(), C4Command::CallFailed(), C4Effect::CallStart(), C4Effect::CallStop(), C4Effect::CallTimer(), C4FindObjectFunc::Check(), C4Effect::ClearAll(), Collect(), C4SortObjectFunc::CompareGetValue(), Contact(), C4GameObjects::CrossCheck(), C4Landscape::P::DigMaterial2Objects(), DirectComContents(), DoBreath(), DoCon(), DoDamage(), DoEnergy(), DoMovement(), C4ObjectMenu::DoRefillInternal(), DoSelect(), Enter(), C4RoundResults::EvaluateGame(), C4RoundResults::EvaluateGoals(), ExecLife(), ExecuteCommand(), C4ScriptGuiWindowAction::ExecuteCommand(), Exit(), C4Command::Fail(), C4Command::GetTryEnter(), C4Def::GetValue(), GetValue(), GrabLost(), C4Landscape::Incinerate(), C4Effect::Init(), C4Player::Init(), C4ObjectMenu::IsCloseDenied(), C4Effect::Kill(), Lift(), C4Game::NewObject(), ObjectActionJump(), ObjectComGrab(), ObjectComPunch(), ObjectComPut(), ObjectComUnGrab(), C4ObjectMenu::OnSelectionChanged(), C4EditCursor::PerformDuplication(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), Promote(), Push(), C4Game::SaveData(), SetAction(), C4GUI::FrameDecoration::SetByDef(), SetCommand(), C4Player::SetObjectCrewStatus(), SetOwner(), StatusActivate(), C4Command::Transfer(), and UnSelect().
|
inherited |
Definition at line 797 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), C4PropList::GetFunc(), and C4PropList::Status.
|
inherited |
Definition at line 805 of file C4PropList.cpp.
References C4PropList::C4Value, C4AulFunc::Exec(), FormatString(), C4AulScriptEngine::GetErrorHandler(), C4PropList::GetFunc(), C4AulErrorHandler::OnError(), s, ScriptEngine, C4PropList::Status, and C4AulError::what().
| bool C4Object::CanConcatPictureWith | ( | C4Object * | pOtherObject | ) | const |
Definition at line 895 of file C4ObjectGraphics.cpp.
References C4Def::AllowPictureStack, APS_Color, APS_Graphics, APS_Name, APS_Overlay, BlitMode, Color, C4Def::ColorByOwner, ColorMod, Def, GetGraphicsOverlay(), C4PropList::GetName(), C4GraphicsOverlay::GetNext(), id, pGfxOverlay, pGraphics, and PictureRect.
Referenced by C4ObjectMenu::DoRefillInternal(), and ShiftContents().
| bool C4Object::ChangeDef | ( | C4ID | idNew | ) |
Definition at line 518 of file C4Object.cpp.
References C4Def::BlitMode, BlitMode, C4GFXBLIT_CUSTOM, C4Id2Def(), C4VPropList(), Color, C4Player::ColorDw, Contained, C4Def::Count, Def, Enter(), Exit(), Fix0, fix_r, GameScript, C4PlayerList::Get(), C4Def::Graphics, HalfVehicleSolidMask, C4Def::id, Objects, C4Effect::OnObjectChangedDef(), Owner, C4StringTable::P, P_Action, P_Prototype, C4AulScriptEngine::pGlobalEffects, pGraphics, Players, C4GameScriptHost::pScenarioEffects, pSolidMaskData, rdir, ResetProperty(), C4Def::Rotateable, ScriptEngine, SetAction(), SetDir(), SetOCF(), C4PropList::SetProperty(), C4Def::SolidMask, SolidMask, Strings, Unsorted, UpdateFace(), UpdateGraphics(), UpdateMass(), and ValidPlr().
|
staticinherited |
Definition at line 56 of file C4PropList.cpp.
References C4Set< T >::First(), C4Set< T >::Next(), and C4PropListNumbered::PropLists.
Referenced by SetOCF(), UpdateOCF(), and C4PropList::~C4PropList().
| bool C4Object::CheckSolidMaskRect | ( | ) |
Definition at line 287 of file C4ObjectPhysics.cpp.
References Def, CSurface8::Hgt, C4Rect::Hgt, C4Def::pSolidMask, C4TargetRect::Set(), SolidMask, C4TargetRect::tx, C4TargetRect::ty, CSurface8::Wdt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by Init(), and SetSolidMask().
| void C4Object::Clear | ( | ) |
Definition at line 1083 of file C4Object.cpp.
References ClearParticleLists(), Command, MaterialContents, Menu, C4Command::Next, pDrawTransform, pEffects, pGfxOverlay, pMeshInstance, and pSolidMaskData.
Referenced by CompileFunc(), and ~C4Object().
| void C4Object::ClearCommand | ( | C4Command * | pUntil | ) |
Definition at line 43 of file C4ObjectCommand.cpp.
References Command, C4Command::iExec, and C4Command::Next.
Referenced by ExecuteCommand(), GrabLost(), and ObjectComStopDig().
| void C4Object::ClearCommands | ( | ) |
Definition at line 29 of file C4ObjectCommand.cpp.
References Command, C4Command::iExec, and C4Command::Next.
Referenced by AssignDeath(), AssignRemoval(), and SetCommand().
| void C4Object::ClearContentsAndContained | ( | bool | fDoCalls = true | ) |
Definition at line 240 of file C4ObjectContents.cpp.
References Contained, Contents, Exit(), Fix0, GetX(), and GetY().
Referenced by StatusDeactivate().
| void C4Object::ClearInfo | ( | C4ObjectInfo * | pInfo | ) |
Definition at line 1075 of file C4Object.cpp.
References Info.
Referenced by C4ObjectList::ClearInfo(), and GrabInfo().
|
protectedinherited |
Definition at line 141 of file C4PropList.cpp.
References C4PropListNumbered::Number, C4PropListNumbered::PropLists, and C4Set< T >::Remove().
Referenced by C4PropListNumbered::ShelveNumberedPropLists().
|
staticinherited |
Definition at line 113 of file C4PropList.cpp.
References C4PropList::Clear(), C4Set< T >::First(), C4Set< T >::Next(), and C4PropListNumbered::PropLists.
Referenced by C4Game::Clear().
| void C4Object::ClearParticleLists | ( | ) |
Definition at line 205 of file C4Object.cpp.
References BackParticles, FrontParticles, Particles, and C4ParticleSystem::ReleaseParticleList().
Referenced by AssignRemoval(), Clear(), Default(), and StatusDeactivate().
| void C4Object::ClearPointers | ( | C4Object * | ptr | ) |
Definition at line 816 of file C4Object.cpp.
References Action, C4Command::ClearPointers(), C4ObjectMenu::ClearPointers(), C4Effect::ClearPointers(), StdMeshInstance::ClearPointers(), Command, Contained, Contents, C4GraphicsOverlay::GetNext(), Layer, Menu, C4Command::Next, pEffects, pGfxOverlay, pMeshInstance, C4ObjectList::Remove(), RemoveGraphicsOverlay(), C4Action::Target, and C4Action::Target2.
Referenced by C4Game::ClearObjectPtrs(), and C4ObjectList::ClearPointers().
|
inlineprotectedinherited |
Definition at line 160 of file C4PropList.h.
Referenced by AssignRemoval().
|
staticinherited |
Definition at line 107 of file C4PropList.cpp.
References C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::Clear().
| bool C4Object::CloseMenu | ( | bool | fForce | ) |
Definition at line 151 of file C4ObjectMenuLogic.cpp.
References C4Menu::IsActive(), C4ObjectMenu::IsCloseQuerying(), Menu, and C4Menu::TryClose().
Referenced by C4ObjectList::CloseMenus(), Enter(), Exit(), ObjectComUnGrab(), SetCommand(), and SyncClearance().
| bool C4Object::Collect | ( | C4Object * | pObj | ) |
Definition at line 162 of file C4ObjectContents.cpp.
References C4PropList::Call(), Contained, CopyMotion(), Enter(), ObjectComCancelAttach(), OCF, OCF_HitSpeed1, OCF_HitSpeed2, OCF_HitSpeed3, PSF_Collection, PSF_Hit, PSF_Hit2, PSF_Hit3, and C4PropList::Status.
Referenced by C4GameObjects::CrossCheck(), and C4Landscape::P::DigMaterial2Objects().
| void C4Object::CompileFunc | ( | StdCompiler * | pComp, |
| C4ValueNumbers * | numbers | ||
| ) |
Definition at line 856 of file C4Object.cpp.
References Action, Alive, C4Action::Animation, C4Def::BlitMode, BlitMode, Breath, C4MeshDenumeratorFactory, Category, StdStrBuf::Clear(), Clear(), C4Command::cObj, Color, ColorMod, Command, Con, Contained, Contents, Controller, C4Def::Count, CrewDisabled, Damage, Def, Definitions, Energy, EntranceStatus, StdCompiler::excNotFound(), Fix0, fix_r, fix_x, fix_y, StdCompiler::FollowName(), FormatString(), fOwnVertices, C4Game::fResortAnyObject, FullCon, Game, StdStrBuf::getData(), StdMeshInstance::GetRootAnimationForSlot(), C4Def::Graphics, C4Def::GrowthType, HalfVehicleSolidMask, C4DefList::ID2Def(), iLastAttachMovementFrame, Info, InLiquid, StdCompiler::isDeserializer(), LastEnergyLossCausePlayer, Layer, lightColor, lightFadeoutRange, lightRange, LoadResStr(), Mass, mkNamingAdapt(), mkNamingPtrAdapt(), mkParAdapt(), Mobile, C4ObjectInfoCore::Name, C4Command::Next, nInfo, NO_OWNER, C4ID::None, C4ObjectPtr::Null, OCF, OnFire, Owner, OwnMass, pDrawTransform, pEffects, pGfxOverlay, pGraphics, PictureRect, Plane, pMeshInstance, rdir, StdMeshInstance::SetFaceOrderingForClrModulation(), C4Def::Shape, Shape, C4Def::SolidMask, SolidMask, C4PropList::Status, C4Action::Target, C4Action::Target2, toC4CStrBuf, C4DefGraphics::Type, C4DefGraphics::TYPE_Mesh, Unsorted, StdCompiler::Value(), xdir, and ydir.
| bool C4Object::Contact | ( | int32_t | cnat | ) |
Definition at line 135 of file C4Movement.cpp.
References C4PropList::Call(), CNATName(), FormatString(), C4PropList::GetPropertyInt(), P_ContactCalls, and PSF_Contact.
Referenced by ContactCheck(), and StopAndContact().
| void C4Object::ContactAction | ( | ) |
Definition at line 404 of file C4ObjectAction.cpp.
References Action, C4REAL100(), CNAT_Bottom, CNAT_Left, CNAT_Right, CNAT_Top, COMD_Down, COMD_Left, COMD_Right, COMD_Stop, COMD_Up, C4Action::ComDir, ComDirLike(), Con, Def, DFA_DIG, DFA_FLIGHT, DFA_HANGLE, DFA_SCALE, DFA_SWIM, DFA_WALK, C4Action::Dir, DIR_Left, DIR_Right, fix_x, fix_y, C4Def::Float, ForcePosition(), FullCon, GBackSemiSolid(), GetAction(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), GetX(), GetY(), ObjectActionCornerScale(), ObjectActionFlat(), ObjectActionHangle(), ObjectActionJump(), ObjectActionKneel(), ObjectActionScale(), ObjectActionStand(), ObjectActionTumble(), ObjectActionWalk(), OCF, OCF_HitSpeed3, OCF_HitSpeed4, P_ObjectDisabled, P_Procedure, SetDir(), t_contact, xdir, and ydir.
Referenced by DoMovement().
| int32_t C4Object::ContactCheck | ( | int32_t | at_x, |
| int32_t | at_y, | ||
| uint32_t * | border_hack_contacts = nullptr, |
||
| bool | collide_halfvehic = false |
||
| ) |
Definition at line 158 of file C4Movement.cpp.
References Contact(), C4Shape::ContactCheck(), C4Shape::ContactCNAT, C4Shape::ContactCount, Shape, and t_contact.
Referenced by DoMovement(), Lift(), Push(), and Stabilize().
| void C4Object::CopyMotion | ( | C4Object * | from | ) |
Definition at line 653 of file C4Movement.cpp.
References fix_x, fix_y, UpdatePos(), xdir, and ydir.
Referenced by Collect(), Enter(), and ExecMovement().
| C4Object * C4Object::CreateContents | ( | C4PropList * | PropList | ) |
Definition at line 144 of file C4ObjectContents.cpp.
References AssignRemoval(), C4Game::CreateObject(), Enter(), Game, and Owner.
Referenced by CreateContentsByList().
| bool C4Object::CreateContentsByList | ( | C4IDList & | idlist | ) |
Definition at line 152 of file C4ObjectContents.cpp.
References C4Id2Def(), CreateContents(), C4IDList::GetCount(), and C4IDList::GetID().
Referenced by C4Player::PlaceReadyMaterial().
| void C4Object::Default | ( | ) |
Definition at line 50 of file C4Object.cpp.
References Action, Alive, Audible, AudiblePan, AudiblePlayer, BlitMode, Breath, Category, StdStrBuf::Clear(), ClearParticleLists(), Color, ColorMod, Command, Con, Contained, Contents, Controller, CrewDisabled, Damage, Def, C4Facet::Default(), C4Rect::Default(), C4TargetRect::Default(), C4Action::Default(), C4ObjectList::Default(), C4Shape::Default(), Energy, EntranceStatus, fix_r, fix_x, fix_y, fOwnVertices, HalfVehicleSolidMask, iLastAttachMovementFrame, Info, Initializing, InLiquid, InMat, LastEnergyLossCausePlayer, Layer, lightColor, lightFadeoutRange, lightRange, Marker, Mass, MaterialContents, Menu, MNone, Mobile, nInfo, NO_OWNER, C4ID::None, OCF, OnFire, Owner, OwnMass, pDrawTransform, pEffects, pGfxOverlay, pGraphics, PictureRect, pMeshInstance, pSolidMaskData, rdir, RemovalDelay, Shape, SolidMask, t_contact, TopFace, Unsorted, xdir, and ydir.
Referenced by C4Object().
|
inlinevirtualinherited |
Reimplemented in C4PropListStaticMember, C4PropListStatic, C4PropListScript, and C4Def.
Definition at line 94 of file C4PropList.h.
Referenced by C4AulScriptEngine::Clear(), and C4ScriptHost::DeleteOwnedPropLists().
|
overridevirtual |
Reimplemented from C4PropList.
Definition at line 1007 of file C4Object.cpp.
References Action, Command, Contained, Contents, C4PropList::Denumerate(), C4Effect::Denumerate(), StdMeshInstance::DenumeratePointers(), C4ObjectList::DenumeratePointers(), C4ObjectPtr::DenumeratePointers(), C4GraphicsOverlay::GetNext(), Layer, C4Command::Next, pEffects, pGfxOverlay, pMeshInstance, C4Action::Target, and C4Action::Target2.
Referenced by C4ObjectList::Denumerate().
| void C4Object::DirectComContents | ( | C4Object * | pTarget, |
| bool | fDoCalls | ||
| ) |
Definition at line 206 of file C4ObjectContents.cpp.
References C4PropList::Call(), Contained, Contents, C4ObjectList::GetObject(), C4Menu::IsActive(), C4Menu::IsContextMenu(), Menu, C4Menu::Refill(), C4ObjectList::ShiftContents(), StartSoundEffect(), and C4PropList::Status.
Referenced by ShiftContents().
| void C4Object::DoBreath | ( | int32_t | iChange | ) |
Definition at line 622 of file C4Object.cpp.
References Breath, C4PropList::Call(), C4PropList::GetPropertyInt(), P_MaxBreath, and PSF_BreathChange.
Referenced by ExecLife().
| void C4Object::DoCon | ( | int32_t | iChange, |
| bool | grow_from_center | ||
| ) |
Definition at line 631 of file C4Object.cpp.
References AssignRemoval(), C4PropList::Call(), Con, Contained, Contents, Def, Enter(), Exit(), fix_y, FullCon, C4Shape::GetBottom(), C4ObjectList::GetObject(), GetX(), GetY(), C4Def::GrowthType, C4Def::IncompleteActivity, C4Def::Oversize, pMeshInstance, PSF_Initialize, PSF_OnCompletionChange, SetAction(), StdMeshInstance::SetCompletion(), SetOCF(), Shape, UpdateFace(), UpdateMass(), and UpdateShape().
Referenced by C4Game::NewObject().
| void C4Object::DoDamage | ( | int32_t | iLevel, |
| int32_t | iCausedByPlr, | ||
| int32_t | iCause | ||
| ) |
Definition at line 571 of file C4Object.cpp.
References Alive, C4PropList::Call(), Damage, C4Effect::DoDamage(), pEffects, and PSF_Damage.
| void C4Object::DoEnergy | ( | int32_t | iChange, |
| bool | fExact, | ||
| int32_t | iCause, | ||
| int32_t | iCausedByPlr | ||
| ) |
Definition at line 585 of file C4Object.cpp.
References Alive, AssignDeath(), C4MaxPhysical, C4PropList::Call(), C4Effect::DoDamage(), Energy, C4PropList::GetPropertyInt(), P_MaxEnergy, pEffects, PSF_EnergyChange, and UpdatLastEnergyLossCause().
Referenced by C4GameObjects::CrossCheck(), ExecLife(), and ObjectComPunch().
| void C4Object::DoExperience | ( | int32_t | change | ) |
Definition at line 32 of file C4ObjectRank.cpp.
References DefaultRanks, C4ObjectInfoCore::Experience, C4RankSystem::Experience(), Info, Promote(), and C4ObjectInfoCore::Rank.
Referenced by C4Player::CountControl(), and C4Command::Finish().
| void C4Object::DoMotion | ( | int32_t | mx, |
| int32_t | my | ||
| ) |
Definition at line 144 of file C4Movement.cpp.
Referenced by DoMovement().
| void C4Object::DoMovement | ( | ) |
Definition at line 250 of file C4Movement.cpp.
References Abs(), Action, Alive, ApplyFriction(), C4Shape::Attach(), C4PropList::Call(), CNAT_Left, CNAT_Right, ContactAction(), ContactCheck(), ContactVtxCNAT(), ContactVtxFriction(), ContactVtxWeight(), Def, DoMotion(), Fix0, fix_r, fix_x, fix_y, FixFullCircle, FixHalfCircle, fixtoi(), GetX(), GetY(), InLiquid, IsInLiquidCheck(), itofix(), Mass, NoAttachAction(), C4Def::NoHorizontalMove, OCF, OCF_HitSpeed1, OCF_HitSpeed2, OCF_HitSpeed3, OCF_Rotate, PSF_Hit, PSF_Hit2, PSF_Hit3, rdir, RedirectForce(), C4Def::Rotateable, Shape, SideBounds(), Sign(), C4Action::t_attach, t_contact, UpdateFace(), UpdatePos(), UpdateShape(), UpdateSolidMask(), VerticalBounds(), xdir, and ydir.
Referenced by ExecMovement().
| bool C4Object::DoSelect | ( | ) |
Definition at line 1186 of file C4Object.cpp.
References C4PropList::Call(), CrewDisabled, and PSF_CrewSelection.
Referenced by C4Player::SetCursor().
| void C4Object::Draw | ( | C4TargetFacet & | cgo, |
| int32_t | iByPlayer = -1, |
||
| DrawMode | eDrawMode = ODM_Normal, |
||
| float | offX = 0, |
||
| float | offY = 0 |
||
| ) |
Definition at line 246 of file C4ObjectGraphics.cpp.
References C4Value::_getInt(), ACenter, Action, Angle(), StdStrBuf::Append(), StdStrBuf::AppendChar(), StdStrBuf::AppendFormat(), BackParticles, C4Draw::Blit(), BlitMode, C4CMD_Acquire, C4CMD_Buy, C4CMD_Call, C4CMD_MoveTo, C4CMD_None, C4CMD_Put, C4CMD_Sell, C4CMD_Transfer, C4D_IgnoreFoW, C4D_Parallax, C4RGB, Category, Color, ColorMod, C4Command::Command, Command, CommandName(), Con, Contained, C4Command::Data, Def, C4Draw::DEFAULT_MESSAGE_COLOR, C4ParticleList::Draw(), DrawActionFace(), C4Action::DrawDir, DrawFace(), C4Draw::DrawFrameDw(), DrawLine(), C4Draw::DrawLineDw(), C4Action::Facet, C4Action::FacetX, C4Action::FacetY, C4Command::Finished, FinishedDrawing(), Fix0, fix_r, fix_y, fixtof(), C4GraphicsResource::FontRegular, FrontParticles, FullCon, GetAction(), C4String::GetCStr(), StdStrBuf::getData(), C4Value::GetDataString(), GetDrawPosition(), C4Draw::GetFoW(), GetGraphics(), C4PropList::GetName(), C4GraphicsOverlay::GetNext(), C4PropList::GetPropertyInt(), CStdFont::GetTextExtent(), GetX(), C4Shape::GetX(), GetY(), C4Shape::GetY(), GraphicsResource, GraphicsSystem, C4Facet::Hgt, C4Rect::Hgt, IsVisible(), C4Def::Line, C4Command::Next, ODM_BaseOnly, ODM_Overlay, P_FacetBase, P_FacetTargetStretch, pDraw, pGfxOverlay, PrepareDrawing(), C4ScriptUniform::Push(), C4Draw::scriptUniform, SetAudibilityAt(), C4Draw::SetFoW(), Shape, C4GraphicsSystem::Show8BitSurface, C4GraphicsSystem::ShowCommand, C4GraphicsSystem::ShowVertices, SolidMask, sprintf, C4PropList::Status, C4Facet::Surface, C4Command::Target, C4Action::Target, C4Command::Target2, C4Command::Text, C4Draw::TextOut(), C4Command::Tx, C4Command::Ty, C4DefGraphics::TYPE_Bitmap, C4Shape::VtxNum, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Facet::Y, and C4TargetFacet::Zoom.
Referenced by C4GraphicsOverlay::Draw(), C4ObjectList::Draw(), C4ObjectList::DrawIfCategory(), and C4EditCursor::DrawObject().
| void C4Object::DrawActionFace | ( | C4TargetFacet & | cgo, |
| float | offX, | ||
| float | offY | ||
| ) | const |
Definition at line 182 of file C4ObjectGraphics.cpp.
References Action, Con, Def, C4Action::DrawDir, DrawFace(), DrawFaceImpl(), C4Action::Facet, C4Action::FacetX, C4Action::FacetY, Fix0, fix_r, fixtof(), FullCon, GetAction(), GetGraphics(), C4PropList::GetPropertyInt(), C4Shape::GetX(), C4Shape::GetY(), C4Def::GrowthType, C4Facet::Hgt, P_Length, P_Reverse, pDrawTransform, C4Action::Phase, C4BltTransform::Rotate(), C4Def::Rotateable, C4BltTransform::SetRotate(), C4DrawTransform::SetTransformAt(), C4Def::Shape, C4DefGraphics::TYPE_Bitmap, C4DefGraphics::TYPE_Mesh, C4Facet::Wdt, C4Facet::X, and C4Facet::Y.
Referenced by Draw().
| void C4Object::DrawFace | ( | C4TargetFacet & | cgo, |
| float | offX, | ||
| float | offY, | ||
| int32_t | iPhaseX = 0, |
||
| int32_t | iPhaseY = 0 |
||
| ) | const |
Definition at line 135 of file C4ObjectGraphics.cpp.
References Con, Def, DrawFaceImpl(), Fix0, fix_r, fixtof(), FullCon, GetGraphics(), C4Shape::GetX(), C4Shape::GetY(), C4Def::GrowthType, C4Rect::Hgt, pDrawTransform, C4BltTransform::Rotate(), C4Def::Rotateable, C4BltTransform::SetRotate(), C4DrawTransform::SetTransformAt(), C4Def::Shape, C4DefGraphics::Type, C4DefGraphics::TYPE_Mesh, and C4Rect::Wdt.
Referenced by Draw(), and DrawActionFace().
| void C4Object::DrawFaceImpl | ( | C4TargetFacet & | cgo, |
| bool | action, | ||
| float | fx, | ||
| float | fy, | ||
| float | fwdt, | ||
| float | fhgt, | ||
| float | tx, | ||
| float | ty, | ||
| float | twdt, | ||
| float | thgt, | ||
| C4DrawTransform * | transform | ||
| ) | const |
Definition at line 85 of file C4ObjectGraphics.cpp.
References Action, C4Draw::Blit(), C4ValueToMatrix(), Color, C4Action::Facet, Fix0, fix_r, fixtof(), C4DefGraphics::GetBitmap(), StdMesh::GetBoundingBox(), StdMeshBox::GetCenter(), GetGraphics(), StdMeshInstance::GetMesh(), C4PropList::GetProperty(), StdMeshMatrix::Identity(), P_MeshTransformation, pDraw, pMeshInstance, C4Draw::RenderMesh(), StdMeshMatrix::Rotate(), StdMeshMatrix::Scale(), C4Draw::SetMeshTransform(), C4Facet::Surface, StdMeshMatrix::Translate(), C4DefGraphics::TYPE_Bitmap, C4DefGraphics::TYPE_Mesh, and C4DefGraphics::TYPE_None.
Referenced by DrawActionFace(), and DrawFace().
| void C4Object::DrawLine | ( | C4TargetFacet & | cgo, |
| int32_t | at_player | ||
| ) |
Definition at line 578 of file C4ObjectGraphics.cpp.
References DwTo4UB(), FinishedDrawing(), C4Value::getArray(), C4Value::getInt(), C4ValueArray::GetItem(), C4PropList::GetProperty(), P_LineColors, pDraw, C4Draw::PerformMultiLines(), PrepareDrawing(), SetAudibilityAt(), Shape, C4Facet::Surface, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Shape::VtxNum, C4Shape::VtxX, C4Shape::VtxY, C4Facet::X, and C4Facet::Y.
Referenced by Draw().
| void C4Object::DrawPicture | ( | C4Facet & | cgo, |
| bool | fSelected = false, |
||
| C4DrawTransform * | transform = nullptr |
||
| ) |
Definition at line 619 of file C4ObjectGraphics.cpp.
References Color, Def, and C4Def::Draw().
Referenced by C4GraphicsOverlay::Draw(), C4MouseControl::Draw(), C4GameMessage::Draw(), and C4MenuItem::DrawElement().
| void C4Object::DrawSelectMark | ( | C4TargetFacet & | cgo | ) | const |
Definition at line 659 of file C4ObjectGraphics.cpp.
References C4Game::C4S, C4SHead::Film, Game, GetDrawPosition(), C4Shape::GetX(), C4Shape::GetY(), GfxR, C4Scenario::Head, C4Facet::Hgt, C4Rect::Hgt, C4SHead::Replay, Shape, C4PropList::Status, C4Facet::Surface, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, and C4Facet::Y.
Referenced by C4ObjectList::DrawSelectMark().
| void C4Object::DrawSolidMask | ( | C4TargetFacet & | cgo | ) | const |
Definition at line 327 of file C4ObjectPhysics.cpp.
References C4SolidMask::Draw(), and pSolidMaskData.
| void C4Object::DrawTopFace | ( | C4TargetFacet & | cgo, |
| int32_t | iByPlayer = -1, |
||
| DrawMode | eDrawMode = ODM_Normal, |
||
| float | offX = 0, |
||
| float | offY = 0 |
||
| ) |
Definition at line 506 of file C4ObjectGraphics.cpp.
References Action, C4Draw::Blit(), Color, Con, Contained, Def, C4Action::DrawDir, C4GraphicsResource::fctConstruction, FinishedDrawing(), Fix0, fix_r, FullCon, GetAction(), GetDrawPosition(), GetGraphics(), C4PropList::GetPropertyInt(), C4Shape::GetX(), C4Shape::GetY(), GraphicsResource, GraphicsSystem, C4Def::GrowthType, C4Facet::Hgt, C4Rect::Hgt, IsVisible(), OCF, OCF_Construct, ODM_BaseOnly, ODM_Overlay, P_FacetTopFace, P_Hgt, P_Length, P_Reverse, P_Wdt, P_X, P_Y, pDraw, pDrawTransform, C4Action::Phase, PrepareDrawing(), Shape, C4GraphicsSystem::Show8BitSurface, SolidMask, C4PropList::Status, C4Facet::Surface, C4Def::TopFace, TopFace, C4TargetRect::tx, C4TargetRect::ty, C4Facet::Wdt, C4Rect::Wdt, C4Facet::X, C4Rect::x, C4Facet::Y, C4Rect::y, and C4TargetFacet::Zoom.
Referenced by C4GraphicsOverlay::Draw(), C4ObjectList::Draw(), C4ObjectList::DrawIfCategory(), and C4EditCursor::DrawObject().
|
inlineinherited |
Definition at line 211 of file C4PropList.h.
Referenced by C4PropList::AppendDataString(), C4ParticleProperties::Set(), and C4PropList::ToJSON().
| bool C4Object::Enter | ( | C4Object * | pTarget, |
| bool | fCalls = true, |
||
| bool | fCopyMotion = true, |
||
| bool * | pfRejectCollect = nullptr |
||
| ) |
Definition at line 68 of file C4ObjectContents.cpp.
References C4ObjectList::Add(), Alive, C4PropList::Call(), CloseMenu(), Contained, Contents, Controller, CopyMotion(), Def, Exit(), GetX(), GetY(), Menu, ObjectListChangeListener, C4ObjectListChangeListener::OnObjectContainerChanged(), PSF_Collection2, PSF_Entrance, PSF_RejectCollection, PSF_RejectEntrance, SetOCF(), C4PropList::Status, C4ObjectList::stContents, UpdateFace(), UpdateMass(), and UpdateSolidMask().
Referenced by AssignRemoval(), ChangeDef(), Collect(), CreateContents(), DoCon(), C4Command::Enter(), C4Command::Exit(), C4Command::GetTryEnter(), ObjectComPut(), and C4Player::PlaceReadyVehic().
Definition at line 928 of file C4PropList.cpp.
References C4Set< T >::First(), C4Set< T >::Get(), C4Value::getFunction(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
| void C4Object::ExecAction | ( | ) |
Definition at line 619 of file C4ObjectAction.cpp.
References Action, CNAT_None, Def, GetAction(), C4PropList::GetPropertyStr(), GetR(), C4Def::IncompleteActivity, InLiquid, Mobile, OCF, OCF_FullCon, P_InLiquidAction, SetAction(), SetActionByName(), StableRange, C4Action::t_attach, and C4Def::UprightAttach.
Referenced by Execute().
| bool C4Object::ExecLife | ( | ) |
Definition at line 354 of file C4Object.cpp.
References C4ObjectInfoCore::Age, Alive, Breath, C4FxCall_EngAsphyxiation, C4FxCall_EngCorrosion, C4PropList::Call(), Contained, C4MaterialCore::Corrosive, Def, DoBreath(), DoEnergy(), FormatString(), Game, GameMsgObject(), GBackMat(), GBackSemiSolid(), StdStrBuf::getData(), C4PropList::GetName(), C4PropList::GetPropertyBool(), C4PropList::GetPropertyInt(), GetX(), GetY(), C4Shape::GetY(), C4ObjectInfo::InActionTime, C4MaterialCore::Incendiary, Info, InMat, C4Game::iTick10, C4Game::iTick255, C4Game::iTick5, LoadResStr(), C4MaterialMap::Map, MaterialMap, MNone, MVehic, MWater, NO_OWNER, C4Def::NoBreath, P_BreatheWater, P_ContactIncinerate, P_CorrosionResist, P_MaterialIncinerate, P_MaxBreath, PSF_OnInIncendiaryMaterial, Shape, StartSoundEffect(), C4Game::Time, and C4ObjectInfoCore::TotalPlayingTime.
Referenced by Execute().
| bool C4Object::ExecMovement | ( | ) |
Definition at line 691 of file C4Movement.cpp.
References Action, AssignDeath(), AssignRemoval(), C4D_Border_Bottom, C4D_Border_Sides, C4D_Parallax, C4D_StaticBack, Category, Contained, CopyMotion(), Def, DFA_ATTACH, DoMovement(), Fix0, fix_r, Game, GetAction(), C4Landscape::GetHeight(), GetParallaxity(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4Landscape::GetWidth(), GetX(), C4Shape::GetX(), GetY(), C4Shape::GetY(), C4Game::iTick10, Landscape, Mobile, P_BorderBound, P_Procedure, rdir, C4Def::Rotateable, Shape, Stabilize(), C4Action::Target, C4Rect::Wdt, xdir, and ydir.
Referenced by Execute().
| void C4Object::Execute | ( | ) |
Definition at line 427 of file C4Object.cpp.
References AddDbgRec(), Config, C4ConfigGeneral::DebugRec, ExecAction(), ExecLife(), ExecMovement(), C4ObjectMenu::Execute(), C4Effect::Execute(), StdMeshInstance::ExecuteAnimation(), ExecuteCommand(), fix_r, fix_x, fix_y, C4RCExecObj::fr, C4RCExecObj::fx, C4RCExecObj::fy, C4Config::General, StdMeshInstance::GetAttachParent(), Menu, C4RCExecObj::Number, C4PropListNumbered::Number, pEffects, pMeshInstance, RCT_ExecObj, C4PropList::Status, and UpdateOCF().
| bool C4Object::ExecuteCommand | ( | ) |
Definition at line 151 of file C4ObjectCommand.cpp.
References C4PropList::Call(), ClearCommand(), C4Command::Command, Command, CommandName(), C4Command::Data, C4Command::Execute(), C4Command::Finished, PSF_ControlCommandFinished, C4Command::Target, C4Command::Target2, C4Command::Tx, and C4Command::Ty.
Referenced by Execute().
| bool C4Object::Exit | ( | int32_t | iX = 0, |
| int32_t | iY = 0, |
||
| int32_t | iR = 0, |
||
| C4Real | iXDir = Fix0, |
||
| C4Real | iYDir = Fix0, |
||
| C4Real | iRDir = Fix0, |
||
| bool | fCalls = true |
||
| ) |
Definition at line 32 of file C4ObjectContents.cpp.
References BoundsCheck(), C4PropList::Call(), CloseMenu(), Contained, Contents, fix_r, fix_x, fix_y, InLiquid, itofix(), Mobile, ObjectListChangeListener, C4ObjectListChangeListener::OnObjectContainerChanged(), PSF_Departure, PSF_Ejection, rdir, C4ObjectList::Remove(), SetOCF(), UpdateFace(), UpdateMass(), xdir, and ydir.
Referenced by AssignDeath(), AssignRemoval(), ChangeDef(), ClearContentsAndContained(), DoCon(), Enter(), C4Command::Exit(), ObjectActionThrow(), and ObjectComDrop().
| C4Command * C4Object::FindCommand | ( | int32_t | iCommandType | ) | const |
| void C4Object::FinishedDrawing | ( | ) | const |
Definition at line 688 of file C4ObjectGraphics.cpp.
References C4Draw::DeactivateBlitModulation(), pDraw, and C4Draw::ResetBlitMode().
Referenced by C4DefGraphics::Draw(), Draw(), DrawLine(), C4GraphicsOverlay::DrawPicture(), DrawTopFace(), and Picture2Facet().
Definition at line 109 of file C4ObjectPhysics.cpp.
References Action, CNAT_Bottom, Mobile, ObjectActionJump(), ObjectActionTumble(), C4Action::t_attach, xdir, and ydir.
Referenced by C4GameObjects::CrossCheck().
Definition at line 667 of file C4Movement.cpp.
References fix_x, fix_y, UpdatePos(), and UpdateSolidMask().
Referenced by ContactAction().
|
inlineinherited |
Definition at line 132 of file C4PropList.h.
Referenced by C4PropList::FreezeAndMakeStaticRecursively().
|
inherited |
Definition at line 279 of file C4PropList.cpp.
References C4VPropList(), C4PropList::Freeze(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropListStatic::GetParent(), C4PropListStatic::GetParentKeyName(), C4PropList::GetPropertyByS(), C4Value::getPropList(), C4PropList::GetPrototype(), C4PropList::GetSortedLocalProperties(), C4PropList::IsStatic(), C4PropList::NewStatic(), and C4PropList::Status.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4AulScriptEngine::Link().
| C4PropList * C4Object::GetAction | ( | ) | const |
Definition at line 166 of file C4ObjectAction.cpp.
References C4PropList::GetProperty(), C4Value::getPropList(), and P_Action.
Referenced by C4FindObjectAction::Check(), C4FindObjectActionTarget::Check(), C4FindObjectProcedure::Check(), ContactAction(), C4GameObjects::CrossCheck(), Draw(), DrawActionFace(), DrawTopFace(), ExecAction(), ExecMovement(), C4ValueProviderAction::Execute(), C4Command::FlightControl(), GetDataString(), GetProcedure(), C4Command::MoveTo(), NoAttachAction(), ObjectComDrop(), ObjectComJump(), SetDir(), SetOCF(), SetPhase(), SideBounds(), UpdateActionFace(), UpdateFlipDir(), UpdateOCF(), and VerticalBounds().
|
inline |
| BYTE C4Object::GetArea | ( | int32_t & | aX, |
| int32_t & | aY, | ||
| int32_t & | aWdt, | ||
| int32_t & | aHgt | ||
| ) | const |
Definition at line 700 of file C4Object.cpp.
References Def, GetX(), C4Shape::GetX(), GetY(), C4Shape::GetY(), C4Rect::Hgt, Shape, C4PropList::Status, and C4Rect::Wdt.
|
staticinherited |
Definition at line 51 of file C4PropList.cpp.
References C4Set< T >::Get(), and C4PropListNumbered::PropLists.
Referenced by C4Value::Denumerate(), and C4GameObjects::ObjectPointer().
|
inline |
Definition at line 271 of file C4Object.h.
References Con.
Referenced by C4EditCursor::HasTransformMarker(), C4EditCursor::LeftButtonDown(), and ObjectComJump().
| StdStrBuf C4Object::GetDataString | ( | ) |
Definition at line 729 of file C4Object.cpp.
References StdStrBuf::Append(), C4PropList::AppendDataString(), StdStrBuf::AppendFormat(), Contents, Def, Definitions, C4PlayerList::Get(), GetAction(), C4Player::GetName(), C4PropList::GetName(), C4ObjectList::GetNameList(), C4Def::id, LoadResStr(), mkInsertAdapt(), mkNamingAdapt(), mkParAdapt(), C4ObjectList::ObjectCount(), Owner, pEffects, Players, C4Effect::pNext, C4ID::ToString(), and ValidPlr().
Referenced by C4EditCursorSelection::GetDataString().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 648 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
|
virtualinherited |
Reimplemented in C4Def.
Definition at line 654 of file C4PropList.cpp.
References C4PropList::GetDef(), and C4PropList::GetPrototype().
Referenced by C4Value::_getDef(), ConstructionCheck(), C4Game::CreateObject(), C4Game::CreateObjectConstruction(), C4AulExec::DirectExec(), C4GameMessage::Draw(), C4Game::DrawPropListSpecImage(), C4AulExec::FnTranslate(), C4PropList::GetDef(), C4Value::getDef(), Init(), C4GameMessage::Init(), C4FindObjectDef::IsImpossible(), C4PropList::operator==(), C4ScriptHost::Parse(), C4AulParse::Parse_Script(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), and C4ScriptGuiWindowProperty::Set().
Definition at line 713 of file C4ObjectGraphics.cpp.
References C4Value::getDef(), C4Value::getObj(), C4PropList::GetProperty(), and P_MouseDragImage.
Referenced by C4MouseControl::DragNone().
| bool C4Object::GetDrawPosition | ( | const C4TargetFacet & | cgo, |
| float & | resultx, | ||
| float & | resulty, | ||
| float & | resultzoom | ||
| ) | const |
Definition at line 733 of file C4ObjectGraphics.cpp.
References fix_x, fix_y, fixtof(), and C4TargetFacet::Zoom.
Referenced by C4GraphicsOverlay::Draw(), Draw(), C4GameMessage::Draw(), C4EditCursor::DrawObject(), DrawSelectMark(), DrawTopFace(), and SetAudibilityAt().
| bool C4Object::GetDrawPosition | ( | const C4TargetFacet & | cgo, |
| float | x, | ||
| float | y, | ||
| float | zoom, | ||
| float & | resultx, | ||
| float & | resulty, | ||
| float & | resultzoom | ||
| ) | const |
Definition at line 739 of file C4ObjectGraphics.cpp.
References C4D_Foreground, Category, fix_x, fix_y, GetParallaxity(), C4Facet::Hgt, C4TargetFacet::ParRefX, C4TargetFacet::ParRefY, C4TargetFacet::TargetX, C4TargetFacet::TargetY, C4Facet::Wdt, C4Facet::X, and C4Facet::Y.
|
virtualinherited |
Reimplemented in C4Effect.
Definition at line 678 of file C4PropList.cpp.
References C4PropList::GetEffect(), and C4PropList::GetPrototype().
Referenced by C4ValueConv< C4Effect * >::_FromC4V(), and C4PropList::GetEffect().
| BYTE C4Object::GetEntranceArea | ( | int32_t & | aX, |
| int32_t & | aY, | ||
| int32_t & | aWdt, | ||
| int32_t & | aHgt | ||
| ) | const |
Definition at line 708 of file C4Object.cpp.
References Def, C4Def::Entrance, GetX(), GetY(), C4Rect::Hgt, OCF, OCF_Entrance, C4PropList::Status, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4Command::Enter(), and C4Command::Exit().
|
inlinestaticinherited |
Definition at line 230 of file C4PropList.h.
References C4PropListNumbered::EnumerationIndex.
Referenced by C4Game::NewObject(), C4EditCursor::PerformDuplication(), and C4ControlSyncCheck::Set().
|
inline |
|
inline |
Definition at line 288 of file C4Object.h.
References fix_x.
Referenced by C4ParticleChunk::Draw(), C4SolidMask::Put(), and C4SolidMask::Remove().
|
inline |
Definition at line 289 of file C4Object.h.
References fix_y.
Referenced by C4ParticleChunk::Draw(), and C4SolidMask::Put().
|
inlineinherited |
Definition at line 109 of file C4PropList.h.
References C4StringTable::P, and Strings.
Referenced by C4Effect::AssignCallbackFunctions(), C4PropList::Call(), C4Effect::CallDamage(), C4Value::CompileFunc(), C4ScriptHost::CopyPropList(), C4Effect::DoCall(), C4PropList::GetFunc(), C4AulScriptEngine::GetFunctionNames(), C4Effect::Init(), C4MapScriptHost::InitializeMap(), PutAwayUnusedObject(), C4MaterialReaction::ResolveScriptFuncs(), C4MCOverlay::SetField(), and C4AulCompiler::PreparseAstVisitor::visit().
Definition at line 772 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetFunc(), C4Value::getFunction(), C4PropList::GetPrototype(), C4Set< T >::Has(), and C4Property::Value.
|
inherited |
Definition at line 786 of file C4PropList.cpp.
References C4StringTable::FindString(), C4PropList::GetFunc(), s, and Strings.
|
inline |
Definition at line 339 of file C4Object.h.
References pGraphics.
Referenced by C4Def::Draw(), C4SolidMask::Draw(), C4GraphicsOverlay::Draw(), C4MouseControl::Draw(), Draw(), DrawActionFace(), DrawFace(), DrawFaceImpl(), DrawTopFace(), Picture2Facet(), SetOwner(), UpdateActionFace(), and UpdateFace().
| C4GraphicsOverlay * C4Object::GetGraphicsOverlay | ( | int32_t | iForID | ) | const |
Definition at line 835 of file C4ObjectGraphics.cpp.
References C4GraphicsOverlay::GetID(), C4GraphicsOverlay::GetNext(), and pGfxOverlay.
Referenced by CanConcatPictureWith().
| C4GraphicsOverlay * C4Object::GetGraphicsOverlay | ( | int32_t | iForID, |
| bool | fCreate | ||
| ) |
Definition at line 846 of file C4ObjectGraphics.cpp.
References C4GraphicsOverlay::GetID(), C4GraphicsOverlay::GetNext(), pGfxOverlay, C4GraphicsOverlay::SetID(), and C4GraphicsOverlay::SetNext().
| StdStrBuf C4Object::GetInfoString | ( | ) |
Definition at line 1244 of file C4Object.cpp.
References StdStrBuf::Append(), StdStrBuf::AppendChar(), C4V_String, DebugLogF(), C4String::GetCStr(), StdStrBuf::getLength(), C4PropList::GetName(), C4Value::getStr(), C4Value::GetType(), C4PropListNumbered::Number, pEffects, C4Effect::pNext, PSFS_FxInfo, and C4PropList::Status.
|
inline |
|
virtualinherited |
Reimplemented in C4MapScriptLayer.
Definition at line 660 of file C4PropList.cpp.
References C4PropList::GetMapScriptLayer(), and C4PropList::GetPrototype().
Referenced by C4MapScriptAlgoLayer::C4MapScriptAlgoLayer(), and C4PropList::GetMapScriptLayer().
|
virtualinherited |
Reimplemented in C4MapScriptMap.
Definition at line 666 of file C4PropList.cpp.
References C4PropList::GetMapScriptMap(), and C4PropList::GetPrototype().
Referenced by C4PropList::GetMapScriptMap().
Definition at line 238 of file C4ObjectPhysics.cpp.
References Def, C4PropList::Status, xdir, and ydir.
|
virtualinherited |
Reimplemented in C4PropListStatic.
Definition at line 618 of file C4PropList.cpp.
References C4PropList::GetPropertyStr(), P_Name, and s.
Referenced by ActivateMenu(), C4Effect::AssignCallbackFunctions(), C4Effect::C4Effect(), C4PropertyPath::C4PropertyPath(), CanConcatPictureWith(), C4FindObjectAction::Check(), C4Game::CheckObjectEnumeration(), C4Effect::ClearAll(), ConstructionCheck(), C4Effect::DoCall(), C4EditCursor::DoContextMenu(), C4ObjectMenu::DoRefillInternal(), Draw(), C4ScriptGuiWindow::Draw(), C4Game::DrawCrewOverheadText(), ExecLife(), C4Effect::Get(), C4Effect::GetCount(), GetDataString(), GetInfoString(), C4Effect::Init(), C4Effect::Kill(), Lift(), C4Game::NewObject(), ObjectComDig(), Promote(), Push(), SetAction(), SetOCF(), C4Effect::TempRemoveUpperEffects(), UpdateOCF(), and C4EditCursor::UpdateStatusBar().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
| void C4Object::GetOCFForPos | ( | int32_t | ctx, |
| int32_t | cty, | ||
| DWORD & | ocf | ||
| ) | const |
Definition at line 199 of file C4ObjectOCF.cpp.
References C4Def::Collection, Def, C4Def::Entrance, GetX(), GetY(), C4Rect::Hgt, OCF, OCF_Collection, OCF_Entrance, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by At().
|
inline |
Definition at line 302 of file C4Object.h.
References OnFire.
Referenced by C4Command::Acquire().
| void C4Object::GetParallaxity | ( | int32_t * | parX, |
| int32_t * | parY | ||
| ) | const |
Definition at line 696 of file C4ObjectGraphics.cpp.
References C4D_Foreground, C4D_Parallax, Category, C4Value::getArray(), C4Value::getInt(), C4ValueArray::GetItem(), C4PropList::GetProperty(), and P_Parallaxity.
Referenced by ExecMovement(), GetDrawPosition(), and GetViewPosPar().
|
inline |
Definition at line 179 of file C4Object.h.
References Plane.
Referenced by C4ObjectList::Add(), C4ObjectList::CheckCategorySort(), C4ObjectList::Draw(), C4GameObjects::FixObjectOrder(), GetSolidMaskPlane(), and IsMoveableBySolidMask().
| int32_t C4Object::GetProcedure | ( | ) | const |
Definition at line 362 of file C4ObjectAction.cpp.
References GetAction(), C4PropList::GetPropertyP(), and P_Procedure.
Referenced by C4Command::Activate(), C4Command::Dig(), C4Command::Drop(), C4Command::Enter(), C4Command::Follow(), FreeMoveTo(), C4Command::Get(), C4Command::Grab(), C4Command::Jump(), C4Command::MoveTo(), NoAttachAction(), ObjectComCancelAttach(), ObjectComGrab(), ObjectComJump(), ObjectComThrow(), ObjectComUnGrab(), C4Command::PushTo(), C4Command::Put(), PutAwayUnusedObject(), SetCommand(), C4Command::Throw(), and C4Command::Wait().
|
overridevirtual |
Reimplemented from C4PropList.
Definition at line 1354 of file C4Object.cpp.
References a, C4VString(), C4PropList::GetProperties(), C4StringTable::P, P_Plane, and Strings.
|
inlineinherited |
Definition at line 105 of file C4PropList.h.
References C4PropList::GetPropertyByS(), C4StringTable::P, and Strings.
Referenced by C4MapScriptAlgoFilter::C4MapScriptAlgoFilter(), C4MapScriptAlgoModifier::C4MapScriptAlgoModifier(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4FindObjectProcedure::Check(), C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), DrawFaceImpl(), DrawLine(), GetAction(), C4Def::GetActionByName(), GetDragImage(), GetParallaxity(), C4MapScriptAlgo::GetXYProps(), C4GameMessage::Init(), IsVisible(), C4ScriptUniform::Push(), SetAction(), SetActionByName(), and C4GraphicsOverlay::UpdateFacet().
|
inherited |
Definition at line 758 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getArray(), C4PropList::GetPropertyArray(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4EditCursor::DoContextMenu(), C4PropList::GetPropertyArray(), and C4FoWLight::Update().
|
inherited |
Definition at line 841 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getBool(), C4PropList::GetPropertyBool(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by ExecLife(), and C4PropList::GetPropertyBool().
Reimplemented from C4PropList.
Definition at line 1342 of file C4Object.cpp.
References C4VInt(), C4PropList::GetPropertyByS(), C4StringTable::P, P_LAST, P_Plane, Plane, and Strings.
Referenced by C4FindObjectProperty::Check().
|
inherited |
Definition at line 855 of file C4PropList.cpp.
References C4Set< T >::Get(), C4Value::getInt(), C4PropList::GetPropertyInt(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MouseControl::ButtonUpDragScript(), C4MapScriptAlgoEllipse::C4MapScriptAlgoEllipse(), C4MapScriptAlgoLines::C4MapScriptAlgoLines(), C4MapScriptAlgoOffset::C4MapScriptAlgoOffset(), C4MapScriptAlgoPolygon::C4MapScriptAlgoPolygon(), C4MapScriptAlgoRect::C4MapScriptAlgoRect(), C4MapScriptAlgoRndChecker::C4MapScriptAlgoRndChecker(), C4MapScriptAlgoRotate::C4MapScriptAlgoRotate(), C4MapScriptAlgoScale::C4MapScriptAlgoScale(), C4MapScriptAlgoTurbulence::C4MapScriptAlgoTurbulence(), Contact(), ContactAction(), DoBreath(), DoEnergy(), C4MouseControl::DragNone(), Draw(), DrawActionFace(), C4Game::DrawPropListSpecImage(), DrawTopFace(), C4Command::Enter(), ExecLife(), ExecMovement(), C4ValueProviderAction::Execute(), C4Command::Exit(), C4Command::FlightControl(), C4SoundModifierList::Get(), C4SoundModifier::GetBoolProp(), C4SoundModifier::GetFloatProp(), C4Def::GetPlane(), C4PropList::GetPropertyInt(), GetSolidMaskPlane(), Init(), IsVisible(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), ObjectComJump(), C4Game::PlaceAnimal(), C4Game::PlaceVegetation(), Push(), C4Command::Put(), ResetProperty(), SetAction(), SetDir(), SetOCF(), SetPhase(), SideBounds(), C4Command::Throw(), UpdateActionFace(), C4MouseControl::UpdateCursorTarget(), C4GraphicsOverlay::UpdateFacet(), UpdateFlipDir(), UpdateOCF(), and VerticalBounds().
|
inherited |
Definition at line 824 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyP(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, P_LAST, Strings, and C4Property::Value.
Referenced by ContactAction(), C4GameObjects::CrossCheck(), ExecMovement(), GetProcedure(), C4PropList::GetPropertyP(), ObjectComDrop(), SetAction(), SideBounds(), and VerticalBounds().
|
inherited |
Definition at line 869 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyPropList(), C4Value::getPropList(), C4PropList::GetPrototype(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4MapScriptAlgoLayer::C4MapScriptAlgoLayer(), C4Game::DrawPropListSpecImage(), C4PropList::GetPropertyPropList(), and C4GameMessage::Init().
|
inherited |
Definition at line 744 of file C4PropList.cpp.
References C4Set< T >::Get(), C4PropList::GetPropertyStr(), C4PropList::GetPrototype(), C4Value::getStr(), C4Set< T >::Has(), C4StringTable::P, Strings, and C4Property::Value.
Referenced by C4Game::DrawPropListSpecImage(), ExecAction(), C4PropList::GetName(), C4PropListStatic::GetName(), C4PropList::GetPropertyStr(), C4Game::GetTranslatedString(), SetAction(), SetDir(), C4MouseControl::UpdateCursorTarget(), and C4GraphicsOverlay::UpdateFacet().
|
overridevirtualinherited |
Reimplemented from C4PropList.
Definition at line 151 of file C4PropList.cpp.
|
inlineinherited |
Definition at line 85 of file C4PropList.h.
References C4Value::_getPropList().
Referenced by C4PropList::begin(), C4FindObjectDef::Check(), C4PropList::FreezeAndMakeStaticRecursively(), C4PropList::GetDef(), C4PropList::GetEffect(), C4PropList::GetFunc(), C4PropList::GetMapScriptLayer(), C4PropList::GetMapScriptMap(), C4PropList::GetObject(), C4PropList::GetProperties(), C4PropList::GetPropertyArray(), C4PropList::GetPropertyBool(), C4PropList::GetPropertyByS(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4PropList::GetPropertyPropList(), C4PropList::GetPropertyStr(), C4PropList::GetPropListNumbered(), C4PropList::GetSortedLocalProperties(), C4PropList::GetUnsortedProperties(), C4GameScriptHost::Load(), C4GameScriptHost::LoadData(), C4EditCursor::PerformDuplicationLegacy(), and C4PropList::SetPropertyByS().
|
inline |
Definition at line 287 of file C4Object.h.
References fix_r, and fixtoi().
Referenced by AdjustWalkRotation(), ExecAction(), C4EditCursor::LeftButtonDown(), Push(), C4SolidMask::Put(), SetOCF(), and UpdateOCF().
| int32_t C4Object::GetSolidMaskPlane | ( | ) | const |
Definition at line 563 of file C4ObjectPhysics.cpp.
References GetPlane(), C4PropList::GetPropertyInt(), and P_SolidMaskPlane.
Referenced by C4SolidMask::Put(), and C4SolidMask::Remove().
|
inherited |
Definition at line 545 of file C4PropList.cpp.
References C4Set< T >::GetSortedListOfElementPointers(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::FreezeAndMakeStaticRecursively(), and C4Game::GetTranslatedString().
|
inherited |
Definition at line 556 of file C4PropList.cpp.
References a, b, C4Set< T >::First(), C4PropList::GetPrototype(), C4PropList::HasProperty(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
|
inherited |
Definition at line 601 of file C4PropList.cpp.
References a, b, and C4PropList::GetUnsortedProperties().
| C4Real C4Object::GetSpeed | ( | ) | const |
Definition at line 250 of file C4ObjectPhysics.cpp.
References Fix0, xdir, and ydir.
Referenced by SetOCF(), and UpdateOCF().
|
inherited |
Definition at line 583 of file C4PropList.cpp.
References C4Set< T >::First(), C4PropList::GetPrototype(), C4Set< T >::Next(), C4StringTable::P, P_Prototype, and Strings.
Referenced by C4PropList::GetSortedProperties(), and C4PropList::ThawRecursively().
| int32_t C4Object::GetValue | ( | C4Object * | pInBase, |
| int32_t | iForPlayer | ||
| ) |
Definition at line 791 of file C4Object.cpp.
References C4VNull, C4PropList::Call(), Con, Def, FullCon, C4Value::getInt(), C4Def::GetValue(), PSF_CalcSellValue, and PSF_CalcValue.
Referenced by C4SortObjectValue::CompareGetValue(), and C4ObjectMenu::DoRefillInternal().
| void C4Object::GetViewPos | ( | float & | riX, |
| float & | riY, | ||
| float | tx, | ||
| float | ty, | ||
| const C4Facet & | fctViewport | ||
| ) | const |
Definition at line 728 of file C4ObjectGraphics.cpp.
References C4D_Parallax.
Referenced by C4MouseControl::UpdateCursorTarget().
| void C4Object::GetViewPosPar | ( | float & | riX, |
| float & | riY, | ||
| float | tx, | ||
| float | ty, | ||
| const C4Facet & | fctViewport | ||
| ) | const |
Definition at line 789 of file C4ObjectGraphics.cpp.
References fix_x, fix_y, fixtof(), GetParallaxity(), GetX(), GetY(), C4Facet::Hgt, and C4Facet::Wdt.
|
inline |
Definition at line 285 of file C4Object.h.
References fix_x, and fixtoi().
Referenced by C4Command::Acquire(), C4LSectors::Add(), AssignDeath(), AssignRemoval(), At(), C4Command::Attack(), C4FindObjectInRect::Check(), C4FindObjectAtPoint::Check(), C4FindObjectAtRect::Check(), C4FindObjectOnLine::Check(), C4FindObjectDistance::Check(), C4FindObjectCone::Check(), C4Game::CheckObjectEnumeration(), C4SoundInstance::CheckStart(), ClearContentsAndContained(), C4SoundInstance::ClearPointers(), C4SortObjectDistance::CompareGetValue(), ContactAction(), C4FindObject::CreateByValue(), C4SortObject::CreateByValue(), C4GameObjects::CrossCheck(), C4Command::Dig(), DoCon(), C4EditCursor::DoContextMenu(), DoMovement(), C4EditCursor::Draw(), C4SolidMask::Draw(), Draw(), C4Command::Drop(), C4Command::Enter(), Enter(), ExecLife(), ExecMovement(), C4Command::Exit(), C4Game::FindObject(), C4Command::FlightControl(), C4Command::Follow(), C4Command::Get(), GetArea(), C4EditCursor::GetCurrentSelectionPosition(), GetEntranceArea(), GetOCFForPos(), GetViewPosPar(), C4Command::Grab(), Init(), C4Command::InitEvaluation(), C4SoundInstance::Inside(), C4EditCursor::IsHoveringTransformMarker(), IsInLiquidCheck(), C4Command::Jump(), C4Command::JumpControl(), Left(), Lift(), MakeAbsCoordinates(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), C4EditCursor::PerformDuplicationLegacy(), C4Player::PlaceReadyBase(), C4Landscape::P::PostFreeShape(), Push(), C4Command::PushTo(), C4Command::Put(), C4SolidMask::Put(), SetOCF(), SideBounds(), Stabilize(), C4Command::Throw(), C4Command::Transfer(), C4LSectors::Update(), UpdateOCF(), and C4Player::UpdateView().
|
inline |
Definition at line 286 of file C4Object.h.
References fix_y, and fixtoi().
Referenced by C4Command::Acquire(), C4LSectors::Add(), AssignDeath(), AssignRemoval(), At(), C4Command::Attack(), C4FindObjectInRect::Check(), C4FindObjectAtPoint::Check(), C4FindObjectAtRect::Check(), C4FindObjectOnLine::Check(), C4FindObjectDistance::Check(), C4FindObjectCone::Check(), C4SoundInstance::CheckStart(), ClearContentsAndContained(), C4SoundInstance::ClearPointers(), C4SortObjectDistance::CompareGetValue(), ContactAction(), C4FindObject::CreateByValue(), C4SortObject::CreateByValue(), C4GameObjects::CrossCheck(), C4Command::Dig(), DoCon(), C4EditCursor::DoContextMenu(), DoMovement(), C4EditCursor::Draw(), C4SolidMask::Draw(), Draw(), C4Command::Drop(), C4Command::Enter(), Enter(), ExecLife(), ExecMovement(), C4Command::Exit(), C4Game::FindObject(), C4Command::FlightControl(), C4Command::Follow(), C4Command::Get(), GetArea(), C4EditCursor::GetCurrentSelectionPosition(), GetEntranceArea(), GetOCFForPos(), GetViewPosPar(), C4Command::Grab(), Init(), C4Command::InitEvaluation(), C4SoundInstance::Inside(), C4EditCursor::IsHoveringTransformMarker(), IsInLiquidCheck(), C4Command::JumpControl(), Lift(), MakeAbsCoordinates(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), Push(), C4Command::PushTo(), C4Command::Put(), C4SolidMask::Put(), C4SolidMask::Remove(), SetOCF(), Stabilize(), C4Command::Throw(), Top(), C4Command::Transfer(), C4LSectors::Update(), UpdateOCF(), C4Player::UpdateView(), and VerticalBounds().
| void C4Object::GrabContents | ( | C4Object * | pFrom | ) |
Definition at line 251 of file C4ObjectContents.cpp.
References Contents, and C4ObjectList::Copy().
| bool C4Object::GrabInfo | ( | C4Object * | pFrom | ) |
Definition at line 1153 of file C4Object.cpp.
References Alive, ClearInfo(), C4PlayerList::ClearPointers(), C4PlayerList::Get(), Info, C4Player::MakeCrewMember(), C4ObjectInfoCore::Name, Owner, Players, C4ObjectInfo::Recruit(), C4ObjectInfo::Retire(), SetName(), and C4PropList::Status.
| bool C4Object::HasGraphicsOverlayRecursion | ( | const C4Object * | pCheckObj | ) | const |
Definition at line 882 of file C4ObjectGraphics.cpp.
References C4GraphicsOverlay::GetNext(), HasGraphicsOverlayRecursion(), and pGfxOverlay.
Referenced by HasGraphicsOverlayRecursion(), and C4GraphicsOverlay::IsValid().
|
inlineinherited |
Definition at line 122 of file C4PropList.h.
References C4Set< T >::Has().
Referenced by C4AulScriptEngine::GetFunctionNames(), C4PropList::GetSortedLocalProperties(), C4MapScriptAlgo::GetXYProps(), and C4AulCompiler::ConstantResolver::visit().
|
inline |
Definition at line 284 of file C4Object.h.
References addtop(), C4Rect::Hgt, and Shape.
Referenced by C4LArea::Set().
| bool C4Object::Init | ( | C4PropList * | ndef, |
| C4Object * | pCreator, | ||
| int32_t | owner, | ||
| C4ObjectInfo * | info, | ||
| int32_t | nx, | ||
| int32_t | ny, | ||
| int32_t | nr, | ||
| C4Real | nxdir, | ||
| C4Real | nydir, | ||
| C4Real | nrdir, | ||
| int32_t | iController | ||
| ) |
Definition at line 112 of file C4Object.cpp.
References C4PropListNumbered::AcquireNumber(), Alive, Audible, AudiblePan, AudiblePlayer, C4Def::BlitMode, BlitMode, Breath, C4D_Living, C4VPropList(), C4Def::Category, Category, CheckSolidMaskRect(), Color, C4Def::ColorByOwner, C4Player::ColorDw, ColorMod, Con, Controller, C4Def::Count, Def, Energy, fix_r, fix_x, fix_y, FullCon, C4PlayerList::Get(), C4ViewportList::GetAudibility(), C4PropList::GetDef(), C4Def::GetPlane(), C4PropList::GetPropertyInt(), GetX(), GetY(), C4Def::Graphics, C4Def::GrowthType, C4Def::id, Info, Initializing, itofix(), LastEnergyLossCausePlayer, Layer, C4Def::Mass, Mass, Mobile, C4ObjectInfoCore::Name, NO_OWNER, Owner, P_MaxBreath, P_MaxEnergy, P_Prototype, pGraphics, Plane, Players, pMeshInstance, rdir, C4Def::Rotateable, StdMeshInstance::SetFaceOrderingForClrModulation(), SetName(), SetOCF(), C4PropList::SetProperty(), C4Def::Shape, Shape, C4Def::SolidMask, SolidMask, C4DefGraphics::Type, C4DefGraphics::TYPE_Mesh, UpdateFace(), UpdateGraphics(), ValidPlr(), Viewports, xdir, and ydir.
Referenced by C4Game::NewObject().
|
inlineinherited |
Definition at line 135 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively().
| bool C4Object::IsInLiquidCheck | ( | ) | const |
Definition at line 307 of file C4ObjectPhysics.cpp.
References Con, Def, C4Def::Float, FullCon, GBackLiquid(), GetX(), and GetY().
Referenced by DoMovement(), and UpdateInLiquid().
| bool C4Object::IsMoveableBySolidMask | ( | int | ComparisonPlane | ) | const |
Definition at line 555 of file C4ObjectPhysics.cpp.
References C4D_StaticBack, C4OS_NORMAL, Category, Contained, GetPlane(), and C4PropList::Status.
Referenced by C4SolidMask::Put(), and C4SolidMask::Remove().
|
inlineoverridevirtualinherited |
| bool C4Object::IsPlayerObject | ( | int32_t | iPlayerNumber = NO_OWNER | ) | const |
Definition at line 1278 of file C4Object.cpp.
References C4Player::Crew, C4Def::CrewMember, Def, C4PlayerList::Get(), C4ObjectList::IsContained(), NO_OWNER, Owner, Players, and ValidPlr().
Referenced by IsUserPlayerObject().
|
inlinevirtualinherited |
Reimplemented in C4PropListStatic.
Definition at line 89 of file C4PropList.h.
Referenced by C4PropList::AppendDataString(), C4PropertyPath::C4PropertyPath(), C4Effect::CompileFunc(), C4Value::CompileFunc(), C4ScriptHost::CopyPropList(), C4Value::Denumerate(), C4AulExec::DirectExec(), C4PropList::FreezeAndMakeStaticRecursively(), C4ExtraScriptHost::GetPropList(), C4GameScriptHost::GetPropList(), C4PropList::ToJSON(), C4Value::ToJSON(), and C4AulCompiler::ConstexprEvaluator::visit().
|
inlineinherited |
Definition at line 90 of file C4PropList.h.
References C4PropList::IsStatic().
Referenced by C4PropList::IsStatic().
| bool C4Object::IsUserPlayerObject | ( | ) |
Definition at line 1302 of file C4Object.cpp.
References C4PT_User, C4PlayerList::Get(), C4Player::GetType(), IsPlayerObject(), Owner, and Players.
Referenced by C4ObjectList::CompileFunc().
| bool C4Object::IsVisible | ( | int32_t | iForPlr, |
| bool | fAsOverlay | ||
| ) | const |
Definition at line 77 of file C4ObjectVisibility.cpp.
References Application, C4Value::getArray(), C4Value::getBool(), C4Value::getInt(), C4ValueArray::GetItem(), C4PropList::GetProperty(), C4PropList::GetPropertyInt(), C4ValueArray::GetSize(), Hostile(), C4Application::isEditor, IsVisible(), Layer, NO_OWNER, Owner, P_Visibility, VIS_Allies, VIS_Editor, VIS_Enemies, VIS_God, VIS_LayerToggle, VIS_OverlayOnly, VIS_Owner, and VIS_Select.
Referenced by Draw(), C4GameMessage::Draw(), C4Game::DrawCrewOverheadText(), DrawTopFace(), IsVisible(), and C4ScriptGuiWindow::IsVisibleTo().
|
inline |
Definition at line 281 of file C4Object.h.
References GetX(), Shape, and C4Rect::x.
Referenced by C4LArea::Set().
Definition at line 203 of file C4ObjectPhysics.cpp.
References Abs(), C4PropList::Call(), ContactCheck(), Contained, Def, Fix0, FormatString(), GameMsgObjectError(), C4PropList::GetName(), GetX(), GetY(), GravAccel, LoadResStr(), Mass, Mobile, PSF_Stuck, C4PropList::Status, xdir, and ydir.
| bool C4Object::MenuCommand | ( | const char * | szCommand | ) |
Definition at line 161 of file C4ObjectMenuLogic.cpp.
References AulExec, Def, C4AulExec::DirectExec(), and C4PropList::Status.
Referenced by C4ObjectMenu::MenuCommand().
Definition at line 680 of file C4Movement.cpp.
References fix_x, fix_y, UpdatePos(), and UpdateSolidMask().
| void C4Object::MovePosition | ( | int32_t | dx, |
| int32_t | dy | ||
| ) |
Definition at line 675 of file C4Movement.cpp.
References itofix().
Referenced by C4SolidMask::Put().
|
staticinherited |
Definition at line 40 of file C4PropList.cpp.
Referenced by CompileNewFunc(), FnPlaceVegetation(), C4ScriptGuiWindowProperty::ToC4Value(), C4ScriptGuiWindow::ToC4Value(), and C4AulCompiler::ConstexprEvaluator::visit().
|
staticinherited |
Definition at line 46 of file C4PropList.cpp.
Referenced by C4PropListScen::C4PropListScen(), C4ScriptHost::CopyPropList(), C4PropList::FreezeAndMakeStaticRecursively(), C4ScenarioParameterDefs::RegisterScriptConstants(), and C4AulCompiler::ConstexprEvaluator::visit().
| void C4Object::NoAttachAction | ( | ) |
Definition at line 369 of file C4ObjectAction.cpp.
References Action, COMD_Left, COMD_Right, COMD_Stop, COMD_Up, C4Action::ComDir, ComDirLike(), DFA_PUSH, DFA_SCALE, C4Action::Dir, DIR_Left, DIR_Right, Fix0, GetAction(), GetProcedure(), GrabLost(), itofix(), ObjectActionCornerScale(), ObjectActionJump(), C4Action::Target, xdir, and ydir.
Referenced by DoMovement().
|
inherited |
Definition at line 348 of file C4PropList.cpp.
References b, C4Set< T >::First(), C4PropList::GetDef(), C4Set< T >::GetSize(), C4PropList::IsNumbered(), C4Property::Key, C4Set< T >::Next(), and C4Property::Value.
| void C4Object::Picture2Facet | ( | C4FacetSurface & | cgo | ) |
Definition at line 625 of file C4ObjectGraphics.cpp.
References BlitMode, C4GFXBLIT_NORMAL, Color, ColorMod, C4FacetSurface::Create(), Def, C4Facet::Draw(), FinishedDrawing(), GetGraphics(), C4GraphicsOverlay::GetNext(), C4Facet::Hgt, C4Rect::Hgt, pGfxOverlay, C4Def::PictureRect, PictureRect, PrepareDrawing(), C4Facet::Set(), C4FacetSurface::Set(), C4Facet::Wdt, C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by C4ObjectMenu::DoRefillInternal().
| void C4Object::PrepareDrawing | ( | ) | const |
Definition at line 680 of file C4ObjectGraphics.cpp.
References C4Draw::ActivateBlitModulation(), BlitMode, C4GFXBLIT_CLRSFC_MOD2, C4GFXBLIT_MOD2, ColorMod, pDraw, and C4Draw::SetBlitMode().
Referenced by C4DefGraphics::Draw(), Draw(), DrawLine(), C4GraphicsOverlay::DrawPicture(), DrawTopFace(), and Picture2Facet().
| bool C4Object::Promote | ( | int32_t | torank, |
| bool | exception, | ||
| bool | fForceRankName | ||
| ) |
Definition at line 46 of file C4ObjectRank.cpp.
References C4Id2Def(), C4PropList::Call(), DefaultRanks, FormatString(), GameMsgObject(), StdStrBuf::getData(), C4PropList::GetName(), C4RankSystem::GetRankName(), C4ObjectInfoCore::id, Info, LoadResStr(), C4Def::pRankNames, C4ObjectInfoCore::Promote(), PSF_Promotion, C4ObjectInfoCore::sRankName, and StartSoundEffect().
Referenced by C4Player::CheckCrewExPromotion(), and DoExperience().
Definition at line 126 of file C4ObjectPhysics.cpp.
References Abs(), C4PropList::Call(), ContactCheck(), Contained, Def, DIR_Left, DIR_Right, Fix0, fix_r, FormatString(), Game, GameMsgObjectError(), C4PropList::GetName(), C4PropList::GetPropertyInt(), GetR(), GetX(), GetY(), C4Game::iTick35, LoadResStr(), Mass, Mobile, C4Def::NoHorizontalMove, OCF, OCF_Grab, P_Touchable, PSF_Stuck, rdir, RotateAccel, SetDir(), StableRange, C4PropList::Status, xdir, and ydir.
| bool C4Object::PutAwayUnusedObject | ( | C4Object * | pToMakeRoomForObject | ) |
Definition at line 164 of file C4ObjectCommand.cpp.
References Action, AddCommand(), C4CMD_Drop, C4CMD_Exit, Contained, Contents, DFA_PUSH, C4AulFunc::Exec(), C4PropList::GetFunc(), C4ObjectList::GetLastObject(), C4Value::getObj(), GetProcedure(), ObjectComDrop(), ObjectComPut(), PSF_GetObject2Drop, and C4Action::Target.
Referenced by C4Command::GetTryEnter().
|
inherited |
Definition at line 399 of file C4PropList.cpp.
References C4Value::getPropList(), and C4Value::Set0().
Referenced by C4PropList::Denumerate().
| bool C4Object::RemoveGraphicsOverlay | ( | int32_t | iOverlayID | ) |
Definition at line 863 of file C4ObjectGraphics.cpp.
References C4GraphicsOverlay::GetID(), C4GraphicsOverlay::GetNext(), pGfxOverlay, and C4GraphicsOverlay::SetNext().
Referenced by ClearPointers().
|
staticinherited |
Definition at line 75 of file C4PropList.cpp.
References C4PropListNumbered::EnumerationIndex, C4Set< T >::GetSize(), and C4PropListNumbered::PropLists.
Referenced by C4Game::Clear().
|
overridevirtual |
Reimplemented from C4PropList.
Definition at line 1328 of file C4Object.cpp.
References C4PropList::GetPropertyInt(), C4StringTable::P, P_LAST, P_Plane, C4PropList::ResetProperty(), SetPlane(), and Strings.
Referenced by ChangeDef().
| void C4Object::Resort | ( | ) |
Definition at line 1121 of file C4Object.cpp.
References C4Game::fResortAnyObject, Game, and Unsorted.
Referenced by SetCategory(), and SetPlane().
| bool C4Object::SetAction | ( | C4PropList * | Act, |
| C4Object * | pTarget = nullptr, |
||
| C4Object * | pTarget2 = nullptr, |
||
| int32_t | iCalls = SAC_StartCall | SAC_AbortCall, |
||
| bool | fForce = false |
||
| ) |
Definition at line 173 of file C4ObjectAction.cpp.
References Action, C4Action::Animation, C4VPropList(), C4PropList::Call(), Con, C4Action::Data, Def, FullCon, C4String::GetCStr(), C4String::GetData(), C4PropList::GetName(), C4PropList::GetProperty(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4PropList::GetPropertyStr(), C4Value::getPropList(), C4Def::IncompleteActivity, itofix(), P_AbortCall, P_Action, P_Animation, P_EndCall, P_FlipDir, P_NoOtherAction, P_Procedure, P_Sound, P_StartCall, C4Action::Phase, C4Action::PhaseDelay, StdMeshInstance::PlayAnimation(), pMeshInstance, PSF_OnActionChanged, SAC_AbortCall, SAC_EndCall, SAC_StartCall, SetOCF(), C4PropList::SetProperty(), StartSoundEffect(), C4PropList::Status, StdMeshInstance::StopAnimation(), StopSoundEffect(), C4Action::Target, C4Action::Target2, C4Action::Time, UpdateActionFace(), and UpdateFlipDir().
Referenced by AssignRemoval(), ChangeDef(), DoCon(), ExecAction(), ObjectComCancelAttach(), and SetActionByName().
| bool C4Object::SetActionByName | ( | C4String * | ActName, |
| C4Object * | pTarget = nullptr, |
||
| C4Object * | pTarget2 = nullptr, |
||
| int32_t | iCalls = SAC_StartCall | SAC_AbortCall, |
||
| bool | fForce = false |
||
| ) |
Definition at line 306 of file C4ObjectAction.cpp.
References Action, C4PropList::GetProperty(), C4PropList::GetPropertyByS(), C4Value::getPropList(), C4StringTable::P, P_ActMap, P_Idle, SetAction(), and Strings.
Referenced by AssignDeath(), ExecAction(), C4Command::FlightControl(), ObjectActionDig(), ObjectActionDive(), ObjectActionFlat(), ObjectActionGetPunched(), ObjectActionHangle(), ObjectActionJump(), ObjectActionKneel(), ObjectActionPush(), ObjectActionScale(), ObjectActionThrow(), ObjectActionTumble(), ObjectActionWalk(), ObjectComStop(), SetActionByName(), and SetDir().
| bool C4Object::SetActionByName | ( | const char * | szActName, |
| C4Object * | pTarget = nullptr, |
||
| C4Object * | pTarget2 = nullptr, |
||
| int32_t | iCalls = SAC_StartCall | SAC_AbortCall, |
||
| bool | fForce = false |
||
| ) |
Definition at line 321 of file C4ObjectAction.cpp.
References C4RefCnt::DecRef(), C4RefCnt::IncRef(), C4StringTable::RegString(), SetActionByName(), and Strings.
|
inline |
| void C4Object::SetAudibilityAt | ( | C4TargetFacet & | cgo, |
| int32_t | iX, | ||
| int32_t | iY, | ||
| int32_t | player | ||
| ) |
Definition at line 63 of file C4ObjectVisibility.cpp.
References Audible, AudiblePan, AudiblePlayer, Clamp(), Distance(), GetDrawPosition(), C4Facet::Hgt, C4ScriptGuiWindowPropertyName::player, C4Facet::Wdt, C4Facet::X, C4Facet::Y, and C4TargetFacet::Zoom.
Referenced by Draw(), and DrawLine().
|
inline |
Definition at line 256 of file C4Object.h.
References Category, Resort(), and SetOCF().
| void C4Object::SetCommand | ( | int32_t | iCommand, |
| C4Object * | pTarget, | ||
| C4Value | iTx, | ||
| int32_t | iTy = 0, |
||
| C4Object * | pTarget2 = nullptr, |
||
| bool | fControl = false, |
||
| C4Value | iData = C4VNull, |
||
| int32_t | iRetries = 0, |
||
| C4String * | szText = nullptr |
||
| ) |
Definition at line 93 of file C4ObjectCommand.cpp.
References Action, AddCommand(), C4CMD_Mode_Base, C4D_VehicleControl_Inside, C4D_VehicleControl_Outside, C4PropList::Call(), ClearCommands(), CloseMenu(), CommandName(), Contained, Controller, Def, DFA_PUSH, GetProcedure(), PSF_ControlCommand, C4Action::Target, and C4Def::VehicleControl.
Referenced by C4Command::Activate(), C4Command::Enter(), C4Player::PlaceReadyVehic(), and SetCommand().
|
inline |
Definition at line 182 of file C4Object.h.
References C4VInt(), and SetCommand().
| void C4Object::SetDir | ( | int32_t | tdir | ) |
Definition at line 332 of file C4ObjectAction.cpp.
References Action, C4Action::Dir, C4Action::DrawDir, GetAction(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyStr(), P_Directions, P_FlipDir, P_TurnAction, SetActionByName(), and UpdateFlipDir().
Referenced by ChangeDef(), ContactAction(), C4Command::InitEvaluation(), ObjectActionFlat(), ObjectActionScale(), ObjectActionTumble(), Push(), and C4Command::Throw().
|
staticinherited |
Definition at line 69 of file C4PropList.cpp.
References C4PropListNumbered::EnumerationIndex.
Referenced by C4Game::CheckObjectEnumeration(), and C4GameObjects::PostLoad().
| bool C4Object::SetGraphics | ( | C4DefGraphics * | pNewGfx, |
| bool | fUpdateData | ||
| ) |
Definition at line 825 of file C4ObjectGraphics.cpp.
References pGraphics, and UpdateGraphics().
| bool C4Object::SetGraphics | ( | const char * | szGraphicsName = nullptr, |
| C4Def * | pSourceDef = nullptr |
||
| ) |
Definition at line 808 of file C4ObjectGraphics.cpp.
References Def, C4DefGraphics::Get(), C4Def::Graphics, pGraphics, C4PropList::Status, and UpdateGraphics().
Referenced by C4GraphicsOverlay::Draw().
| void C4Object::SetHalfVehicleSolidMask | ( | bool | set | ) |
Definition at line 278 of file C4ObjectPhysics.cpp.
References HalfVehicleSolidMask, pSolidMaskData, and C4SolidMask::SetHalfVehicle().
Referenced by UpdateSolidMask().
| bool C4Object::SetLightColor | ( | uint32_t | iValue | ) |
Definition at line 48 of file C4ObjectVisibility.cpp.
References lightColor, and UpdateLight().
| bool C4Object::SetLightRange | ( | int32_t | iToRange, |
| int32_t | iToFadeoutRange | ||
| ) |
Definition at line 37 of file C4ObjectVisibility.cpp.
References lightFadeoutRange, lightRange, and UpdateLight().
Referenced by AssignDeath(), C4Player::MakeCrewMember(), and C4Player::PlaceReadyCrew().
|
overridevirtual |
Reimplemented from C4PropList.
Definition at line 783 of file C4Object.cpp.
References Info, C4ObjectInfoCore::Name, and C4PropList::SetName().
Referenced by GrabInfo(), Init(), and C4Player::MakeCrewMember().
| void C4Object::SetOCF | ( | ) |
Definition at line 30 of file C4ObjectOCF.cpp.
References AddDbgRec(), Alive, C4D_Grab_Get, C4D_Grab_Put, C4PropListNumbered::CheckPropList(), C4Def::Collection, Con, Config, C4Def::Constructable, Contained, C4Def::CrewMember, C4ConfigGeneral::DebugRec, DEBUGREC_OCF, Def, C4Def::Entrance, C4Def::Exclusive, Fix0, fix_r, FullCon, GBackSemiSolid(), GBackSolid(), C4Config::General, GetAction(), C4PropList::GetName(), C4PropList::GetPropertyInt(), GetR(), GetSpeed(), GetX(), GetY(), C4Def::GrabPutGet, C4Rect::Hgt, HitSpeed1, HitSpeed2, HitSpeed3, HitSpeed4, C4Def::IncompleteActivity, InLiquid, LogF(), C4PropListNumbered::Number, OCF, OCF_Alive, OCF_Available, OCF_Carryable, OCF_Collection, OCF_Construct, OCF_Container, OCF_CrewMember, OCF_Entrance, OCF_Exclusive, OCF_FullCon, OCF_Grab, OCF_HitSpeed1, OCF_HitSpeed2, OCF_HitSpeed3, OCF_HitSpeed4, OCF_Inflammable, OCF_InFree, OCF_InLiquid, OCF_InSolid, OCF_Normal, OCF_NotContained, OCF_OnFire, OCF_Rotate, OnFire, P_Collectible, P_ContactIncinerate, P_ObjectDisabled, P_Touchable, RCT_OCF, C4Def::Rotateable, C4Def::RotatedEntrance, C4PropList::Status, and C4Rect::Wdt.
Referenced by AssignDeath(), AssignRemoval(), ChangeDef(), DoCon(), Enter(), Exit(), Init(), ObjectComDrop(), SetAction(), SetAlive(), SetCategory(), SetOnFire(), SyncClearance(), and UpdateOCF().
|
inlineoverridevirtual |
Reimplemented from C4PropList.
Definition at line 301 of file C4Object.h.
References OnFire, and SetOCF().
| bool C4Object::SetOwner | ( | int32_t | iOwner | ) |
Definition at line 1129 of file C4Object.cpp.
References C4PropList::Call(), Color, C4Player::ColorDw, Controller, C4PlayerList::Get(), GetGraphics(), NO_OWNER, Owner, Players, PSF_OnOwnerChanged, UpdateFace(), and ValidPlr().
| bool C4Object::SetPhase | ( | int32_t | iPhase | ) |
Definition at line 352 of file C4ObjectAction.cpp.
References Action, GetAction(), C4PropList::GetPropertyInt(), P_Length, C4Action::Phase, and C4Action::PhaseDelay.
|
inline |
Definition at line 178 of file C4Object.h.
References Plane, Resort(), and z.
Referenced by C4GameObjects::FixObjectOrder(), ResetProperty(), and SetPropertyByS().
|
inlineinherited |
Definition at line 124 of file C4PropList.h.
References C4StringTable::P, C4PropList::SetPropertyByS(), and Strings.
Referenced by C4Game::AllocateTranslatedString(), C4Effect::C4Effect(), ChangeDef(), Init(), C4DefScriptHost::Parse(), C4ScriptHost::Preparse(), SetAction(), C4PropList::SetName(), C4ScriptGuiWindow::ToC4Value(), C4ScriptHost::UnLink(), and C4MapScriptLayer::UpdateSurfaceSize().
Reimplemented from C4PropList.
Definition at line 1313 of file C4Object.cpp.
References C4Value::getInt(), C4StringTable::P, P_LAST, P_Plane, SetPlane(), C4PropList::SetPropertyByS(), and Strings.
| void C4Object::SetRotation | ( | int32_t | nr | ) |
Definition at line 312 of file C4ObjectPhysics.cpp.
References fix_r, itofix(), and UpdateFace().
| void C4Object::SetSolidMask | ( | int32_t | iX, |
| int32_t | iY, | ||
| int32_t | iWdt, | ||
| int32_t | iHgt, | ||
| int32_t | iTX, | ||
| int32_t | iTY | ||
| ) |
Definition at line 261 of file C4ObjectPhysics.cpp.
References CheckSolidMaskRect(), pSolidMaskData, C4TargetRect::Set(), SolidMask, and UpdateSolidMask().
|
staticinherited |
Definition at line 81 of file C4PropList.cpp.
References C4PropListNumbered::ClearNumber(), C4Set< T >::First(), C4Set< T >::GetSize(), C4Set< T >::Next(), C4PropListNumbered::Number, C4PropListNumbered::PropLists, and C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::CompileFunc().
| bool C4Object::ShiftContents | ( | bool | fShiftBack, |
| bool | fDoCalls | ||
| ) |
Definition at line 182 of file C4ObjectContents.cpp.
References C4ObjectList::begin(), C4ObjectList::ReverseView::begin(), CanConcatPictureWith(), Contents, DirectComContents(), C4ObjectList::GetObject(), and C4ObjectList::reverse().
|
protected |
Definition at line 184 of file C4Movement.cpp.
References C4D_Border_Layer, C4D_Border_Sides, CNAT_Left, CNAT_Right, DFA_ATTACH, GetAction(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), C4Landscape::GetWidth(), GetX(), C4Shape::GetX(), itofix(), Landscape, Layer, P_BorderBound, P_Procedure, Shape, StopAndContact(), C4Rect::Wdt, and xdir.
Referenced by BoundsCheck(), and DoMovement().
| void C4Object::Stabilize | ( | ) |
Definition at line 616 of file C4Movement.cpp.
References ContactCheck(), Def, Fix0, fix_r, GetX(), GetY(), itofix(), C4Def::NoStabilize, Shape, StableRange, UpdateFace(), and UpdateShape().
Referenced by ExecMovement().
| bool C4Object::StatusActivate | ( | ) |
Definition at line 1202 of file C4Object.cpp.
References C4GameObjects::Add(), C4OS_NORMAL, C4PropList::Call(), C4GameObjects::InactiveObjects, Objects, PSF_OnSynchronized, C4ObjectList::Remove(), C4PropList::Status, UpdateFace(), UpdateGraphics(), UpdateLight(), and UpdatePos().
| bool C4Object::StatusDeactivate | ( | bool | fClearPointers | ) |
Definition at line 1218 of file C4Object.cpp.
References C4ObjectList::Add(), C4OS_INACTIVE, ClearContentsAndContained(), ClearParticleLists(), C4Game::ClearPointers(), C4TransferZones::ClearPointers(), Game, C4Landscape::GetFoW(), C4Landscape::HasFoW(), C4GameObjects::InactiveObjects, Landscape, Objects, C4GameObjects::Remove(), C4FoW::Remove(), C4PropList::Status, C4ObjectList::stMain, and C4Game::TransferZones.
Definition at line 151 of file C4Movement.cpp.
References Contact().
Referenced by SideBounds(), and VerticalBounds().
| void C4Object::SyncClearance | ( | ) |
Definition at line 1102 of file C4Object.cpp.
References Action, C4D_StaticBack, Category, CloseMenu(), CNAT_None, InMat, MaterialContents, MNone, SetOCF(), C4Action::t_attach, t_contact, xdir, and ydir.
|
inlineinherited |
Definition at line 133 of file C4PropList.h.
Referenced by C4PropList::ThawRecursively(), and C4ScriptHost::UnlinkOwnedFunctions().
|
inherited |
Definition at line 259 of file C4PropList.cpp.
References C4PropList::GetPropertyByS(), C4AulScriptEngine::GetPropList(), C4Value::getPropList(), C4PropList::GetUnsortedProperties(), C4PropList::IsFrozen(), ScriptEngine, C4PropList::Thaw(), and C4PropList::ThawRecursively().
Referenced by C4PropList::ThawRecursively(), and C4AulScriptEngine::UnLink().
|
inherited |
Definition at line 515 of file C4PropList.cpp.
References StdStrBuf::Append(), C4PropList::begin(), C4PropList::C4Value, C4PropList::end(), C4Set< T >::GetSize(), C4Set< T >::GetSortedListOfElementPointers(), C4PropList::IsStatic(), and C4Value::ToJSON().
Referenced by C4Value::ToJSON().
|
inline |
| void C4Object::UnSelect | ( | ) |
Definition at line 1196 of file C4Object.cpp.
References C4PropList::Call(), and PSF_CrewSelection.
Referenced by C4Player::SetCursor().
|
staticinherited |
Definition at line 99 of file C4PropList.cpp.
References C4PropListNumbered::ShelvedPropLists.
Referenced by C4Game::LoadScenarioSection(), and C4GameObjects::PostLoad().
| void C4Object::UpdateActionFace | ( | ) |
Definition at line 287 of file C4ObjectAction.cpp.
References Action, Color, C4Facet::Default(), C4Action::Facet, C4Action::FacetX, C4Action::FacetY, GetAction(), GetGraphics(), C4PropList::GetPropertyInt(), P_Hgt, P_OffX, P_OffY, P_Wdt, P_X, P_Y, and C4Facet::Set().
Referenced by SetAction(), and UpdateFace().
| void C4Object::UpdateFace | ( | bool | bUpdateShape, |
| bool | fTemp = false |
||
| ) |
Definition at line 103 of file C4ObjectAction.cpp.
References Color, Con, Def, C4Facet::Default(), Fix0, fix_r, FullCon, GetGraphics(), C4Def::GrowthType, C4Rect::Hgt, C4Def::Rotateable, C4Facet::Set(), C4Def::TopFace, TopFace, UpdateActionFace(), UpdatePos(), UpdateShape(), UpdateSolidMask(), C4Rect::Wdt, C4Rect::x, and C4Rect::y.
Referenced by ChangeDef(), DoCon(), DoMovement(), Enter(), Exit(), Init(), SetOwner(), SetRotation(), Stabilize(), StatusActivate(), C4ObjectList::UpdateFaces(), and UpdateGraphics().
| void C4Object::UpdateFlipDir | ( | ) |
Definition at line 129 of file C4ObjectAction.cpp.
References Action, C4Action::Dir, C4Action::DrawDir, GetAction(), C4PropList::GetPropertyInt(), C4DrawTransform::IsIdentity(), P_FlipDir, pDrawTransform, and C4DrawTransform::SetFlipDir().
Referenced by SetAction(), and SetDir().
| void C4Object::UpdateGraphics | ( | bool | fGraphicsChanged, |
| bool | fTemp = false |
||
| ) |
Definition at line 48 of file C4ObjectGraphics.cpp.
References Color, ColorMod, Con, Def, StdMeshInstance::DetachMesh(), FullCon, StdMeshInstance::GetAttachParent(), StdMeshInstance::GetMesh(), C4Def::GrowthType, C4DefGraphics::IsColorByOwner(), StdMeshInstance::AttachedMesh::Number, StdMeshInstance::AttachedMesh::Parent, pGraphics, pMeshInstance, StdMeshInstance::SetFaceOrderingForClrModulation(), C4DefGraphics::Type, C4DefGraphics::TYPE_Mesh, and UpdateFace().
Referenced by ChangeDef(), Init(), SetGraphics(), StatusActivate(), and C4ObjectList::UpdateGraphics().
| void C4Object::UpdateInLiquid | ( | ) |
Definition at line 535 of file C4ObjectPhysics.cpp.
References InLiquid, IsInLiquidCheck(), Mass, OCF, and OCF_HitSpeed2.
| void C4Object::UpdateLight | ( | ) |
Definition at line 58 of file C4ObjectVisibility.cpp.
References C4FoW::Add(), C4Landscape::GetFoW(), C4Landscape::HasFoW(), and Landscape.
Referenced by AssignLightRange(), SetLightColor(), SetLightRange(), and StatusActivate().
| void C4Object::UpdateMass | ( | ) |
Definition at line 47 of file C4ObjectPhysics.cpp.
References Con, Contained, Contents, Def, FullCon, C4Def::Mass, Mass, C4ObjectList::Mass, C4ObjectList::MassCount(), C4Def::NoMassFromContents, OwnMass, and UpdateMass().
Referenced by AssignRemoval(), ChangeDef(), DoCon(), Enter(), Exit(), and UpdateMass().
| void C4Object::UpdateOCF | ( | ) |
Definition at line 121 of file C4ObjectOCF.cpp.
References AddDbgRec(), C4D_Grab_Get, C4D_Grab_Put, C4PropListNumbered::CheckPropList(), C4Def::Collection, Con, Config, C4Def::Constructable, Contained, C4ConfigGeneral::DebugRec, DEBUGREC_OCF, DEBUGREC_OFF, DEBUGREC_ON, Def, C4Def::Entrance, Fix0, fix_r, FullCon, GBackSemiSolid(), GBackSolid(), C4Config::General, GetAction(), C4PropList::GetName(), C4PropList::GetPropertyInt(), GetR(), GetSpeed(), GetX(), GetY(), C4Def::GrabPutGet, C4Rect::Hgt, HitSpeed1, HitSpeed2, HitSpeed3, HitSpeed4, C4Def::IncompleteActivity, InLiquid, LogF(), OCF, OCF_Alive, OCF_Available, OCF_Carryable, OCF_Collection, OCF_Construct, OCF_Container, OCF_CrewMember, OCF_Entrance, OCF_Exclusive, OCF_FullCon, OCF_Grab, OCF_HitSpeed1, OCF_HitSpeed2, OCF_HitSpeed3, OCF_HitSpeed4, OCF_Inflammable, OCF_InFree, OCF_InLiquid, OCF_InSolid, OCF_Normal, OCF_NotContained, OCF_OnFire, OCF_Rotate, OnFire, P_Collectible, P_ContactIncinerate, P_ObjectDisabled, P_Touchable, RCT_OCF, C4Def::RotatedEntrance, SetOCF(), C4PropList::Status, and C4Rect::Wdt.
Referenced by Execute().
| void C4Object::UpdatePos | ( | ) |
Definition at line 37 of file C4ObjectPhysics.cpp.
References C4OS_NORMAL, Initializing, Objects, C4PropList::Status, and C4GameObjects::UpdatePos().
Referenced by CopyMotion(), DoMovement(), ForcePosition(), MovePosition(), StatusActivate(), UpdateFace(), and UpdateShape().
| void C4Object::UpdateScriptPointers | ( | ) |
Definition at line 1272 of file C4Object.cpp.
References pEffects, and C4Effect::ReAssignAllCallbackFunctions().
Referenced by C4ObjectList::UpdateScriptPointers().
| void C4Object::UpdateShape | ( | bool | bUpdateVertices = true | ) |
Definition at line 327 of file C4Object.cpp.
References Con, C4Shape::CopyFrom(), Def, Fix0, fix_r, fOwnVertices, FullCon, C4Def::GrowthType, C4Shape::Jolt(), C4Def::Line, C4Shape::Rotate(), C4Def::Rotateable, C4Def::Shape, Shape, C4Shape::Stretch(), and UpdatePos().
Referenced by DoCon(), DoMovement(), Stabilize(), and UpdateFace().
| void C4Object::UpdateSolidMask | ( | bool | fRestoreAttachedObjects | ) |
Definition at line 343 of file C4ObjectPhysics.cpp.
References Con, Contained, FullCon, HalfVehicleSolidMask, pSolidMaskData, C4SolidMask::Put(), C4SolidMask::Remove(), SetHalfVehicleSolidMask(), SolidMask, C4PropList::Status, and C4Rect::Wdt.
Referenced by DoMovement(), Enter(), ForcePosition(), MovePosition(), SetSolidMask(), and UpdateFace().
| void C4Object::UpdatLastEnergyLossCause | ( | int32_t | iNewCausePlr | ) |
Definition at line 611 of file C4Object.cpp.
References Controller, and LastEnergyLossCausePlayer.
Referenced by DoEnergy().
| bool C4Object::ValidateOwner | ( | ) |
Definition at line 1035 of file C4Object.cpp.
References Controller, NO_OWNER, Owner, and ValidPlr().
Referenced by C4ObjectList::ValidateOwners().
|
protected |
Definition at line 217 of file C4Movement.cpp.
References C4D_Border_Bottom, C4D_Border_Layer, C4D_Border_Top, CNAT_Bottom, CNAT_Top, DFA_ATTACH, GetAction(), C4Landscape::GetHeight(), C4PropList::GetPropertyInt(), C4PropList::GetPropertyP(), GetY(), C4Shape::GetY(), C4Rect::Hgt, itofix(), Landscape, Layer, P_BorderBound, P_Procedure, Shape, StopAndContact(), and ydir.
Referenced by BoundsCheck(), and DoMovement().
|
inline |
Definition at line 283 of file C4Object.h.
References Shape, and C4Rect::Wdt.
Referenced by C4LArea::Set().
| C4Action C4Object::Action |
Definition at line 145 of file C4Object.h.
Referenced by C4FindObjectActionTarget::Check(), ClearPointers(), CompileFunc(), ContactAction(), Default(), Denumerate(), C4Command::Dig(), DoMovement(), Draw(), DrawActionFace(), DrawFaceImpl(), DrawTopFace(), C4Command::Drop(), C4Command::Enter(), ExecAction(), ExecMovement(), C4ValueProviderAction::Execute(), C4Command::Fail(), Fling(), C4Command::Follow(), C4Command::Get(), C4Command::Grab(), C4Command::Jump(), C4Command::MoveTo(), NoAttachAction(), ObjectActionDig(), ObjectActionDive(), ObjectActionJump(), ObjectActionStand(), ObjectActionThrow(), ObjectComDrop(), ObjectComJump(), ObjectComPunch(), ObjectComUnGrab(), C4Command::PushTo(), C4Command::Put(), PutAwayUnusedObject(), SetAction(), SetActionByName(), SetCommand(), SetDir(), SetPhase(), SyncClearance(), C4Command::Throw(), C4Command::UnGrab(), UpdateActionFace(), and UpdateFlipDir().
|
protected |
Definition at line 174 of file C4Object.h.
Referenced by AssignDeath(), AssignInfo(), CompileFunc(), Default(), DoDamage(), DoEnergy(), DoMovement(), Enter(), ExecLife(), GetAlive(), GrabInfo(), Init(), SetAlive(), and SetOCF().
| C4LArea C4Object::Area |
Definition at line 112 of file C4Object.h.
Referenced by C4LSectors::Add(), C4GameObjects::CrossCheck(), C4LSectors::Remove(), and C4LSectors::Update().
| int32_t C4Object::Audible |
Definition at line 119 of file C4Object.h.
Referenced by Default(), C4SoundInstance::Execute(), Init(), and SetAudibilityAt().
| int32_t C4Object::AudiblePan |
Definition at line 119 of file C4Object.h.
Referenced by Default(), C4SoundInstance::Execute(), Init(), and SetAudibilityAt().
| int32_t C4Object::AudiblePlayer |
Definition at line 119 of file C4Object.h.
Referenced by Default(), C4SoundInstance::Execute(), Init(), and SetAudibilityAt().
| class C4ParticleList * C4Object::BackParticles |
Definition at line 157 of file C4Object.h.
Referenced by C4Object(), ClearParticleLists(), C4ParticleSystem::Create(), and Draw().
| uint32_t C4Object::BlitMode |
Definition at line 161 of file C4Object.h.
Referenced by CanConcatPictureWith(), ChangeDef(), CompileFunc(), Default(), C4MouseControl::Draw(), Draw(), C4EditCursor::DrawObject(), Init(), Picture2Facet(), and PrepareDrawing().
| int32_t C4Object::Breath |
Definition at line 116 of file C4Object.h.
Referenced by CompileFunc(), Default(), DoBreath(), ExecLife(), and Init().
| int32_t C4Object::Category |
Definition at line 111 of file C4Object.h.
Referenced by C4GameObjects::Add(), C4ObjectList::Add(), C4FindObjectCategory::Check(), CompileFunc(), Default(), C4MouseControl::DragNone(), C4MouseControl::Draw(), C4ObjectList::Draw(), Draw(), C4GameMessageList::Draw(), C4ObjectList::DrawIfCategory(), ExecMovement(), GetDrawPosition(), GetParallaxity(), C4GameObjects::GRBroadcast(), Init(), IsMoveableBySolidMask(), C4GameObjects::PostLoad(), SetCategory(), SyncClearance(), C4MouseControl::UpdateCursorTarget(), C4MouseControl::UpdateFogOfWar(), and C4MouseControl::UpdateSingleSelection().
| uint32_t C4Object::Color |
Definition at line 118 of file C4Object.h.
Referenced by ActivateMenu(), CanConcatPictureWith(), ChangeDef(), CompileFunc(), Default(), C4DefGraphics::Draw(), C4GraphicsOverlay::Draw(), Draw(), DrawFaceImpl(), DrawPicture(), C4GraphicsOverlay::DrawPicture(), DrawTopFace(), Init(), Picture2Facet(), SetOwner(), UpdateActionFace(), UpdateFace(), and UpdateGraphics().
| uint32_t C4Object::ColorMod |
Definition at line 160 of file C4Object.h.
Referenced by CanConcatPictureWith(), CompileFunc(), Default(), C4MouseControl::Draw(), Draw(), C4EditCursor::DrawObject(), Init(), Picture2Facet(), PrepareDrawing(), and UpdateGraphics().
| C4Command* C4Object::Command |
Definition at line 165 of file C4Object.h.
Referenced by C4Command::Activate(), AddCommand(), Clear(), ClearCommand(), ClearCommands(), ClearPointers(), CompileFunc(), Default(), Denumerate(), Draw(), ExecuteCommand(), FindCommand(), GrabLost(), ObjectComStopDig(), and ObjectAddWaypoint::operator()().
|
protected |
Definition at line 172 of file C4Object.h.
Referenced by CompileFunc(), ContactAction(), Default(), DoCon(), Draw(), DrawActionFace(), DrawFace(), DrawTopFace(), GetCon(), GetValue(), Init(), IsInLiquidCheck(), SetAction(), SetOCF(), UpdateFace(), UpdateGraphics(), UpdateMass(), UpdateOCF(), UpdateShape(), and UpdateSolidMask().
| C4ObjectPtr C4Object::Contained |
Definition at line 142 of file C4Object.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), ActivateMenu(), AssignRemoval(), At(), C4Command::Attack(), ChangeDef(), C4FindObjectContainer::Check(), C4FindObjectAnyContainer::Check(), ClearContentsAndContained(), ClearPointers(), Collect(), CompileFunc(), C4GameObjects::CrossCheck(), Default(), Denumerate(), C4Command::Dig(), C4Landscape::P::DigMaterial2Objects(), DirectComContents(), DoCon(), Draw(), C4Game::DrawCrewOverheadText(), DrawTopFace(), C4Command::Drop(), C4Command::Enter(), Enter(), ExecLife(), ExecMovement(), C4Command::Exit(), Exit(), C4Command::Follow(), C4Command::Get(), C4Command::GetTryEnter(), C4Command::Grab(), IsMoveableBySolidMask(), Lift(), C4Command::MoveTo(), ObjectComPut(), ObjectComPutTake(), ObjectComTake2(), C4Landscape::P::PostFreeShape(), C4GameObjects::PostLoad(), Push(), C4Command::PushTo(), C4Command::Put(), C4SolidMask::Put(), PutAwayUnusedObject(), SetCommand(), SetOCF(), C4Command::Throw(), UpdateMass(), UpdateOCF(), and UpdateSolidMask().
| C4NotifyingObjectList C4Object::Contents |
Definition at line 151 of file C4Object.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), AddObjectAndContentsToArray(), AssignDeath(), AssignRemoval(), C4Command::Attack(), ClearContentsAndContained(), ClearPointers(), CompileFunc(), Default(), Denumerate(), DirectComContents(), DoCon(), C4EditCursor::DoContextMenu(), C4ObjectMenu::DoRefillInternal(), C4Command::Drop(), Enter(), C4ObjectMenu::Execute(), Exit(), C4Command::Get(), GetDataString(), C4EditCursor::GrabContents(), GrabContents(), ObjectActionThrow(), ObjectComDrop(), ObjectComPut(), ObjectComPutTake(), ObjectComThrow(), C4GameObjects::PostLoad(), C4Command::Put(), PutAwayUnusedObject(), ShiftContents(), C4Command::Throw(), and UpdateMass().
| int32_t C4Object::Controller |
Definition at line 109 of file C4Object.h.
Referenced by C4Command::Activate(), AssignController(), C4FindObjectController::Check(), CompileFunc(), C4Game::CreateObjectConstruction(), Default(), C4Landscape::P::DigMaterial2Objects(), C4Command::Enter(), Enter(), C4Command::Exit(), GameMsgObjectError(), C4ObjectMenu::GetControllingPlayer(), GetValidOwner(), Init(), ObjectComPunch(), SetCommand(), SetOwner(), UpdatLastEnergyLossCause(), and ValidateOwner().
| bool C4Object::CrewDisabled |
Definition at line 162 of file C4Object.h.
Referenced by C4Player::AdjustCursorCommand(), CompileFunc(), Default(), DoSelect(), C4Player::GetSelectedCrewCount(), and C4Player::SetCursor().
| int32_t C4Object::Damage |
Definition at line 114 of file C4Object.h.
Referenced by CompileFunc(), Default(), and DoDamage().
| C4Def* C4Object::Def |
Definition at line 141 of file C4Object.h.
Referenced by C4Command::Activate(), ActivateMenu(), C4ObjectList::Add(), AdjustWalkRotation(), AssignRemoval(), At(), C4Command::Attack(), CanConcatPictureWith(), ChangeDef(), CheckSolidMaskRect(), CompileFunc(), ContactAction(), C4GameObjects::CrossCheck(), Default(), C4Command::Dig(), DoCon(), DoMovement(), C4ObjectMenu::DoRefillInternal(), C4MouseControl::Draw(), Draw(), C4GameMessage::Draw(), DrawActionFace(), C4Game::DrawCrewOverheadText(), DrawFace(), DrawPicture(), C4GraphicsOverlay::DrawRankSymbol(), DrawTopFace(), C4Command::Drop(), C4Command::Enter(), Enter(), ExecAction(), ExecLife(), ExecMovement(), C4Command::Exit(), C4Command::Fail(), C4ObjectList::Find(), C4ObjectList::FindOther(), C4Command::FlightControl(), C4Command::Follow(), C4Command::Get(), GetArea(), GetDataString(), C4SolidMask::DensityProvider::GetDensity(), GetEntranceArea(), C4ObjectList::GetListID(), GetMomentum(), GetOCFForPos(), GetValue(), C4EditCursor::HasTransformMarker(), Init(), IsInLiquidCheck(), IsPlayerObject(), C4Command::JumpControl(), Lift(), C4Player::MakeCrewMember(), MenuCommand(), C4EditCursor::Move(), C4Command::MoveTo(), ObjectComPut(), ObjectComPutTake(), C4ObjectList::ObjectCount(), Picture2Facet(), C4Player::PlaceReadyBase(), Push(), C4Command::Put(), C4SolidMask::Put(), SetAction(), SetCommand(), SetGraphics(), SetOCF(), Stabilize(), C4Command::Throw(), UpdateFace(), UpdateGraphics(), UpdateMass(), UpdateOCF(), and UpdateShape().
| int32_t C4Object::Energy |
Definition at line 115 of file C4Object.h.
Referenced by CompileFunc(), Default(), DoEnergy(), and Init().
| bool C4Object::EntranceStatus |
Definition at line 130 of file C4Object.h.
Referenced by CompileFunc(), Default(), C4Command::Enter(), and C4Command::Exit().
|
staticprotectedinherited |
Definition at line 243 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4Game::CompileFunc(), C4PropListNumbered::GetEnumerationIndex(), C4PropListNumbered::ResetEnumerationIndex(), and C4PropListNumbered::SetEnumerationIndex().
| C4Real C4Object::fix_r |
Definition at line 123 of file C4Object.h.
Referenced by ChangeDef(), CompileFunc(), Default(), DoMovement(), Draw(), DrawActionFace(), DrawFace(), DrawFaceImpl(), DrawTopFace(), ExecMovement(), Execute(), C4ValueProviderR::Execute(), C4ValueProviderCosR::Execute(), C4ValueProviderSinR::Execute(), Exit(), GetFixedR(), GetR(), Init(), Push(), SetOCF(), SetRotation(), Stabilize(), UpdateFace(), UpdateOCF(), and UpdateShape().
| C4Real C4Object::fix_x |
Definition at line 123 of file C4Object.h.
Referenced by CompileFunc(), ContactAction(), CopyMotion(), Default(), DoMotion(), DoMovement(), Execute(), Exit(), ForcePosition(), C4ControlSyncCheck::GetAllCrewPosX(), GetDrawPosition(), GetFixedX(), GetViewPosPar(), GetX(), Init(), MovePosition(), C4Command::MoveTo(), ObjectComJump(), and C4FoWLight::Update().
| C4Real C4Object::fix_y |
Definition at line 123 of file C4Object.h.
Referenced by CompileFunc(), ContactAction(), CopyMotion(), Default(), DoCon(), DoMotion(), DoMovement(), Draw(), Execute(), Exit(), ForcePosition(), GetDrawPosition(), GetFixedY(), GetViewPosPar(), GetY(), Init(), MovePosition(), C4Command::MoveTo(), ObjectComJump(), and C4FoWLight::Update().
| bool C4Object::fOwnVertices |
Definition at line 147 of file C4Object.h.
Referenced by CompileFunc(), Default(), and UpdateShape().
| class C4ParticleList* C4Object::FrontParticles |
Definition at line 157 of file C4Object.h.
Referenced by C4Object(), ClearParticleLists(), C4ParticleSystem::Create(), and Draw().
| bool C4Object::HalfVehicleSolidMask |
Definition at line 149 of file C4Object.h.
Referenced by ChangeDef(), CompileFunc(), Default(), SetHalfVehicleSolidMask(), and UpdateSolidMask().
| C4ID C4Object::id |
Definition at line 106 of file C4Object.h.
Referenced by C4ObjectList::Add(), CanConcatPictureWith(), C4Game::CheckObjectEnumeration(), C4Player::MakeCrewMember(), PropertyDlgProc(), C4LSectors::Remove(), and C4ObjectList::Sort().
| int32_t C4Object::iLastAttachMovementFrame |
Definition at line 125 of file C4Object.h.
Referenced by CompileFunc(), Default(), and C4SolidMask::Put().
| C4ObjectInfo* C4Object::Info |
Definition at line 143 of file C4Object.h.
Referenced by AssignDeath(), AssignInfo(), AssignRemoval(), C4Player::CheckCrewExPromotion(), ClearInfo(), CompileFunc(), C4Player::CountControl(), Default(), DoExperience(), C4Game::DrawCrewOverheadText(), C4GraphicsOverlay::DrawRankSymbol(), ExecLife(), C4Command::Finish(), C4Player::GetHiExpActiveCrew(), C4Player::GetHiRankActiveCrew(), GrabInfo(), Init(), C4Player::MakeCrewMember(), Promote(), SetName(), and C4Player::SetObjectCrewStatus().
| bool C4Object::Initializing |
Definition at line 128 of file C4Object.h.
Referenced by Default(), Init(), and UpdatePos().
| bool C4Object::InLiquid |
Definition at line 129 of file C4Object.h.
Referenced by CompileFunc(), Default(), DoMovement(), ExecAction(), Exit(), SetOCF(), UpdateInLiquid(), and UpdateOCF().
| int32_t C4Object::InMat |
Definition at line 117 of file C4Object.h.
Referenced by Default(), ExecLife(), and SyncClearance().
| int32_t C4Object::LastEnergyLossCausePlayer |
Definition at line 110 of file C4Object.h.
Referenced by AssignDeath(), CompileFunc(), Default(), Init(), and UpdatLastEnergyLossCause().
| C4ObjectPtr C4Object::Layer |
Definition at line 134 of file C4Object.h.
Referenced by C4FindObjectLayer::Check(), ClearPointers(), CompileFunc(), CreateCriterionsFromPars(), C4GameObjects::CrossCheck(), Default(), Denumerate(), Init(), IsVisible(), C4Landscape::P::PrepareFreeShape(), SideBounds(), and VerticalBounds().
| uint32_t C4Object::lightColor |
Definition at line 122 of file C4Object.h.
Referenced by C4FoW::Add(), CompileFunc(), Default(), GetLightColor(), and SetLightColor().
| int32_t C4Object::lightFadeoutRange |
Definition at line 121 of file C4Object.h.
Referenced by C4FoW::Add(), AssignLightRange(), CompileFunc(), Default(), and SetLightRange().
| int32_t C4Object::lightRange |
Definition at line 120 of file C4Object.h.
Referenced by C4FoW::Add(), AssignLightRange(), CompileFunc(), Default(), C4Player::MakeCrewMember(), and SetLightRange().
| uint32_t C4Object::Marker |
Definition at line 133 of file C4Object.h.
Referenced by Default().
| int32_t C4Object::Mass |
Definition at line 113 of file C4Object.h.
Referenced by C4ObjectList::Add(), C4SortObjectMass::CompareGetValue(), CompileFunc(), C4GameObjects::CrossCheck(), Default(), DoMovement(), Init(), Lift(), C4ObjectList::MassCount(), Push(), C4ObjectList::Remove(), UpdateInLiquid(), and UpdateMass().
| C4MaterialList* C4Object::MaterialContents |
Definition at line 152 of file C4Object.h.
Referenced by Clear(), Default(), and SyncClearance().
| class C4ObjectMenu* C4Object::Menu |
Definition at line 138 of file C4Object.h.
Referenced by ActivateMenu(), Clear(), ClearPointers(), CloseMenu(), Default(), DirectComContents(), Enter(), and Execute().
| bool C4Object::Mobile |
Definition at line 126 of file C4Object.h.
Referenced by CompileFunc(), Default(), ExecAction(), ExecMovement(), Exit(), Fling(), Init(), Lift(), ObjectActionDive(), ObjectActionJump(), and Push().
| StdCopyStrBuf C4Object::nInfo |
Definition at line 167 of file C4Object.h.
Referenced by AssignInfo(), CompileFunc(), Default(), and C4Player::MakeCrewMember().
|
inherited |
Definition at line 221 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4ControlPlayerAction::ActivateGoal(), AssignRemoval(), C4PropertyPath::C4PropertyPath(), C4Game::CheckObjectEnumeration(), C4PropListNumbered::ClearNumber(), C4Effect::CompileFunc(), C4Value::CompileFunc(), C4ObjectList::CompileFunc(), C4PropListNumbered::CompileFunc(), C4LArea::DebugRec(), C4AulExec::DirectExec(), C4EditCursor::DoContextMenu(), C4EditCursor::DoContextObjCommand(), C4ObjectMenu::DoRefillInternal(), C4ControlPlayerMouse::DragDrop(), C4EditCursor::EMMoveObject(), Execute(), C4GameObjects::FixObjectOrder(), GetInfoString(), C4ControlPlayerMouse::Hover(), C4ChatInputDialog::OnChatCancel(), C4ChatInputDialog::OnChatInput(), C4GameObjects::PostLoad(), C4LSectors::Remove(), SetOCF(), C4PropListNumbered::ShelveNumberedPropLists(), C4ObjectList::Write(), and C4PropListNumbered::~C4PropListNumbered().
| uint32_t C4Object::OCF |
Definition at line 132 of file C4Object.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), ActivateEntrance(), At(), C4Command::Attack(), C4FindObjectOCF::Check(), Collect(), CompileFunc(), ContactAction(), C4GameObjects::CrossCheck(), Default(), DoMovement(), C4ObjectMenu::DoRefillInternal(), C4Game::DrawCrewOverheadText(), DrawTopFace(), ExecAction(), C4Command::Exit(), C4Command::Fail(), C4ObjectList::Find(), C4Command::FlightControl(), C4Command::Get(), GetEntranceArea(), GetOCFForPos(), C4Command::JumpControl(), C4Command::MoveTo(), ObjectComPut(), Push(), C4Command::Put(), SetOCF(), UpdateInLiquid(), and UpdateOCF().
| int32_t C4Object::old_x |
Definition at line 112 of file C4Object.h.
Referenced by C4LSectors::Add(), C4LSectors::Remove(), and C4LSectors::Update().
| int32_t C4Object::old_y |
Definition at line 112 of file C4Object.h.
Referenced by C4LSectors::Add(), C4LSectors::Remove(), and C4LSectors::Update().
|
protected |
Definition at line 171 of file C4Object.h.
Referenced by CompileFunc(), Default(), GetOnFire(), SetOCF(), SetOnFire(), and UpdateOCF().
| int32_t C4Object::Owner |
Definition at line 108 of file C4Object.h.
Referenced by AssignDeath(), AssignInfo(), AssignRemoval(), ChangeDef(), C4FindObjectOwner::Check(), CompileFunc(), CreateContents(), Default(), C4ObjectList::Find(), C4ObjectList::FindOther(), GetDataString(), GrabInfo(), Init(), IsPlayerObject(), IsUserPlayerObject(), IsVisible(), C4FoWLight::IsVisibleForPlayer(), C4EditCursor::PerformDuplicationLegacy(), SetOwner(), and ValidateOwner().
| int32_t C4Object::OwnMass |
Definition at line 113 of file C4Object.h.
Referenced by CompileFunc(), Default(), and UpdateMass().
| C4DrawTransform* C4Object::pDrawTransform |
Definition at line 135 of file C4Object.h.
Referenced by Clear(), CompileFunc(), Default(), C4GraphicsOverlay::Draw(), DrawActionFace(), DrawFace(), DrawTopFace(), and UpdateFlipDir().
| C4Effect* C4Object::pEffects |
Definition at line 155 of file C4Object.h.
Referenced by AssignDeath(), AssignRemoval(), C4PropertyPath::C4PropertyPath(), Clear(), ClearPointers(), CompileFunc(), Default(), Denumerate(), DoDamage(), DoEnergy(), Execute(), FnGetEffectsFor(), GetDataString(), GetInfoString(), and UpdateScriptPointers().
| class C4GraphicsOverlay* C4Object::pGfxOverlay |
Definition at line 169 of file C4Object.h.
Referenced by CanConcatPictureWith(), Clear(), ClearPointers(), CompileFunc(), Default(), Denumerate(), C4DefGraphics::Draw(), Draw(), GetGraphicsOverlay(), HasGraphicsOverlayRecursion(), Picture2Facet(), and RemoveGraphicsOverlay().
| C4DefGraphics* C4Object::pGraphics |
Definition at line 153 of file C4Object.h.
Referenced by CanConcatPictureWith(), ChangeDef(), CompileFunc(), Default(), GetGraphics(), Init(), SetGraphics(), and UpdateGraphics().
| C4Rect C4Object::PictureRect |
Definition at line 150 of file C4Object.h.
Referenced by CanConcatPictureWith(), CompileFunc(), Default(), C4DefGraphics::Draw(), and Picture2Facet().
|
protected |
Definition at line 173 of file C4Object.h.
Referenced by CompileFunc(), GetPlane(), GetPropertyByS(), Init(), and SetPlane().
| StdMeshInstance* C4Object::pMeshInstance |
Definition at line 154 of file C4Object.h.
Referenced by Clear(), ClearPointers(), CompileFunc(), Default(), Denumerate(), C4MeshDenumerator::DenumeratePointers(), DoCon(), C4DefGraphics::Draw(), DrawFaceImpl(), C4EditCursor::DrawObject(), Execute(), Init(), SetAction(), and UpdateGraphics().
|
staticprotectedinherited |
Definition at line 241 of file C4PropList.h.
Referenced by C4PropListNumbered::AcquireNumber(), C4PropListNumbered::CheckPropList(), C4PropListNumbered::ClearNumber(), C4PropListNumbered::ClearNumberedPropLists(), C4PropListNumbered::CompileFunc(), C4PropListNumbered::GetByNumber(), C4PropListNumbered::ResetEnumerationIndex(), C4PropListNumbered::ShelveNumberedPropLists(), and C4PropListNumbered::~C4PropListNumbered().
|
protected |
Definition at line 175 of file C4Object.h.
Referenced by AssignRemoval(), ChangeDef(), Clear(), Default(), DrawSolidMask(), SetHalfVehicleSolidMask(), SetSolidMask(), and UpdateSolidMask().
| C4Real C4Object::rdir |
Definition at line 124 of file C4Object.h.
Referenced by AdjustWalkRotation(), ChangeDef(), CompileFunc(), Default(), DoMovement(), ExecMovement(), C4ValueProviderRDir::Execute(), C4ValueProviderAbsRDir::Execute(), Exit(), Init(), and Push().
| int32_t C4Object::RemovalDelay |
Definition at line 107 of file C4Object.h.
Referenced by AssignRemoval(), and Default().
| C4Shape C4Object::Shape |
Definition at line 146 of file C4Object.h.
Referenced by addtop(), AdjustWalkRotation(), At(), C4FindObjectAtPoint::Check(), C4FindObjectAtRect::Check(), C4FindObjectOnLine::Check(), CompileFunc(), ContactCheck(), ContactVtxCNAT(), ContactVtxFriction(), ContactVtxWeight(), C4GameObjects::CrossCheck(), Default(), C4Command::Dig(), DoCon(), DoMovement(), C4EditCursor::Draw(), C4SolidMask::Draw(), C4GraphicsOverlay::Draw(), Draw(), DrawLine(), C4EditCursor::DrawObject(), DrawSelectMark(), DrawTopFace(), ExecLife(), ExecMovement(), C4Command::Exit(), C4Command::FlightControl(), GetArea(), C4EditCursor::HasTransformMarker(), Height(), Init(), C4Command::InitEvaluation(), C4Command::JumpControl(), Left(), C4Command::MoveTo(), ObjectActionThrow(), ObjectComDrop(), ObjectComJump(), ObjectAddWaypoint::operator()(), C4Command::Put(), C4SolidMask::Put(), SideBounds(), Stabilize(), C4Command::Throw(), Top(), C4MouseControl::UpdateCursorTarget(), UpdateShape(), VerticalBounds(), and Width().
|
staticprotectedinherited |
Definition at line 242 of file C4PropList.h.
Referenced by C4PropListNumbered::ClearShelve(), C4PropListNumbered::ShelveNumberedPropLists(), and C4PropListNumbered::UnshelveNumberedPropLists().
| C4TargetRect C4Object::SolidMask |
Definition at line 148 of file C4Object.h.
Referenced by AssignRemoval(), C4SolidMask::C4SolidMask(), ChangeDef(), CheckSolidMaskRect(), CompileFunc(), Default(), C4SolidMask::Draw(), Draw(), DrawTopFace(), C4SolidMask::DensityProvider::GetDensity(), Init(), C4SolidMask::Put(), SetSolidMask(), and UpdateSolidMask().
|
inherited |
Definition at line 173 of file C4PropList.h.
Referenced by C4Command::Acquire(), C4Command::Activate(), C4GameObjects::Add(), C4ObjectList::Add(), C4FoW::Add(), C4EditCursor::AddToSelection(), AssignDeath(), C4ObjectList::AssignInfo(), AssignRemoval(), At(), C4PropList::Call(), C4Game::CastObjects(), C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), C4Effect::ClearAll(), C4ObjectList::ClearInfo(), Collect(), C4ObjectList::CompileFunc(), CompileFunc(), C4GameObjects::CrossCheck(), C4ObjectList::DeleteObjects(), C4ObjectList::Denumerate(), C4Landscape::P::DigMaterial2Objects(), DirectComContents(), C4Effect::DoDamage(), Draw(), C4Game::DrawCrewOverheadText(), DrawSelectMark(), DrawTopFace(), C4EditCursor::EMMoveObject(), Enter(), Execute(), C4SoundInstance::Execute(), C4Effect::Execute(), C4ScriptGuiWindowAction::ExecuteCommand(), C4Command::Fail(), C4ObjectList::Find(), C4FindObject::Find(), C4ObjectList::FindOther(), C4GameObjects::FixObjectOrder(), C4PropList::FreezeAndMakeStaticRecursively(), GetArea(), C4EditCursor::GetCurrentSelectionPosition(), GetEntranceArea(), GetInfoString(), C4ObjectList::GetListID(), GetMomentum(), C4ObjectList::GetObject(), GrabInfo(), GrabLost(), C4GameObjects::GRBroadcast(), C4Effect::Init(), C4GameMessage::Init(), IsMoveableBySolidMask(), C4GraphicsOverlay::IsValid(), Lift(), C4Player::MakeCrewMember(), C4ObjectList::MassCount(), MenuCommand(), C4GameMessageList::New(), C4Game::NewObject(), ObjectComGrab(), ObjectComUnGrab(), C4ObjectList::ObjectCount(), C4EditCursor::PerformDuplicationLegacy(), C4Landscape::P::PostFreeShape(), C4GameObjects::PostLoad(), Push(), C4GameObjects::Remove(), C4EditCursor::RemoveFromSelection(), C4AulScriptContext::ReturnDump(), C4GameObjects::SafeObjectPointer(), SetAction(), SetGraphics(), C4GameObjects::SetOCF(), SetOCF(), StatusActivate(), StatusDeactivate(), C4Effect::TempReaddUpperEffects(), C4Effect::TempRemoveUpperEffects(), C4ObjectList::UpdateFaces(), C4ObjectList::UpdateGraphics(), UpdateOCF(), UpdatePos(), UpdateSolidMask(), C4GameObjects::UpdateSolidMasks(), C4ObjectList::ValidateOwners(), and C4ObjectList::Write().
| uint32_t C4Object::t_contact |
Definition at line 131 of file C4Object.h.
Referenced by ContactAction(), ContactCheck(), Default(), DoMovement(), C4Command::JumpControl(), C4Command::MoveTo(), and SyncClearance().
| C4Facet C4Object::TopFace |
Definition at line 140 of file C4Object.h.
Referenced by Default(), DrawTopFace(), and UpdateFace().
| bool C4Object::Unsorted |
Definition at line 127 of file C4Object.h.
Referenced by C4ObjectList::Add(), ChangeDef(), C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), CompileFunc(), Default(), C4GameObjects::FixObjectOrder(), Resort(), and C4GameObjects::ResortUnsorted().
| C4Real C4Object::xdir |
Definition at line 124 of file C4Object.h.
Referenced by C4SortObjectSpeed::CompareGetValue(), CompileFunc(), ContactAction(), CopyMotion(), C4GameObjects::CrossCheck(), Default(), DoMovement(), ExecMovement(), C4ValueProviderX::Execute(), C4ValueProviderAbsX::Execute(), C4ValueProviderDist::Execute(), C4ValueProviderXDir::Execute(), C4ValueProviderCosV::Execute(), C4ValueProviderSinV::Execute(), Exit(), Fling(), GetMomentum(), GetSpeed(), Init(), Lift(), C4Command::MoveTo(), NoAttachAction(), ObjectActionDive(), ObjectActionGetPunched(), ObjectActionJump(), ObjectActionThrow(), ObjectActionTumble(), ObjectComDrop(), ObjectComStopDig(), Push(), SideBounds(), and SyncClearance().
| C4Real C4Object::ydir |
Definition at line 124 of file C4Object.h.
Referenced by C4SortObjectSpeed::CompareGetValue(), CompileFunc(), ContactAction(), CopyMotion(), C4GameObjects::CrossCheck(), Default(), DoMovement(), ExecMovement(), C4ValueProviderY::Execute(), C4ValueProviderAbsX::Execute(), C4ValueProviderAbsY::Execute(), C4ValueProviderDist::Execute(), C4ValueProviderYDir::Execute(), C4ValueProviderCosV::Execute(), C4ValueProviderSinV::Execute(), Exit(), Fling(), GetMomentum(), GetSpeed(), Init(), Lift(), C4Command::MoveTo(), NoAttachAction(), ObjectActionDive(), ObjectActionGetPunched(), ObjectActionJump(), ObjectActionThrow(), ObjectActionTumble(), ObjectComStopDig(), Push(), SyncClearance(), and VerticalBounds().