mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
remove UTIL and JA2 preprocessor definitions (#66)
UTIL is never used, and JA2 is always used. assumption being we'll never make 1.13 for Wizardry 8. video2.h doesn't exist, which prevented me from deleting it.
This commit is contained in:
@@ -9,7 +9,6 @@ void SpecifyButtonSoundScheme( INT32 iButtonID, INT8 bSoundScheme )
|
||||
ButtonList[ iButtonID ]->ubSoundSchemeID = (UINT8)bSoundScheme;
|
||||
if( bSoundScheme == BUTTON_SOUND_SCHEME_GENERIC )
|
||||
{
|
||||
#ifdef JA2
|
||||
switch( guiCurrentScreen )
|
||||
{
|
||||
case MAINMENU_SCREEN:
|
||||
@@ -46,7 +45,6 @@ void SpecifyButtonSoundScheme( INT32 iButtonID, INT8 bSoundScheme )
|
||||
//DEBUG_SCREEN,
|
||||
//SEX_SCREEN,
|
||||
}
|
||||
#endif
|
||||
if( bSoundScheme == BUTTON_SOUND_SCHEME_GENERIC )
|
||||
bSoundScheme = BUTTON_SOUND_SCHEME_NONE;
|
||||
}
|
||||
@@ -65,7 +63,6 @@ void PlayButtonSound( INT32 iButtonID, INT32 iSoundType )
|
||||
case BUTTON_SOUND_SCHEME_GENERIC:
|
||||
break;
|
||||
|
||||
#ifdef JA2
|
||||
|
||||
case BUTTON_SOUND_SCHEME_VERYSMALLSWITCH1:
|
||||
switch( iSoundType )
|
||||
@@ -180,7 +177,6 @@ void PlayButtonSound( INT32 iButtonID, INT32 iSoundType )
|
||||
}
|
||||
break;
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user