comparison Actor.cpp @ 2331:9551756f46c4

Moving functions out of mm7_6.cpp into appropriate classes as static methods or free functions
author Grumpy7
date Wed, 02 Apr 2014 01:21:05 +0200
parents 43af6c819e88
children ddb803517a48
comparison
equal deleted inserted replaced
2330:5133eea7a4ca 2331:9551756f46c4
1997 break; 1997 break;
1998 } 1998 }
1999 1999
2000 if (rand() % 100 < 20 && drop.uItemID != 0) 2000 if (rand() % 100 < 20 && drop.uItemID != 0)
2001 { 2001 {
2002 sub_42F7EB_DropItemAt(pItemsTable->pItems[drop.uItemID].uSpriteID, 2002 SpriteObject::sub_42F7EB_DropItemAt(pItemsTable->pItems[drop.uItemID].uSpriteID,
2003 actor->vPosition.x, 2003 actor->vPosition.x,
2004 actor->vPosition.y, 2004 actor->vPosition.y,
2005 actor->vPosition.z + 16, 2005 actor->vPosition.z + 16,
2006 rand() % 200 + 200, 2006 rand() % 200 + 200,
2007 1, 2007 1,