Add CPlayerState (#5)

* Start CPlayerState

* CPlayerState::CalculateHealth symbol rename

* Add inline constructor for CHealthInfo

* Add skeleton for the rest of CPlayerState

* Match CPlayerState::DecrPickUp

* Match more methods in CPlayerState

* Run formatting

* Fix function order

* Improving the constants

Former-commit-id: 1e30daa096
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-01 17:08:15 +03:00
committed by GitHub
parent ba75752e14
commit bb86f3dc01
7 changed files with 603 additions and 36 deletions

View File

@@ -0,0 +1,23 @@
#ifndef _CSTATICINTERFERENCE_HPP
#define _CSTATICINTERFERENCE_HPP
#include "types.h"
#include "MetroidPrime/TGameTypes.hpp"
#include "rstl/vector.hpp"
struct CStaticInterferenceSource {
TUniqueId x0_id;
float x4_magnitude;
float x8_timeLeft;
};
class CStaticInterference {
public:
CStaticInterference(int);
private:
rstl::vector< CStaticInterferenceSource > sources;
};
#endif