mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Remove static specific stuff for egames
This commit is contained in:
parent
3e6c6b0291
commit
90edff0368
2
def.h
2
def.h
@ -6,8 +6,6 @@
|
||||
#include <Windows.h>
|
||||
|
||||
#define _INTRO false // true si images d'introduction
|
||||
#define _EGAMES false // true version pour eGames
|
||||
#define _SE false // true eGames Special Edition
|
||||
|
||||
|
||||
#define LXIMAGE 640 // dimensions de la fenêtre de jeu
|
||||
|
17
event.cpp
17
event.cpp
@ -415,7 +415,6 @@ static Phase table[] =
|
||||
399+40, 330,
|
||||
{1,TX_BUTTON_SETUP6},
|
||||
},
|
||||
#if !_EGAMES
|
||||
{
|
||||
WM_BUTTON7,
|
||||
0, {1,50},
|
||||
@ -428,7 +427,6 @@ static Phase table[] =
|
||||
514+40, 330,
|
||||
{1,TX_BUTTON_SETUP8},
|
||||
},
|
||||
#endif
|
||||
{
|
||||
WM_BUTTON9,
|
||||
0, {1,50},
|
||||
@ -494,7 +492,6 @@ static Phase table[] =
|
||||
399+40, 330,
|
||||
{1,TX_BUTTON_SETUP6},
|
||||
},
|
||||
#if !_EGAMES
|
||||
{
|
||||
WM_BUTTON7,
|
||||
0, {1,50},
|
||||
@ -507,7 +504,6 @@ static Phase table[] =
|
||||
514+40, 330,
|
||||
{1,TX_BUTTON_SETUP8},
|
||||
},
|
||||
#endif
|
||||
{
|
||||
WM_BUTTON9,
|
||||
0, {1,50},
|
||||
@ -1833,16 +1829,7 @@ bool CEvent::DrawButtons()
|
||||
{
|
||||
pos.x = 580;
|
||||
pos.y = 465;
|
||||
#if _EGAMES
|
||||
DrawText(m_pPixmap, pos, "Version 1.0", FONTLITTLE);
|
||||
#else
|
||||
DrawText(m_pPixmap, pos, "Version 1.7", FONTLITTLE);
|
||||
#endif
|
||||
#if _SE
|
||||
pos.x = 580;
|
||||
pos.y = 465-20;
|
||||
DrawText(m_pPixmap, pos, "S E", FONTRED);
|
||||
#endif
|
||||
}
|
||||
|
||||
if ( m_phase == WM_PHASE_SETUP ||
|
||||
@ -2280,9 +2267,7 @@ bool CEvent::DrawButtons()
|
||||
DrawTextCenter(TX_INFO_SETUP5, 169+40, 80);
|
||||
DrawTextCenter(TX_INFO_SETUP2, 284+40, 80);
|
||||
DrawTextCenter(TX_INFO_SETUP3, 399+40, 80);
|
||||
#if !_EGAMES
|
||||
DrawTextCenter(TX_INFO_SETUP4, 514+40, 80);
|
||||
#endif
|
||||
|
||||
sprintf(res, "x%d", m_speed);
|
||||
lg = GetTextWidth(res);
|
||||
@ -2302,7 +2287,6 @@ bool CEvent::DrawButtons()
|
||||
pos.y = 330-20;
|
||||
DrawText(m_pPixmap, pos, res);
|
||||
|
||||
#if !_EGAMES
|
||||
if ( m_pMovie->GetEnable() )
|
||||
{
|
||||
if ( m_bMovie ) LoadString(TX_OUI, res, 50);
|
||||
@ -2316,7 +2300,6 @@ bool CEvent::DrawButtons()
|
||||
pos.x = (514+40)-lg/2;
|
||||
pos.y = 330-20;
|
||||
DrawText(m_pPixmap, pos, res);
|
||||
#endif
|
||||
|
||||
if ( m_scrollSpeed == 0 ) LoadString(TX_INFO_NOSCROLL, res, 50);
|
||||
else sprintf(res, "%d", m_scrollSpeed);
|
||||
|
7
misc.cpp
7
misc.cpp
@ -124,14 +124,7 @@ void AddUserPath(char *pFilename)
|
||||
char last;
|
||||
SECURITY_ATTRIBUTES att;
|
||||
|
||||
#if _EGAMES
|
||||
strcpy(temp, "c:\\Planet Blupi Full\\");
|
||||
#if _SE
|
||||
strcpy(temp, "c:\\Planet Blupi SE\\");
|
||||
#endif
|
||||
#else
|
||||
strcpy(temp, "c:\\Planète Blupi\\");
|
||||
#endif
|
||||
|
||||
att.nLength = sizeof(SECURITY_ATTRIBUTES);
|
||||
att.lpSecurityDescriptor = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user