- all DObjects converted.
- cleaned out some old cruft that's no longer needed.
This commit is contained in:
parent
daf43f9d35
commit
af6404f763
20 changed files with 139 additions and 612 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include "g_level.h"
|
||||
#include "farchive.h"
|
||||
#include "d_player.h"
|
||||
#include "serializer.h"
|
||||
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
|
@ -1446,13 +1447,23 @@ void DPSprite::Tick()
|
|||
//
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
void DPSprite::Serialize(FArchive &arc)
|
||||
void DPSprite::Serialize(FSerializer &arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
|
||||
arc << Next << Caller << Owner << Flags
|
||||
<< State << Tics << Sprite << Frame
|
||||
<< ID << x << y << oldx << oldy;
|
||||
arc("next", Next)
|
||||
("caller", Caller)
|
||||
("owner", Owner)
|
||||
("flags", Flags)
|
||||
("state", State)
|
||||
("tics", Tics)
|
||||
.Sprite("sprite", Sprite, nullptr)
|
||||
("frame", Frame)
|
||||
("id", ID)
|
||||
("x", x)
|
||||
("y", y)
|
||||
("oldx", oldx)
|
||||
("oldy", oldy);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue