mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 04:57:00 +00:00
Replace int types in Retro code
Retro seemingly avoided using the Dolphin
typedefs in most places, opting to use int/uint
instead. This likely means they didn't use
u8/s8/u16/s16/etc either.
Former-commit-id: 133326ae40
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
|
||||
class CHealthInfo {
|
||||
public:
|
||||
CHealthInfo(f32 hp, f32 resist) : x0_health(hp), x4_knockbackResistance(resist) {}
|
||||
CHealthInfo(float hp, float resist) : x0_health(hp), x4_knockbackResistance(resist) {}
|
||||
void SetHP(float hp) { x0_health = hp; }
|
||||
void SetKnockbackResistance(float resist) { x4_knockbackResistance = resist; }
|
||||
float GetHP() const { return x0_health; }
|
||||
|
||||
private:
|
||||
f32 x0_health;
|
||||
f32 x4_knockbackResistance;
|
||||
float x0_health;
|
||||
float x4_knockbackResistance;
|
||||
};
|
||||
CHECK_SIZEOF(CHealthInfo, 0x8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user