2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +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

@@ -9,7 +9,7 @@
#include <zeus/Math.hpp>
namespace urde {
CBurstFire::CBurstFire(const SBurst** burstDefs, s32 firstBurstCount) : x10_firstBurstCounter(firstBurstCount) {
CBurstFire::CBurstFire(const SBurst* const* burstDefs, s32 firstBurstCount) : x10_firstBurstCounter(firstBurstCount) {
while (*burstDefs) {
x1c_burstDefs.push_back(*burstDefs);
++burstDefs;