Re3/src/control/Pickups.cpp

21 lines
1.1 KiB
C++
Raw Normal View History

#include "common.h"
#include "patcher.h"
#include "Pickups.h"
2019-06-24 18:42:23 -04:00
CPickup(&CPickups::aPickUps)[NUMPICKUPS] = *(CPickup(*)[NUMPICKUPS])*(uintptr*)0x878C98;
2019-08-01 18:04:30 -04:00
// 20 ?! Some Miami leftover? (Originally at 0x5ED8D4)
2019-08-03 09:01:13 -04:00
uint16 AmmoForWeapon[20] = { 0, 1, 45, 125, 25, 150, 300, 25, 5, 250, 5, 5, 0, 500, 0, 100, 0, 0, 0, 0 };
uint16 AmmoForWeapon_OnStreet[20] = { 0, 1, 9, 25, 5, 30, 60, 5, 1, 50, 1, 1, 0, 200, 0, 100, 0, 0, 0, 0 };
2019-08-01 18:04:30 -04:00
WRAPPER void CPickups::RenderPickUpText(void) { EAXJMP(0x432440); }
2019-06-30 15:06:55 -04:00
WRAPPER void CPickups::DoCollectableEffects(CEntity *ent) { EAXJMP(0x431C30); }
WRAPPER void CPickups::DoMoneyEffects(CEntity *ent) { EAXJMP(0x431F40); }
WRAPPER void CPickups::DoMineEffects(CEntity *ent) { EAXJMP(0x4321C0); }
WRAPPER void CPickups::DoPickUpEffects(CEntity *ent) { EAXJMP(0x431520); }
2019-07-25 16:34:29 -04:00
WRAPPER void CPickups::RemoveAllFloatingPickups() { EAXJMP(0x430800); }
2019-08-01 18:04:30 -04:00
WRAPPER int32 CPickups::GenerateNewOne(CVector, uint32, uint8, uint32) { EAXJMP(0x4304B0); }
WRAPPER int32 CPickups::GenerateNewOne_WeaponType(CVector, eWeaponType, uint8, uint32) { EAXJMP(0x430660); }
WRAPPER void CPacManPickups::Render(void) { EAXJMP(0x432F60); }