2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

CScriptGunTurret: Move static const data into the cpp file

Makes the data fully internally linked and also allows making said data
constexpr.
This commit is contained in:
Lioncash
2020-03-03 02:59:50 -05:00
parent 58a2f6aeb2
commit f4fc17bee0
4 changed files with 63 additions and 77 deletions

View File

@@ -35,7 +35,7 @@ class CBurstFire {
rstl::reserved_vector<const SBurst*, 16> x1c_burstDefs;
public:
CBurstFire(const SBurst** burstDefs, s32 firstBurstCount);
CBurstFire(const SBurst* const* burstDefs, s32 firstBurstCount);
void SetAvoidAccuracy(bool b) { x14_25_avoidAccuracy = b; }
void SetBurstType(s32 type) { x0_burstType = type; }