StopSound(SND_SIRR);
}
+#if 0
FadeSounds();
+#endif
/* Hero disappears */
DrawLevelField(ExitX, ExitY);
{
leveldir_current->handicap_level++;
SaveLevelSetup_SeriesInfo();
+ }
+ if (!level_editor_test_game)
+ {
if (level_nr < leveldir_current->last_level)
raise_level = TRUE;
}
src_x, src_y, TILEX, TILEY, 0, 0);
}
}
-#endif /* TARGET_X11_ANTIVE */
+#endif /* TARGET_X11_NATIVE */
#endif /* TARGET_X11 */
}
return TRUE;
}
+#if !defined(TARGET_SDL)
static boolean ForkAudioProcess(void)
{
if (pipe(audio.soundserver_pipe) < 0)
return TRUE;
}
+#endif
void UnixOpenAudio(void)
{
/* values for button_status */
#define MB_NOT_PRESSED FALSE
+#define MB_NOT_RELEASED TRUE
#define MB_RELEASED FALSE
#define MB_PRESSED TRUE
#define MB_MENU_CHOICE FALSE
else if (c == 'ü' || c == 'Ü')
c = 93;
- if (c >= 32 && c <= 95)
+ if ((c >= 32 && c <= 95) || c == '°')
{
int src_x = ((c - 32) % FONT_CHARS_PER_LINE) * font_width;
int src_y = ((c - 32) / FONT_CHARS_PER_LINE) * font_height + font_start;
int dest_x = x, dest_y = y;
+ if (c == '°')
+ {
+ src_x = (FONT_CHARS_PER_LINE + 1) * font_width;
+ src_y = 3 * font_height + font_start;
+ }
+
if (print_inverse)
{
BlitBitmap(font_bitmap, bitmap,
DX, DY, DXSIZE, DYSIZE, DOOR_GFX_PAGEX1, DOOR_GFX_PAGEY1);
/* toggle fullscreen */
- setup.fullscreen = ChangeVideoModeIfNeeded(setup.fullscreen);
+ ChangeVideoModeIfNeeded(setup.fullscreen);
+ setup.fullscreen = video.fullscreen_enabled;
/* redraw background to newly created backbuffer */
BlitBitmap(pix[PIX_BACK], backbuffer, 0,0, WIN_XSIZE,WIN_YSIZE, 0,0);