- Backported the classnames-are-names changes from the FP code.

SVN r97 (trunk)
This commit is contained in:
Randy Heit 2006-05-10 02:40:43 +00:00
commit d878c2e7d6
108 changed files with 1476 additions and 1053 deletions

View file

@ -123,7 +123,7 @@ void AFighterPlayer::GiveDefaultInventory ()
{
player->health = GetDefault()->health;
player->ReadyWeapon = player->PendingWeapon = static_cast<AWeapon *>
(GiveInventoryType (TypeInfo::FindType ("FWeapFist")));
(GiveInventoryType (PClass::FindClass ("FWeapFist")));
GiveInventoryType (RUNTIME_CLASS(AHexenArmor));
AHexenArmor *armor = FindInventory<AHexenArmor>();
@ -269,7 +269,7 @@ void A_FPunchAttack (AActor *actor)
fixed_t power;
int i;
player_t *player;
const TypeInfo *pufftype;
const PClass *pufftype;
if (NULL == (player = actor->player))
{