mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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
|
||||
//extern INT8 gbFadeSpeed;
|
||||
|
||||
#ifdef GERMAN
|
||||
void DisplayTopwareGermanyAddress()
|
||||
{
|
||||
VOBJECT_DESC vo_desc;
|
||||
@@ -994,7 +993,6 @@ void DisplayTopwareGermanyAddress()
|
||||
ExecuteBaseDirtyRectQueue();
|
||||
EndFrameBufferRender();
|
||||
}
|
||||
#endif
|
||||
|
||||
UINT32 DemoExitScreenHandle(void)
|
||||
{
|
||||
|
||||
+11
-5
@@ -5367,11 +5367,17 @@ BOOLEAN DisplayShadedStretchedMercFace( UINT8 ubMercID, UINT16 usPosX, UINT16 us
|
||||
void DemoHiringOfMercs( )
|
||||
{
|
||||
INT16 i;
|
||||
#ifdef GERMAN
|
||||
UINT8 MercID[]={ 7, 10, 4, 14, 50 };
|
||||
#else
|
||||
UINT8 MercID[]={ 7, 10, 4, 42, 33 };
|
||||
#endif
|
||||
UINT8 MercID[5];
|
||||
MercID[0] = 7;
|
||||
MercID[1] = 10;
|
||||
MercID[2] = 4;
|
||||
if( g_lang == i18n::Lang::de ) {
|
||||
MercID[3] = 14;
|
||||
MercID[4] = 50;
|
||||
} else {
|
||||
MercID[3] = 42;
|
||||
MercID[4] = 33;
|
||||
}
|
||||
MERC_HIRE_STRUCT HireMercStruct;
|
||||
static BOOLEAN fHaveCalledBefore=FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user