- all thinker serializers done.
This commit is contained in:
parent
a5000ead4c
commit
ab43e0c8cb
27 changed files with 561 additions and 653 deletions
|
|
@ -53,7 +53,7 @@
|
|||
#include "v_text.h"
|
||||
#include "d_net.h"
|
||||
#include "d_main.h"
|
||||
#include "farchive.h"
|
||||
#include "serializer.h"
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ class DWaitingCommand : public DThinker
|
|||
public:
|
||||
DWaitingCommand (const char *cmd, int tics);
|
||||
~DWaitingCommand ();
|
||||
void Serialize(FArchive &arc);
|
||||
void Serialize(FSerializer &arc);
|
||||
void Tick ();
|
||||
|
||||
private:
|
||||
|
|
@ -189,10 +189,11 @@ static const char *KeyConfCommands[] =
|
|||
|
||||
IMPLEMENT_CLASS (DWaitingCommand)
|
||||
|
||||
void DWaitingCommand::Serialize(FArchive &arc)
|
||||
void DWaitingCommand::Serialize(FSerializer &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << Command << TicsLeft;
|
||||
arc("command", Command)
|
||||
("ticsleft", TicsLeft);
|
||||
}
|
||||
|
||||
DWaitingCommand::DWaitingCommand ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue