Replaced the many implement macros with a single one that takes arguments instead

This commit is contained in:
Leonard2 2016-11-05 18:27:14 +01:00
commit bb2d61de50
126 changed files with 365 additions and 388 deletions

View file

@ -3,8 +3,8 @@
#include "doomstat.h"
#include "serializer.h"
IMPLEMENT_CLASS(PClassWeaponPiece)
IMPLEMENT_CLASS (AWeaponHolder)
IMPLEMENT_CLASS(PClassWeaponPiece, false, false, false)
IMPLEMENT_CLASS(AWeaponHolder, false, false, false)
void PClassWeaponPiece::ReplaceClassRef(PClass *oldclass, PClass *newclass)
{
@ -24,7 +24,7 @@ void AWeaponHolder::Serialize(FSerializer &arc)
("pieceweapon", PieceWeapon);
}
IMPLEMENT_POINTY_CLASS(AWeaponPiece)
IMPLEMENT_CLASS(AWeaponPiece, false, true, false)
IMPLEMENT_POINTERS_START(AWeaponPiece)
IMPLEMENT_POINTER(FullWeapon)