index 21501c6705baacbfc11a2711f7789163b9c9556e..4120c0271cc8f29f3ec32f284105990b41bad66e 100644 (file)
implementation
uses
implementation
uses
- SysUtils, SDL, GL, Math,
- e_log, e_graphics, e_input,
+ SysUtils, SDL, Math,
+ e_log, e_graphics, e_input, e_sound,
g_options, g_window, g_console, g_game, g_menu, g_gui, g_main;
const
g_options, g_window, g_console, g_game, g_menu, g_gui, g_main;
const
SDL_JOYAXISMOTION: HandleJoyAxis(ev.jaxis);
SDL_JOYHATMOTION: HandleJoyHat(ev.jhat);
SDL_VIDEOEXPOSE: sys_Repaint;
SDL_JOYAXISMOTION: HandleJoyAxis(ev.jaxis);
SDL_JOYHATMOTION: HandleJoyHat(ev.jhat);
SDL_VIDEOEXPOSE: sys_Repaint;
+ SDL_ACTIVEEVENT: e_MuteChannels((ev.active.gain = 0) and gMuteWhenInactive);
end
end
end;
end
end
end;