mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-14 10:31:35 +00:00
implemented some of CCam and dependencies
This commit is contained in:
parent
c5a058b615
commit
820fd66a94
13 changed files with 1367 additions and 42 deletions
4
src/weapons/Weapon.cpp
Normal file
4
src/weapons/Weapon.cpp
Normal file
|
@ -0,0 +1,4 @@
|
|||
#include "common.h"
|
||||
#include "patcher.h"
|
||||
#include "Weapon.h"
|
||||
|
31
src/weapons/Weapon.h
Normal file
31
src/weapons/Weapon.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#pragma once
|
||||
|
||||
enum eWeaponType
|
||||
{
|
||||
WEAPONTYPE_UNARMED = 0,
|
||||
WEAPONTYPE_BASEBALLBAT,
|
||||
WEAPONTYPE_COLT45,
|
||||
WEAPONTYPE_UZI,
|
||||
WEAPONTYPE_SHOTGUN,
|
||||
WEAPONTYPE_AK47,
|
||||
WEAPONTYPE_M16,
|
||||
WEAPONTYPE_SNIPERRIFLE,
|
||||
WEAPONTYPE_ROCKETLAUNCHER,
|
||||
WEAPONTYPE_FLAMETHROWER,
|
||||
WEAPONTYPE_MOLOTOV,
|
||||
WEAPONTYPE_GRENADE,
|
||||
WEAPONTYPE_DETONATOR,
|
||||
WEAPONTYPE_HELICANNON
|
||||
};
|
||||
|
||||
class CWeapon
|
||||
{
|
||||
public:
|
||||
eWeaponType m_eWeaponType;
|
||||
int32 m_eWeaponState;
|
||||
int32 m_nAmmoInClip;
|
||||
int32 m_nAmmoTotal;
|
||||
int32 m_nTimer;
|
||||
bool m_bAddRotOffset;
|
||||
};
|
||||
static_assert(sizeof(CWeapon) == 0x18, "CWeapon: error");
|
Loading…
Add table
Add a link
Reference in a new issue