TFE now start a game

This commit is contained in:
ptitSeb 2016-04-08 08:18:46 +02:00
parent a1b399177a
commit e1fd158fd6
2 changed files with 13 additions and 1 deletions

View File

@ -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);

7
Sources/GameMP/StdAfx.h Normal file → Executable file
View File

@ -26,8 +26,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define DECL_DLL
#endif
#ifdef FIRST_ENCOUNTER
#include <Entities/Global.h>
#include <Entities/Common/Common.h>
#include <Entities/Common/GameInterface.h>
#include <Entities/Player.h>
#else
#include <EntitiesMP/Global.h>
#include <EntitiesMP/Common/Common.h>
#include <EntitiesMP/Common/GameInterface.h>
#include <EntitiesMP/Player.h>
#endif
#undef DECL_DLL