mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 11:36:25 +00:00
More audio (to hook and test)
This commit is contained in:
10
src/weapons/CProjectileInfo.cpp
Normal file
10
src/weapons/CProjectileInfo.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include "CProjectileInfo.h"
|
||||
|
||||
CProjectileInfo *gaProjectileInfo = (CProjectileInfo *)0x64ED50;
|
||||
CProjectileInfo *CProjectileInfo::ms_apProjectile = (CProjectileInfo *)0x87C748;
|
||||
|
||||
CProjectileInfo *
|
||||
CProjectileInfo::GetProjectileInfo(int32 id)
|
||||
{
|
||||
return &gaProjectileInfo[id];
|
||||
}
|
20
src/weapons/CProjectileInfo.h
Normal file
20
src/weapons/CProjectileInfo.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "Object.h"
|
||||
#include "Weapon.h"
|
||||
|
||||
struct CProjectileInfo : public CObject {
|
||||
eWeaponType m_eWeaponType;
|
||||
CEntity *m_pSource;
|
||||
int m_nExplosionTime;
|
||||
char m_bInUse;
|
||||
char field_13;
|
||||
char field_14;
|
||||
char field_15;
|
||||
CVector m_vecPos;
|
||||
|
||||
static CProjectileInfo *GetProjectileInfo(int32 id);
|
||||
static CProjectileInfo *ms_apProjectile;
|
||||
};
|
||||
|
||||
extern CProjectileInfo *gaProjectileInfo;
|
Reference in New Issue
Block a user