#include <C4GameObjects.h>
Public Types | |
enum | SortType { stNone = 0 , stMain , stContents , stReverse } |
typedef int | SortProc(C4Object *, C4Object *) |
Public Member Functions | |
C4GameObjects () | |
~C4GameObjects () override | |
void | Default () override |
void | Init (int32_t width, int32_t height) |
void | Clear (bool fClearInactive) |
void | Clear () override |
bool | Add (C4Object *game_object) |
bool | Remove (C4Object *game_object) override |
void | CrossCheck () |
void | Synchronize () |
void | UpdateSolidMasks () |
C4Object * | ObjectPointer (int32_t object_number) |
C4Object * | SafeObjectPointer (int32_t object_number) |
int | PostLoad (bool keep_inactive_objects, C4ValueNumbers *) |
void | Denumerate (C4ValueNumbers *) |
void | UpdateScriptPointers () |
C4Value | GRBroadcast (const char *function_name, C4AulParSet *parameters, bool pass_error, bool reject_test) |
void | UpdatePos (C4Object *game_object) |
void | UpdatePosResort (C4Object *game_object) |
void | FixObjectOrder () |
void | ResortUnsorted () |
void | DeleteObjects (bool delete_inactive_objects) |
bool | ValidateOwners () override |
bool | AssignInfo () override |
void | AssignLightRange () |
void | SyncClearance () |
void | ResetAudibility () |
void | OnSynchronized () |
void | SetOCF () |
uint32_t | GetNextMarker () |
virtual bool | Add (C4Object *new_obj, SortType sort_type, C4ObjectList *sorted_list=nullptr) |
iterator | begin () const |
const iterator | end () const |
const ReverseView | reverse () const |
void | Sort () |
void | Copy (const C4ObjectList &list) |
void | DrawIfCategory (C4TargetFacet &cgo, int player, uint32_t dwCategory, bool invert) |
void | Draw (C4TargetFacet &cgo, int player, int MinPlane, int MaxPlane) |
void | DrawSelectMark (C4TargetFacet &cgo) const |
void | CloseMenus () |
void | UpdateGraphics (bool graphics_changed) |
void | UpdateFaces (bool update_shape) |
void | ClearInfo (C4ObjectInfo *info) |
virtual bool | Add (C4Object *new_obj, SortType sort_type, C4ObjectList *sorted_list=nullptr) |
bool | AddSortCustom (C4Object *new_obj, SortProc &pSortProc) |
StdStrBuf | GetNameList (C4DefList &defs) const |
bool | IsClear () const |
bool | DenumeratePointers () |
bool | Write (char *szTarget) |
void | CompileFunc (StdCompiler *pComp, C4ValueNumbers *=nullptr) |
void | CompileFunc (StdCompiler *pComp, bool skip_player_objects, C4ValueNumbers *) |
bool | IsContained (const C4Object *obj) const |
int | ClearPointers (C4Object *obj) |
int | ObjectCount (C4ID id=C4ID::None) const |
int | MassCount () |
int | ListIDCount (int32_t dwCategory) const |
C4Object * | GetObject (int index=0) const |
C4Object * | GetFirstObject () const |
C4Object * | GetLastObject () const |
C4Object * | Find (C4Def *def, int owner=ANY_OWNER, DWORD dwOCF=OCF_All) |
C4Object * | FindOther (C4ID id, int owner=ANY_OWNER) |
const C4ObjectLink * | GetLink (const C4Object *obj) const |
C4ObjectLink * | GetLink (const C4Object *obj) |
C4ID | GetListID (int32_t dwCategory, int index) const |
bool | ShiftContents (C4Object *new_first) |
void | DeleteObjects () |
bool | CheckSort (C4ObjectList *list) |
void | CheckCategorySort () |
Public Attributes | |
C4LSectors | Sectors |
C4ObjectList | InactiveObjects |
C4ObjectList | ForeObjects |
C4ObjectLink * | First |
C4ObjectLink * | Last |
int | Mass |
std::list< int32_t > * | pEnumerated |
Protected Member Functions | |
void | InsertLinkBefore (C4ObjectLink *link, C4ObjectLink *before_link) override |
void | InsertLink (C4ObjectLink *link, C4ObjectLink *after_link) override |
void | RemoveLink (C4ObjectLink *link) override |
iterator * | AddIter (iterator *iter) const |
void | RemoveIter (iterator *iter) const |
Protected Attributes | |
iterator * | FirstIter {nullptr} |
Definition at line 26 of file C4GameObjects.h.
Definition at line 118 of file C4ObjectList.h.
|
inherited |
C4GameObjects::C4GameObjects | ( | ) |
Definition at line 32 of file C4GameObjects.cpp.
References Default().
|
override |
Definition at line 37 of file C4GameObjects.cpp.
References C4LSectors::Clear(), and Sectors.
bool C4GameObjects::Add | ( | C4Object * | game_object | ) |
Definition at line 55 of file C4GameObjects.cpp.
References C4ObjectList::Add(), C4LSectors::Add(), C4D_Foreground, C4OS_INACTIVE, C4Object::Category, ForeObjects, InactiveObjects, Sectors, C4PropList::Status, and C4ObjectList::stMain.
Referenced by C4Object::AssignRemoval(), C4Game::NewObject(), and C4Object::StatusActivate().
bool C4ObjectList::Add |
Definition at line 120 of file C4ObjectList.cpp.
References C4ID::None, and TempListID.
Referenced by ResortUnsorted().
|
virtualinherited |
Definition at line 164 of file C4ObjectList.cpp.
References C4D_StaticBack, C4Object::Category, C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), C4Object::Def, C4ObjectList::First, C4ObjectList::GetLink(), C4Object::GetPlane(), C4Object::id, C4ObjectList::InsertLink(), C4ObjectList::Last, C4Object::Mass, C4ObjectList::Mass, C4ObjectLink::Next, C4ObjectLink::Obj, C4ObjectLink::Prev, C4PropList::Status, C4ObjectList::stMain, C4ObjectList::stReverse, and C4Object::Unsorted.
Referenced by Add(), C4LSectors::Add(), C4ObjectList::CompileFunc(), C4ObjectList::Copy(), C4ObjectList::DenumeratePointers(), C4Object::Enter(), C4Player::MakeCrewMember(), C4Player::PlaceReadyCrew(), PostLoad(), C4Object::StatusDeactivate(), C4LSectors::Update(), and C4MouseControl::UpdateSingleSelection().
|
protectedinherited |
Definition at line 1238 of file C4ObjectList.cpp.
References C4ObjectList::FirstIter.
Referenced by C4ObjectList::iterator::iterator().
|
overridevirtual |
Reimplemented from C4ObjectList.
Definition at line 563 of file C4GameObjects.cpp.
References C4ObjectList::AssignInfo(), and InactiveObjects.
Referenced by C4Game::InitGameFinal().
void C4GameObjects::AssignLightRange | ( | ) |
Definition at line 574 of file C4GameObjects.cpp.
References C4ObjectList::reverse().
Referenced by C4Game::InitGameFinal().
|
inherited |
Definition at line 1230 of file C4ObjectList.cpp.
References C4ObjectList::First, and C4ObjectList::iterator.
Referenced by PostLoad(), and C4Object::ShiftContents().
|
inherited |
Definition at line 1126 of file C4ObjectList.cpp.
References C4ObjectList::First, C4Object::GetPlane(), C4ObjectLink::Next, C4ObjectLink::Obj, C4PropList::Status, and C4Object::Unsorted.
Referenced by C4ObjectList::Add().
|
inherited |
Definition at line 1091 of file C4ObjectList.cpp.
References C4ObjectList::First, Log(), LogSilent(), mkNamingAdapt(), C4ObjectLink::Next, C4ObjectLink::Obj, C4PropList::Status, and C4Object::Unsorted.
Referenced by C4ObjectList::Add(), and C4LSectors::CheckSort().
|
inlineoverridevirtual |
Reimplemented from C4ObjectList.
Definition at line 36 of file C4GameObjects.h.
References Clear().
Referenced by Clear().
void C4GameObjects::Clear | ( | bool | fClearInactive | ) |
Definition at line 263 of file C4GameObjects.cpp.
References C4ObjectList::Clear(), C4ObjectList::DeleteObjects(), and InactiveObjects.
Referenced by C4Game::CompileRuntimeData().
|
inherited |
Definition at line 748 of file C4ObjectList.cpp.
References C4Object::ClearInfo(), C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, and C4PropList::Status.
Referenced by C4ObjectInfoList::DetachFromObjects().
|
inherited |
Definition at line 481 of file C4ObjectList.cpp.
References C4Object::ClearPointers(), C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, and C4ObjectList::Remove().
Referenced by C4Game::ClearPointers(), and C4MouseControl::ClearPointers().
|
inherited |
Definition at line 933 of file C4ObjectList.cpp.
References C4Object::CloseMenu(), C4ObjectList::First, C4ObjectLink::Next, and C4ObjectLink::Obj.
|
inherited |
Definition at line 622 of file C4ObjectList.cpp.
References C4ObjectList::Add(), C4ObjectList::Clear(), StdStrBuf::getData(), StdStrBuf::getLength(), StdCompiler::hasNaming(), StdCompiler::isSerializer(), C4Object::IsUserPlayerObject(), C4ObjectList::Last, LogF(), mkNamingAdapt(), mkNamingCountAdapt(), mkParAdapt(), mkPtrAdaptNoNull(), StdCompiler::Exception::Msg, C4ObjectLink::Obj, C4ObjectList::ObjectCount(), StdCompiler::Exception::Pos, C4ObjectLink::Prev, C4PropList::Status, C4ObjectList::stReverse, and StdCompiler::Value().
|
inherited |
Definition at line 672 of file C4ObjectList.cpp.
References C4ObjectList::First, StdCompiler::isDeserializer(), mkSTLContainerAdapt(), C4ObjectLink::Next, C4PropListNumbered::Number, C4ObjectLink::Obj, C4ObjectList::pEnumerated, StdCompiler::SEP_SEP2, C4PropList::Status, and StdCompiler::Value().
|
inherited |
Definition at line 943 of file C4ObjectList.cpp.
References C4ObjectList::Add(), C4ObjectList::Clear(), C4ObjectList::Default(), C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, and C4ObjectList::stNone.
Referenced by C4ObjectList::C4ObjectList(), C4Object::GrabContents(), and PostLoad().
void C4GameObjects::CrossCheck | ( | ) |
Definition at line 91 of file C4GameObjects.cpp.
References Abs(), C4Object::Area, C4D_Object, C4FxCall_EngObjHit, C4PropList::Call(), C4Object::Collect(), C4Def::Collection, C4Object::Contained, C4Object::Def, DFA_FLIGHT, C4Object::DoEnergy(), C4LArea::FirstObjects(), fixtoi(), C4Object::Fling(), Game, C4Object::GetAction(), GetNextMarker(), C4PropList::GetPropertyP(), C4Object::GetX(), C4Object::GetY(), C4Rect::Hgt, HitSpeed2, C4Game::iTick3, C4Object::Layer, C4Object::Mass, C4LArea::NextObjects(), C4Object::OCF, OCF_Alive, OCF_Carryable, OCF_Collection, OCF_HitSpeed2, OCF_None, P_Procedure, PSF_CatchBlow, PSF_QueryCatchBlow, C4Object::Shape, C4PropList::Status, C4Rect::Wdt, C4Rect::x, C4Object::xdir, C4Rect::y, and C4Object::ydir.
Referenced by C4Game::ExecObjects().
|
overridevirtual |
Reimplemented from C4ObjectList.
Definition at line 42 of file C4GameObjects.cpp.
References C4LSectors::Clear(), C4ObjectList::Default(), ForeObjects, and Sectors.
Referenced by C4GameObjects(), and C4Game::Default().
|
inherited |
Definition at line 986 of file C4ObjectList.cpp.
References C4OS_DELETED, C4Game::ClearPointers(), C4ObjectList::First, Game, C4ObjectList::Mass, C4ObjectLink::Obj, C4ObjectList::Remove(), and C4PropList::Status.
Referenced by Clear(), and DeleteObjects().
void C4GameObjects::DeleteObjects | ( | bool | delete_inactive_objects | ) |
Definition at line 252 of file C4GameObjects.cpp.
References C4ObjectList::Clear(), C4LSectors::ClearObjects(), C4ObjectList::DeleteObjects(), ForeObjects, InactiveObjects, and Sectors.
Referenced by C4Game::DeleteObjects().
void C4GameObjects::Denumerate | ( | C4ValueNumbers * | numbers | ) |
Definition at line 399 of file C4GameObjects.cpp.
References C4ObjectList::Denumerate(), and InactiveObjects.
Referenced by PostLoad().
|
inherited |
Definition at line 577 of file C4ObjectList.cpp.
References C4ObjectList::Add(), ObjectPointer(), Objects, C4ObjectList::pEnumerated, and C4ObjectList::stNone.
Referenced by C4Object::Denumerate(), and C4Player::DenumeratePointers().
|
inherited |
Definition at line 499 of file C4ObjectList.cpp.
References C4D_Foreground, C4Object::Category, C4Object::Draw(), C4Object::DrawTopFace(), C4Object::GetPlane(), C4ObjectList::Last, C4ObjectLink::Obj, C4ScriptGuiWindowPropertyName::player, and C4ObjectLink::Prev.
Referenced by C4Viewport::Draw().
|
inherited |
Definition at line 538 of file C4ObjectList.cpp.
References C4Object::Category, C4Object::Draw(), C4Object::DrawTopFace(), C4ObjectList::Last, C4ObjectLink::Obj, C4ScriptGuiWindowPropertyName::player, and C4ObjectLink::Prev.
Referenced by C4Viewport::Draw().
|
inherited |
Definition at line 924 of file C4ObjectList.cpp.
References C4Object::DrawSelectMark(), C4ObjectList::Last, C4ObjectLink::Obj, and C4ObjectLink::Prev.
Referenced by C4MouseControl::Draw().
|
inherited |
Definition at line 1234 of file C4ObjectList.cpp.
References C4ObjectList::iterator.
Referenced by C4ObjectListIterator::GetNext().
|
inherited |
Definition at line 383 of file C4ObjectList.cpp.
References ANY_OWNER, C4Object::Def, C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, C4Object::OCF, C4Object::Owner, and C4PropList::Status.
Referenced by C4Command::Acquire(), C4ObjectMenu::DoRefillInternal(), C4RoundResults::EvaluateGoals(), C4Command::Get(), C4MainMenu::MenuCommand(), and C4Command::Put().
Definition at line 400 of file C4ObjectList.cpp.
References ANY_OWNER, C4Object::Def, C4ObjectList::First, C4Def::id, C4ObjectLink::Next, C4ObjectLink::Obj, C4Object::Owner, and C4PropList::Status.
void C4GameObjects::FixObjectOrder | ( | ) |
Definition at line 443 of file C4GameObjects.cpp.
References DebugLogF(), C4ObjectList::First, C4Object::GetPlane(), C4ObjectList::Last, C4ObjectLink::Next, C4PropListNumbered::Number, C4ObjectLink::Obj, C4ObjectLink::Prev, C4Object::SetPlane(), C4PropList::Status, and C4Object::Unsorted.
Referenced by PostLoad().
|
inlineinherited |
Definition at line 141 of file C4ObjectList.h.
References C4ObjectList::First, and C4ObjectLink::Obj.
Referenced by C4Player::CheckElimination().
|
inlineinherited |
Definition at line 142 of file C4ObjectList.h.
References C4ObjectList::Last, and C4ObjectLink::Obj.
Referenced by C4Object::PutAwayUnusedObject().
|
inlineinherited |
Definition at line 147 of file C4ObjectList.h.
References C4ObjectList::GetLink().
|
inherited |
Definition at line 435 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, and C4ObjectLink::Obj.
Referenced by C4ObjectList::Add(), C4Object::AssignInfo(), C4Command::Drop(), C4ObjectList::GetLink(), C4Player::MakeCrewMember(), PostLoad(), C4Command::Put(), C4ObjectList::Remove(), C4ObjectList::ShiftContents(), and C4Command::Throw().
|
inherited |
Definition at line 73 of file C4ObjectList.cpp.
References C4D_All, C4Id2Def(), C4Def::Category, C4Object::Def, C4ObjectList::First, C4Def::id, Inside(), MaxTempListID, C4ObjectLink::Next, C4ID::None, C4ObjectLink::Obj, C4PropList::Status, and TempListID.
Referenced by C4MainMenu::ActivateRules(), C4RoundResults::EvaluateGoals(), and C4ObjectList::GetNameList().
Definition at line 699 of file C4ObjectList.cpp.
References StdStrBuf::Append(), StdStrBuf::AppendFormat(), C4D_All, C4ObjectList::GetListID(), C4PropListStatic::GetName(), C4DefList::ID2Def(), and C4ObjectList::ObjectCount().
Referenced by C4Object::GetDataString().
uint32_t C4GameObjects::GetNextMarker | ( | ) |
Definition at line 630 of file C4GameObjects.cpp.
Referenced by C4FindObject::Count(), CrossCheck(), and C4FindObject::FindMany().
|
inherited |
Definition at line 416 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, and C4PropList::Status.
Referenced by C4Object::AssignDeath(), C4Object::DirectComContents(), C4Object::DoCon(), C4MouseControl::LeftUpDragNone(), ObjectActionThrow(), ObjectComDrop(), ObjectComPut(), ObjectComPutTake(), ObjectComThrow(), C4Command::Put(), C4Player::RemoveCrewObjects(), C4MouseControl::RightUpDragNone(), C4Object::ShiftContents(), and C4MouseControl::UpdateSingleSelection().
C4Value C4GameObjects::GRBroadcast | ( | const char * | function_name, |
C4AulParSet * | parameters, | ||
bool | pass_error, | ||
bool | reject_test | ||
) |
Definition at line 412 of file C4GameObjects.cpp.
References C4D_Environment, C4D_Goal, C4D_Rule, C4Object::Category, and C4PropList::Status.
Referenced by C4Game::GRBroadcast().
void C4GameObjects::Init | ( | int32_t | width, |
int32_t | height | ||
) |
Definition at line 49 of file C4GameObjects.cpp.
References C4LSectors::Init(), and Sectors.
|
overrideprotectedvirtualinherited |
Reimplemented from C4ObjectList.
Definition at line 888 of file C4ObjectList.cpp.
References C4ObjectList::InsertLink(), ObjectListChangeListener, and C4ObjectListChangeListener::OnObjectAdded().
|
overrideprotectedvirtualinherited |
Reimplemented from C4ObjectList.
Definition at line 882 of file C4ObjectList.cpp.
References C4ObjectList::InsertLinkBefore(), ObjectListChangeListener, and C4ObjectListChangeListener::OnObjectAdded().
|
inherited |
Definition at line 572 of file C4ObjectList.cpp.
References C4ObjectList::ObjectCount().
|
inherited |
Definition at line 559 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, and C4ObjectLink::Obj.
Referenced by C4LSectors::AssertObjectNotInList(), C4Object::IsPlayerObject(), C4Player::NotifyOwnedObjects(), and C4Player::SetObjectCrewStatus().
|
inherited |
|
inherited |
Definition at line 466 of file C4ObjectList.cpp.
References C4ObjectList::First, C4Object::Mass, C4ObjectList::Mass, C4ObjectLink::Next, C4ObjectLink::Obj, and C4PropList::Status.
Referenced by C4Object::UpdateMass().
|
inherited |
Definition at line 452 of file C4ObjectList.cpp.
References C4Object::Def, C4ObjectList::First, C4Def::id, C4ObjectLink::Next, C4ID::None, C4ObjectLink::Obj, and C4PropList::Status.
Referenced by C4Object::AssignDeath(), C4ObjectList::CompileFunc(), C4Game::CompileRuntimeData(), C4FindObject::Count(), C4EditCursor::DoContextMenu(), C4ObjectMenu::DoRefillInternal(), C4ObjectMenu::Execute(), C4Network2Stats::ExecuteFrame(), C4Object::GetDataString(), C4ObjectList::GetNameList(), C4Game::InitGameFinal(), C4ObjectList::IsClear(), PostLoad(), C4ControlSyncCheck::Set(), and C4MouseControl::UpdateSingleSelection().
C4Object * C4GameObjects::ObjectPointer | ( | int32_t | object_number | ) |
Definition at line 220 of file C4GameObjects.cpp.
References C4PropListNumbered::GetByNumber().
Referenced by C4ObjectList::DenumeratePointers(), C4ObjectPtr::DenumeratePointers(), and SafeObjectPointer().
void C4GameObjects::OnSynchronized | ( | ) |
Definition at line 596 of file C4GameObjects.cpp.
References PSF_OnSynchronized.
Referenced by C4TransferZones::Synchronize().
int C4GameObjects::PostLoad | ( | bool | keep_inactive_objects, |
C4ValueNumbers * | numbers | ||
) |
Definition at line 273 of file C4GameObjects.cpp.
References C4ObjectList::Add(), C4ObjectList::begin(), C4D_Foreground, C4D_StaticBack, C4OS_INACTIVE, C4Object::Category, C4ObjectList::Clear(), C4Object::Contained, C4Object::Contents, C4ObjectList::Copy(), DebugLogF(), Denumerate(), FixObjectOrder(), ForeObjects, C4ObjectList::GetLink(), InactiveObjects, C4PropListNumbered::Number, C4ObjectList::ObjectCount(), Remove(), C4ObjectList::reverse(), C4PropListNumbered::SetEnumerationIndex(), SetOCF(), C4PropList::Status, C4ObjectList::stContents, C4ObjectList::stMain, C4ObjectList::stNone, C4PropListNumbered::UnshelveNumberedPropLists(), C4ObjectList::UpdateFaces(), and C4ObjectList::UpdateGraphics().
|
overridevirtual |
Reimplemented from C4ObjectList.
Definition at line 76 of file C4GameObjects.cpp.
References C4OS_INACTIVE, ForeObjects, InactiveObjects, C4ObjectList::Remove(), C4LSectors::Remove(), Sectors, and C4PropList::Status.
Referenced by C4Game::ObjectRemovalCheck(), PostLoad(), ResortUnsorted(), and C4Object::StatusDeactivate().
|
protectedinherited |
|
overrideprotectedvirtualinherited |
Reimplemented from C4ObjectList.
Definition at line 894 of file C4ObjectList.cpp.
References ObjectListChangeListener, C4ObjectListChangeListener::OnObjectRemove(), and C4ObjectList::RemoveLink().
void C4GameObjects::ResetAudibility | ( | ) |
Definition at line 607 of file C4GameObjects.cpp.
References NO_OWNER.
Referenced by C4GraphicsSystem::Execute().
void C4GameObjects::ResortUnsorted | ( | ) |
Definition at line 532 of file C4GameObjects.cpp.
References Add(), C4Game::ClearPointers(), Game, Remove(), and C4Object::Unsorted.
Referenced by C4Game::ExecObjects(), and Synchronize().
|
inlineinherited |
Definition at line 104 of file C4ObjectList.h.
Referenced by AssignLightRange(), C4PropertyCollection::CollectPropLists(), C4Game::ExecObjects(), C4ObjectList::iterator::operator++(), C4ObjectList::iterator::operator=(), C4ObjectList::iterator::operator==(), PostLoad(), C4ObjectList::iterator::reset(), and C4Object::ShiftContents().
C4Object * C4GameObjects::SafeObjectPointer | ( | int32_t | object_number | ) |
Definition at line 231 of file C4GameObjects.cpp.
References ObjectPointer(), and C4PropList::Status.
Referenced by FnObject(), C4EditCursor::PerformDuplication(), and C4EditCursor::PerformDuplicationLegacy().
void C4GameObjects::SetOCF | ( | ) |
Definition at line 619 of file C4GameObjects.cpp.
References C4PropList::Status.
Referenced by PostLoad().
|
inherited |
Definition at line 960 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectList::GetLink(), C4ObjectList::Last, C4ObjectLink::Next, and C4ObjectLink::Prev.
Referenced by C4Object::DirectComContents().
|
inherited |
Definition at line 760 of file C4ObjectList.cpp.
References C4ObjectList::First, C4Object::id, C4ObjectList::InsertLink(), C4ObjectLink::Next, C4ObjectLink::Obj, and C4ObjectList::RemoveLink().
void C4GameObjects::SyncClearance | ( | ) |
Definition at line 585 of file C4GameObjects.cpp.
Referenced by C4Game::SyncClearance().
void C4GameObjects::Synchronize | ( | ) |
Definition at line 212 of file C4GameObjects.cpp.
References ResortUnsorted(), and UpdateSolidMasks().
Referenced by C4Game::Synchronize().
|
inherited |
Definition at line 912 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, C4PropList::Status, and C4Object::UpdateFace().
Referenced by PostLoad().
|
inherited |
Definition at line 900 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, C4ObjectLink::Obj, C4PropList::Status, and C4Object::UpdateGraphics().
Referenced by PostLoad().
void C4GameObjects::UpdatePos | ( | C4Object * | game_object | ) |
Definition at line 430 of file C4GameObjects.cpp.
References Sectors, and C4LSectors::Update().
Referenced by C4Object::UpdatePos().
void C4GameObjects::UpdatePosResort | ( | C4Object * | game_object | ) |
Definition at line 436 of file C4GameObjects.cpp.
References C4LSectors::Add(), C4LSectors::Remove(), and Sectors.
void C4GameObjects::UpdateScriptPointers | ( | ) |
Definition at line 405 of file C4GameObjects.cpp.
References InactiveObjects, and C4ObjectList::UpdateScriptPointers().
Referenced by C4Game::ReLinkScriptEngine().
void C4GameObjects::UpdateSolidMasks | ( | ) |
Definition at line 241 of file C4GameObjects.cpp.
References C4PropList::Status.
Referenced by Synchronize().
|
overridevirtual |
Reimplemented from C4ObjectList.
Definition at line 552 of file C4GameObjects.cpp.
References InactiveObjects, and C4ObjectList::ValidateOwners().
Referenced by C4Game::InitGameFinal(), and C4PlayerList::Remove().
|
inherited |
Definition at line 594 of file C4ObjectList.cpp.
References C4ObjectList::First, C4ObjectLink::Next, C4PropListNumbered::Number, C4ObjectLink::Obj, SAppend(), sprintf, and C4PropList::Status.
|
inherited |
Definition at line 51 of file C4ObjectList.h.
Referenced by C4ObjectList::Add(), C4ObjectList::begin(), C4ObjectList::CheckCategorySort(), C4ObjectList::CheckSort(), C4ObjectList::Clear(), C4ObjectList::ClearInfo(), C4ObjectList::ClearPointers(), C4ObjectList::CloseMenus(), C4ObjectList::CompileFunc(), C4ObjectList::Copy(), C4ObjectList::Default(), C4ObjectList::DeleteObjects(), C4ObjectList::Denumerate(), C4ObjectList::Find(), C4ObjectList::FindOther(), FixObjectOrder(), C4ObjectList::GetFirstObject(), C4ObjectList::GetLink(), C4ObjectList::GetListID(), C4ObjectList::GetObject(), C4ObjectList::InsertLink(), C4ObjectList::InsertLinkBefore(), C4ObjectList::IsContained(), C4ObjectList::MassCount(), C4ObjectList::ObjectCount(), C4ObjectList::Remove(), C4ObjectList::RemoveLink(), C4ObjectList::ShiftContents(), C4ObjectList::Sort(), C4ObjectList::UpdateFaces(), C4ObjectList::UpdateGraphics(), C4ObjectList::UpdateScriptPointers(), C4ObjectList::ValidateOwners(), and C4ObjectList::Write().
|
mutableprotectedinherited |
Definition at line 165 of file C4ObjectList.h.
Referenced by C4ObjectList::AddIter(), C4ObjectList::Clear(), C4ObjectList::InsertLink(), C4ObjectList::InsertLinkBefore(), C4ObjectList::Remove(), and C4ObjectList::RemoveIter().
C4ObjectList C4GameObjects::ForeObjects |
Definition at line 44 of file C4GameObjects.h.
Referenced by Add(), C4Game::ClearPointers(), Default(), DeleteObjects(), C4Viewport::Draw(), C4Game::FindVisObject(), PostLoad(), and Remove().
C4ObjectList C4GameObjects::InactiveObjects |
Definition at line 43 of file C4GameObjects.h.
Referenced by Add(), AssignInfo(), C4Object::AssignRemoval(), C4Game::CheckObjectEnumeration(), Clear(), C4Game::ClearObjectPtrs(), DeleteObjects(), Denumerate(), C4Player::NotifyOwnedObjects(), PostLoad(), Remove(), C4Object::StatusActivate(), C4Object::StatusDeactivate(), UpdateScriptPointers(), and ValidateOwners().
|
inherited |
Definition at line 51 of file C4ObjectList.h.
Referenced by C4ObjectList::Add(), C4ObjectList::AssignInfo(), C4ObjectList::ReverseView::begin(), C4ObjectList::Clear(), C4ObjectList::CompileFunc(), C4ObjectList::Default(), C4ObjectList::Draw(), C4ObjectList::DrawIfCategory(), C4ObjectList::DrawSelectMark(), FixObjectOrder(), C4ObjectList::GetLastObject(), C4ObjectList::InsertLink(), C4ObjectList::InsertLinkBefore(), C4ObjectList::RemoveLink(), and C4ObjectList::ShiftContents().
|
inherited |
Definition at line 52 of file C4ObjectList.h.
Referenced by C4ObjectList::Add(), C4ObjectList::Default(), C4ObjectList::DeleteObjects(), C4ObjectList::MassCount(), C4ObjectList::Remove(), and C4Object::UpdateMass().
|
inherited |
Definition at line 53 of file C4ObjectList.h.
Referenced by C4ObjectList::Clear(), C4ObjectList::CompileFunc(), C4ObjectList::Default(), and C4ObjectList::DenumeratePointers().
C4LSectors C4GameObjects::Sectors |
Definition at line 42 of file C4GameObjects.h.
Referenced by Add(), C4FindObject::Count(), Default(), DeleteObjects(), C4EditCursor::DoContextMenu(), C4FindObject::Find(), C4Game::FindConstuctionSiteBlock(), C4FindObject::FindMany(), Init(), C4Landscape::P::PrepareFreeShape(), C4SolidMask::Remove(), Remove(), C4ControlSyncCheck::Set(), UpdatePos(), UpdatePosResort(), ~C4GameObjects(), and C4Object::~C4Object().