From e1fd158fd6f4caab7914d0ac3424519b41c1bc0c Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 8 Apr 2016 08:18:46 +0200 Subject: [PATCH] TFE now start a game --- Sources/GameMP/CompModels.cpp | 7 ++++++- Sources/GameMP/StdAfx.h | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) mode change 100644 => 100755 Sources/GameMP/StdAfx.h diff --git a/Sources/GameMP/CompModels.cpp b/Sources/GameMP/CompModels.cpp index b828575..c938615 100755 --- a/Sources/GameMP/CompModels.cpp +++ b/Sources/GameMP/CompModels.cpp @@ -20,7 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #undef DECL_DLL #endif #define DECL_DLL +#ifdef FIRST_ENCOUNTER +#include "Entities/Common/Particles.h" +#else #include "EntitiesMP/Common/Particles.h" +#endif #include "Models/Enemies/Headman/headman.h" #include "Models/Enemies/Eyeman/Eyeman.h" @@ -1007,6 +1011,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel) _moModel.RenderModel(rm); // render particles +#ifndef FIRST_ENCOUNTER if (_iParticleType!=PARTICLES_NONE) { Particle_PrepareSystem(pdp, apr); Particle_PrepareEntity( 1, 0, 0, NULL); @@ -1020,7 +1025,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel) } Particle_EndSystem(); } - +#endif EndModelRenderingView(); } Stereo_SetBuffer(STEREO_BOTH); diff --git a/Sources/GameMP/StdAfx.h b/Sources/GameMP/StdAfx.h old mode 100644 new mode 100755 index 22ada9b..160489d --- a/Sources/GameMP/StdAfx.h +++ b/Sources/GameMP/StdAfx.h @@ -26,8 +26,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #define DECL_DLL #endif +#ifdef FIRST_ENCOUNTER +#include +#include +#include +#include +#else #include #include #include #include +#endif #undef DECL_DLL