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

Windows fixes

This commit is contained in:
Jack Andersen
2016-02-24 10:53:26 -10:00
parent e9996034c9
commit eb3679dd88
6 changed files with 16 additions and 8 deletions

View File

@@ -1,6 +1,10 @@
#include "CDecalDataFactory.hpp"
#include "CDecalDescription.hpp"
#include "CGenDescription.hpp"
#include "CSwooshDescription.hpp"
#include "CElectricDescription.hpp"
#include "CParticleDataFactory.hpp"
#include "CModel.hpp"
#include "CSimplePool.hpp"
#include "CRandom16.hpp"
@@ -35,10 +39,10 @@ bool CDecalDataFactory::CreateDPSM(CDecalDescription* desc, CInputStream& in, CS
CGlobalRandom gr{rand};
FourCC clsId = CPF::GetClassID(in);
while(clsId != SBIG('_END'))
while (clsId != SBIG('_END'))
{
bool loadFirstDesc = false;
switch(clsId)
switch (clsId)
{
case SBIG('1SZE'):
case SBIG('1LFT'):
@@ -100,7 +104,7 @@ bool CDecalDataFactory::CreateDPSM(CDecalDescription* desc, CInputStream& in, CS
void CDecalDataFactory::GetQuadDecalInfo(CInputStream& in, CSimplePool* resPool, FourCC clsId, SQuadDescr& quad)
{
switch(clsId)
switch (clsId)
{
case SBIG('1LFT'):
case SBIG('2LFT'):