games/doom: fix the french problem, remove debug prints
This commit is contained in:
parent
439ef2f8ee
commit
30da40c16a
3 changed files with 13 additions and 13 deletions
|
@ -396,7 +396,7 @@ void HU_Init(void)
|
|||
int j;
|
||||
char buffer[9];
|
||||
|
||||
if (french)
|
||||
if (language == french)
|
||||
shiftxform = french_shiftxform;
|
||||
else
|
||||
shiftxform = english_shiftxform;
|
||||
|
@ -727,7 +727,7 @@ boolean HU_Responder(event_t *ev)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (french)
|
||||
if (language == french)
|
||||
c = ForeignTranslation(c);
|
||||
if (shiftdown || (c >= 'a' && c <= 'z'))
|
||||
c = shiftxform[c];
|
||||
|
|
|
@ -450,7 +450,7 @@ int I_StartSound(int id, int vol, int sep, int pitch, int priority)
|
|||
void I_StopSound(int handle)
|
||||
{
|
||||
USED(handle);
|
||||
printf("PORTME i_sound.c I_StopSound\n");
|
||||
// printf("PORTME i_sound.c I_StopSound\n");
|
||||
}
|
||||
|
||||
int I_SoundIsPlaying(int handle)
|
||||
|
@ -471,53 +471,53 @@ void I_UpdateSoundParams(int handle, int vol, int sep, int pitch)
|
|||
|
||||
void I_InitMusic(void)
|
||||
{
|
||||
printf("PORTME i_sound.c I_InitMusic\n");
|
||||
// printf("PORTME i_sound.c I_InitMusic\n");
|
||||
}
|
||||
|
||||
void I_ShutdownMusic(void)
|
||||
{
|
||||
printf("PORTME i_sound.c I_ShutdownMusic\n");
|
||||
// printf("PORTME i_sound.c I_ShutdownMusic\n");
|
||||
}
|
||||
|
||||
void I_SetMusicVolume(int volume)
|
||||
{
|
||||
USED(volume);
|
||||
printf("PORTME i_sound.c I_SetMusicVolume\n");
|
||||
// printf("PORTME i_sound.c I_SetMusicVolume\n");
|
||||
}
|
||||
|
||||
void I_PauseSong(int handle)
|
||||
{
|
||||
USED(handle);
|
||||
printf("PORTME i_sound.c I_PauseSong\n");
|
||||
// printf("PORTME i_sound.c I_PauseSong\n");
|
||||
}
|
||||
|
||||
void I_ResumeSong(int handle)
|
||||
{
|
||||
USED(handle);
|
||||
printf("PORTME i_sound.c I_ResumeSong\n");
|
||||
// printf("PORTME i_sound.c I_ResumeSong\n");
|
||||
}
|
||||
|
||||
int I_RegisterSong(void *data)
|
||||
{
|
||||
USED(data);
|
||||
printf("PORTME i_sound.c I_RegisterSong\n");
|
||||
// printf("PORTME i_sound.c I_RegisterSong\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void I_PlaySong(int handle, int looping)
|
||||
{
|
||||
USED(handle, looping);
|
||||
printf("PORTME i_sound.c I_PlaySong\n");
|
||||
// printf("PORTME i_sound.c I_PlaySong\n");
|
||||
}
|
||||
|
||||
void I_StopSong(int handle)
|
||||
{
|
||||
USED(handle);
|
||||
printf("PORTME i_sound.c I_StopSong\n");
|
||||
// printf("PORTME i_sound.c I_StopSong\n");
|
||||
}
|
||||
|
||||
void I_UnRegisterSong(int handle)
|
||||
{
|
||||
USED(handle);
|
||||
printf("PORTME i_sound.c I_UnregisterSong\n");
|
||||
// printf("PORTME i_sound.c I_UnregisterSong\n");
|
||||
}
|
||||
|
|
|
@ -1646,7 +1646,7 @@ void WI_loadData(void)
|
|||
sp_secret = W_CacheLumpName("WISCRT2", PU_STATIC);
|
||||
|
||||
// Yuck.
|
||||
if (french)
|
||||
if (language == french)
|
||||
{
|
||||
// "items"
|
||||
if (netgame && !deathmatch)
|
||||
|
|
Loading…
Reference in a new issue