- most thinkers are done. Some stuff about polyobject pointers is temporarily disabled right now because some of the required functions have already been pulled out.
This commit is contained in:
parent
340c7795f3
commit
e89d072abc
39 changed files with 290 additions and 342 deletions
|
|
@ -29,31 +29,9 @@
|
|||
#include "doomstat.h"
|
||||
#include "r_state.h"
|
||||
#include "gi.h"
|
||||
#include "farchive.h"
|
||||
#include "serializer.h"
|
||||
#include "p_spec.h"
|
||||
|
||||
//============================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//============================================================================
|
||||
|
||||
inline FArchive &operator<< (FArchive &arc, DCeiling::ECeiling &type)
|
||||
{
|
||||
BYTE val = (BYTE)type;
|
||||
arc << val;
|
||||
type = (DCeiling::ECeiling)val;
|
||||
return arc;
|
||||
}
|
||||
|
||||
inline FArchive &operator<< (FArchive &arc, DCeiling::ECrushMode &type)
|
||||
{
|
||||
BYTE val = (BYTE)type;
|
||||
arc << val;
|
||||
type = (DCeiling::ECrushMode)val;
|
||||
return arc;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
//
|
||||
// CEILINGS
|
||||
|
|
@ -72,23 +50,23 @@ DCeiling::DCeiling ()
|
|||
//
|
||||
//============================================================================
|
||||
|
||||
void DCeiling::Serialize(FArchive &arc)
|
||||
void DCeiling::Serialize(FSerializer &arc)
|
||||
{
|
||||
Super::Serialize (arc);
|
||||
arc << m_Type
|
||||
<< m_BottomHeight
|
||||
<< m_TopHeight
|
||||
<< m_Speed
|
||||
<< m_Speed1
|
||||
<< m_Speed2
|
||||
<< m_Crush
|
||||
<< m_Silent
|
||||
<< m_Direction
|
||||
<< m_Texture
|
||||
<< m_NewSpecial
|
||||
<< m_Tag
|
||||
<< m_OldDirection
|
||||
<< m_CrushMode;
|
||||
arc.Enum("type", m_Type)
|
||||
("bottomheight", m_BottomHeight)
|
||||
("topheight", m_TopHeight)
|
||||
("speed", m_Speed)
|
||||
("speed1", m_Speed1)
|
||||
("speed2", m_Speed2)
|
||||
("crush", m_Crush)
|
||||
("silent", m_Silent)
|
||||
("direction", m_Direction)
|
||||
("texture", m_Texture)
|
||||
("newspecial", m_NewSpecial)
|
||||
("tag", m_Tag)
|
||||
("olddirecton", m_OldDirection)
|
||||
.Enum("crushmode", m_CrushMode);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue