mirror of https://github.com/AxioDL/metaforce.git
19 lines
280 B
C++
19 lines
280 B
C++
|
#include "CBurstFire.hpp"
|
||
|
|
||
|
namespace urde
|
||
|
{
|
||
|
CBurstFire::CBurstFire(SBurst** bursts, s32 firstIndex)
|
||
|
: x10_(firstIndex)
|
||
|
{
|
||
|
SBurst** burst = bursts;
|
||
|
while (1)
|
||
|
{
|
||
|
if (!*burst)
|
||
|
break;
|
||
|
|
||
|
x18_bursts.push_back(*burst);
|
||
|
++burst;
|
||
|
}
|
||
|
}
|
||
|
}
|