summaryrefslogtreecommitdiff
path: root/src/control/Darkel.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-09 18:50:35 +0200
committeraap <aap@papnet.eu>2019-07-09 18:50:35 +0200
commita65dd41da736a12866526abc1405cbaa154771a8 (patch)
tree387f8103d69d373341e67a6373f681a454aa06db /src/control/Darkel.h
parent74fcbc8c0a6bbac8e8057655c5f1133e15c63656 (diff)
yet more CAutomobile
Diffstat (limited to 'src/control/Darkel.h')
-rw-r--r--src/control/Darkel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/control/Darkel.h b/src/control/Darkel.h
index da1df24a..35d849d2 100644
--- a/src/control/Darkel.h
+++ b/src/control/Darkel.h
@@ -1,6 +1,9 @@
#pragma once
#include "Weapon.h"
+class CVehicle;
+class CPed;
+
enum eKillFrenzyStatus
{
KILLFRENZY_NONE,
@@ -37,8 +40,8 @@ public:
static void Init();
static int16 QueryModelsKilledByPlayer(int32 modelId);
static eKillFrenzyStatus ReadStatus();
- static int32 RegisterCarBlownUpByPlayer(eKillFrenzyStatus status);
- static void RegisterKillByPlayer(int32 modelid, eWeaponType weapontype, bool flag);
+ static void RegisterCarBlownUpByPlayer(CVehicle *vehicle);
+ static void RegisterKillByPlayer(CPed *victim, eWeaponType weapontype, bool headshot = false);
static void RegisterKillNotByPlayer();
static void ResetModelsKilledByPlayer();
static void ResetOnPlayerDeath();