Populous: The Beginning Script 3
1.0.0
Documentation for Populous Script 3 engine
◆
save()
template<class Archive >
void ObjectList::save
(
Archive &
ar
)
const
inline
Definition at line
70
of file
ObjectList.h
.
71
{
72
ar(
_count
,
_ListType
);
73
ThingNum curr;
74
for
(
auto
it =
_start
; it; it = it->
next
)
75
{
76
curr = it->t_thing->ThingNum;
77
ASSERT(curr > 0);
78
ar(curr);
79
}
80
}
ObjectList::_ListType
enum ObjectListType _ListType
Definition:
ObjectList.h:117
ObjectList::_count
size_t _count
Definition:
ObjectList.h:120
OBJLIST::next
struct OBJLIST * next
Definition:
ObjectList.h:11
ObjectList::_start
struct OBJLIST * _start
Definition:
ObjectList.h:118
References
_count
,
_ListType
,
_start
, and
OBJLIST::next
.
ObjectList
Generated by
1.8.15