mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Manual unrolling preprocessor stuff and added function
This function is just for GERMAN but it has a unique name so it's no problem. Had to slightly change how MercID gets populated
This commit is contained in:
@@ -959,7 +959,6 @@ void DoneFadeOutForDemoExitScreen( void )
|
|||||||
// unused
|
// unused
|
||||||
//extern INT8 gbFadeSpeed;
|
//extern INT8 gbFadeSpeed;
|
||||||
|
|
||||||
#ifdef GERMAN
|
|
||||||
void DisplayTopwareGermanyAddress()
|
void DisplayTopwareGermanyAddress()
|
||||||
{
|
{
|
||||||
VOBJECT_DESC vo_desc;
|
VOBJECT_DESC vo_desc;
|
||||||
@@ -994,7 +993,6 @@ void DisplayTopwareGermanyAddress()
|
|||||||
ExecuteBaseDirtyRectQueue();
|
ExecuteBaseDirtyRectQueue();
|
||||||
EndFrameBufferRender();
|
EndFrameBufferRender();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
UINT32 DemoExitScreenHandle(void)
|
UINT32 DemoExitScreenHandle(void)
|
||||||
{
|
{
|
||||||
|
|||||||
+11
-5
@@ -5367,11 +5367,17 @@ BOOLEAN DisplayShadedStretchedMercFace( UINT8 ubMercID, UINT16 usPosX, UINT16 us
|
|||||||
void DemoHiringOfMercs( )
|
void DemoHiringOfMercs( )
|
||||||
{
|
{
|
||||||
INT16 i;
|
INT16 i;
|
||||||
#ifdef GERMAN
|
UINT8 MercID[5];
|
||||||
UINT8 MercID[]={ 7, 10, 4, 14, 50 };
|
MercID[0] = 7;
|
||||||
#else
|
MercID[1] = 10;
|
||||||
UINT8 MercID[]={ 7, 10, 4, 42, 33 };
|
MercID[2] = 4;
|
||||||
#endif
|
if( g_lang == i18n::Lang::de ) {
|
||||||
|
MercID[3] = 14;
|
||||||
|
MercID[4] = 50;
|
||||||
|
} else {
|
||||||
|
MercID[3] = 42;
|
||||||
|
MercID[4] = 33;
|
||||||
|
}
|
||||||
MERC_HIRE_STRUCT HireMercStruct;
|
MERC_HIRE_STRUCT HireMercStruct;
|
||||||
static BOOLEAN fHaveCalledBefore=FALSE;
|
static BOOLEAN fHaveCalledBefore=FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user