-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0916b4d
commit 3a1a057
Showing
7 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "Game.h" | ||
#include "util/Hooking.h" | ||
|
||
void IncrHealth(float amount) | ||
{ | ||
auto addr = GET_ADDRESS(0x576CA0, 0x5715E0, 0x000000); | ||
|
||
Hooking::Call(addr, amount); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#pragma once | ||
|
||
struct TuneData; | ||
|
||
struct GeneralAttributes | ||
{ | ||
float height; | ||
float crouchHeight; | ||
float ankleUpperOffset; | ||
float ankleLowerOffset; | ||
float ankleLength; | ||
float mass; | ||
float leftFootLockHipLimitMin; | ||
float leftFootLockHipLimitMax; | ||
float rightFootLockHipLimitMin; | ||
float rightFootLockHipLimitMax; | ||
}; | ||
|
||
struct OldRazielData | ||
{ | ||
char pad1[116]; | ||
|
||
float HealthInitial; | ||
float LowHealth; | ||
}; | ||
|
||
struct PlayerProp | ||
{ | ||
unsigned int playerVersion; | ||
|
||
TuneData* tuneData; | ||
GeneralAttributes general; | ||
OldRazielData oldData; | ||
}; | ||
|
||
void IncrHealth(float amount); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters