forked from Mirrors/openclonk
Rename C4ObjectList::DenumerateRead to DenumeratePointers
It does the same as all the other DenumeratePointers functions: Convert Object Numbers to Object Pointers after load.
parent
f8702a4ff8
commit
221ffa7524
|
@ -2466,7 +2466,7 @@ void C4Object::Denumerate(C4ValueNumbers * numbers)
|
|||
Layer.DenumeratePointers();
|
||||
|
||||
// Post-compile object list
|
||||
Contents.DenumerateRead();
|
||||
Contents.DenumeratePointers();
|
||||
|
||||
// Commands
|
||||
for (C4Command *pCom=Command; pCom; pCom=pCom->Next)
|
||||
|
|
|
@ -471,7 +471,7 @@ bool C4ObjectList::IsClear() const
|
|||
return (ObjectCount()==0);
|
||||
}
|
||||
|
||||
bool C4ObjectList::DenumerateRead()
|
||||
bool C4ObjectList::DenumeratePointers()
|
||||
{
|
||||
if (!pEnumerated) return false;
|
||||
// Denumerate all object pointers
|
||||
|
|
|
@ -113,7 +113,7 @@ public:
|
|||
StdStrBuf GetNameList(C4DefList &rDefs);
|
||||
StdStrBuf GetDataString();
|
||||
bool IsClear() const;
|
||||
bool DenumerateRead();
|
||||
bool DenumeratePointers();
|
||||
bool Write(char *szTarget);
|
||||
void CompileFunc(StdCompiler *pComp, C4ValueNumbers * = 0);
|
||||
void CompileFunc(StdCompiler *pComp, bool fSkipPlayerObjects, C4ValueNumbers *);
|
||||
|
|
|
@ -1346,7 +1346,7 @@ void C4Player::DoTeamSelection(int32_t idTeam)
|
|||
void C4Player::DenumeratePointers()
|
||||
{
|
||||
// Crew
|
||||
Crew.DenumerateRead();
|
||||
Crew.DenumeratePointers();
|
||||
// Cursor
|
||||
Cursor.DenumeratePointers();
|
||||
// ViewCursor
|
||||
|
|
Loading…
Reference in New Issue