A few TFE changes

This commit is contained in:
ptitSeb 2016-04-08 13:40:56 +02:00
parent e1fd158fd6
commit df746ab6d1
2 changed files with 10 additions and 0 deletions

View File

@ -118,7 +118,11 @@ extern void SetupCompModel_t(const CTString &strName)
_colLight = C_GRAY;
_colAmbient = C_vdGRAY;
_iParticleType = PARTICLES_NONE;
#ifdef FIRST_ENCOUNTER
_moFloor.SetData_t(CTFILENAME("Models\\Computer\\Floor.mdl"));
#else
_moFloor.SetData_t(CTFILENAME("ModelsMP\\Computer\\Floor.mdl"));
#endif
_moFloor.mo_toTexture.SetData_t(CTFILENAME("Models\\Computer\\Floor.tex"));
pmo->mo_colBlendColor = 0xFFFFFFFF;
if (strName=="Rocketman") {

6
Sources/GameMP/Game.cpp Normal file → Executable file
View File

@ -2823,8 +2823,14 @@ void CGame::LCDInit(void)
{
try {
_toBcgClouds.SetData_t(CTFILENAME("Textures\\General\\Background6.tex"));
#ifdef FIRST_ENCOUNTER
_toPointer.SetData_t(CTFILENAME("Textures\\General\\Pointer.tex"));
_toBcgGrid.SetData_t(CTFILENAME("Textures\\General\\Grid16x16-dot.tex"));
#else
_toPointer.SetData_t(CTFILENAME("TexturesMP\\General\\Pointer.tex"));
_toBcgGrid.SetData_t(CTFILENAME("TexturesMP\\General\\grid.tex"));
#endif
// thoses are not in original TFE datas and must be added externaly (with SE1_10.gro or a minimal versio of it)
_toBackdrop.SetData_t(CTFILENAME("TexturesMP\\General\\MenuBack.tex"));
_toSamU.SetData_t(CTFILENAME("TexturesMP\\General\\SamU.tex"));
_toSamD.SetData_t(CTFILENAME("TexturesMP\\General\\SamD.tex"));