mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
TFE now start a game
This commit is contained in:
parent
a1b399177a
commit
e1fd158fd6
|
@ -20,7 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#undef DECL_DLL
|
#undef DECL_DLL
|
||||||
#endif
|
#endif
|
||||||
#define DECL_DLL
|
#define DECL_DLL
|
||||||
|
#ifdef FIRST_ENCOUNTER
|
||||||
|
#include "Entities/Common/Particles.h"
|
||||||
|
#else
|
||||||
#include "EntitiesMP/Common/Particles.h"
|
#include "EntitiesMP/Common/Particles.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "Models/Enemies/Headman/headman.h"
|
#include "Models/Enemies/Headman/headman.h"
|
||||||
#include "Models/Enemies/Eyeman/Eyeman.h"
|
#include "Models/Enemies/Eyeman/Eyeman.h"
|
||||||
|
@ -1007,6 +1011,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel)
|
||||||
_moModel.RenderModel(rm);
|
_moModel.RenderModel(rm);
|
||||||
|
|
||||||
// render particles
|
// render particles
|
||||||
|
#ifndef FIRST_ENCOUNTER
|
||||||
if (_iParticleType!=PARTICLES_NONE) {
|
if (_iParticleType!=PARTICLES_NONE) {
|
||||||
Particle_PrepareSystem(pdp, apr);
|
Particle_PrepareSystem(pdp, apr);
|
||||||
Particle_PrepareEntity( 1, 0, 0, NULL);
|
Particle_PrepareEntity( 1, 0, 0, NULL);
|
||||||
|
@ -1020,7 +1025,7 @@ void RenderMessageModel(CDrawPort *pdp, const CTString &strModel)
|
||||||
}
|
}
|
||||||
Particle_EndSystem();
|
Particle_EndSystem();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
EndModelRenderingView();
|
EndModelRenderingView();
|
||||||
}
|
}
|
||||||
Stereo_SetBuffer(STEREO_BOTH);
|
Stereo_SetBuffer(STEREO_BOTH);
|
||||||
|
|
7
Sources/GameMP/StdAfx.h
Normal file → Executable file
7
Sources/GameMP/StdAfx.h
Normal file → Executable file
|
@ -26,8 +26,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#define DECL_DLL
|
#define DECL_DLL
|
||||||
#endif
|
#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/Global.h>
|
||||||
#include <EntitiesMP/Common/Common.h>
|
#include <EntitiesMP/Common/Common.h>
|
||||||
#include <EntitiesMP/Common/GameInterface.h>
|
#include <EntitiesMP/Common/GameInterface.h>
|
||||||
#include <EntitiesMP/Player.h>
|
#include <EntitiesMP/Player.h>
|
||||||
|
#endif
|
||||||
#undef DECL_DLL
|
#undef DECL_DLL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user