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

@ -21,7 +21,7 @@
#define BONUSADD 6
IMPLEMENT_POINTY_CLASS(AWeapon)
IMPLEMENT_CLASS(AWeapon, false, true, false)
IMPLEMENT_POINTERS_START(AWeapon)
IMPLEMENT_POINTER(Ammo1)
@ -38,7 +38,7 @@ TMap<PClassWeapon *, int> Weapons_hton;
static int ntoh_cmp(const void *a, const void *b);
IMPLEMENT_CLASS(PClassWeapon)
IMPLEMENT_CLASS(PClassWeapon, false, false, false)
PClassWeapon::PClassWeapon()
{
@ -791,7 +791,7 @@ FState *AWeapon::GetStateForButtonName (FName button)
/* Weapon giver ***********************************************************/
IMPLEMENT_CLASS(AWeaponGiver)
IMPLEMENT_CLASS(AWeaponGiver, false, false, false)
void AWeaponGiver::Serialize(FSerializer &arc)
{