diff options
author | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-28 23:31:50 +0300 |
---|---|---|
committer | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-29 01:59:40 +0300 |
commit | 183e45e8d0b4425bbd41fab37f2a4dc143e1e27c (patch) | |
tree | 5e25c211f6a3bd46dc594123451af00c1bf7ef9c /apps/plugins/sdl/progs/quake/host.c | |
parent | e19857e712ff54cec08d5a6342a32dae2788cb50 (diff) | |
download | rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.tar.gz rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.zip |
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended).
Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
Diffstat (limited to 'apps/plugins/sdl/progs/quake/host.c')
-rw-r--r-- | apps/plugins/sdl/progs/quake/host.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/sdl/progs/quake/host.c b/apps/plugins/sdl/progs/quake/host.c index 9a5f7c29d6..6e30503d77 100644 --- a/apps/plugins/sdl/progs/quake/host.c +++ b/apps/plugins/sdl/progs/quake/host.c | |||
@@ -896,32 +896,22 @@ void Host_Init (quakeparms_t *parms) | |||
896 | if (!host_colormap) | 896 | if (!host_colormap) |
897 | Sys_Error ("Couldn't load gfx/colormap.lmp"); | 897 | Sys_Error ("Couldn't load gfx/colormap.lmp"); |
898 | 898 | ||
899 | #ifndef _WIN32 // on non win32, mouse comes before video for security reasons | ||
900 | IN_Init (); | 899 | IN_Init (); |
901 | #endif | ||
902 | VID_Init (host_basepal); | 900 | VID_Init (host_basepal); |
903 | 901 | ||
904 | Draw_Init (); | 902 | Draw_Init (); |
905 | SCR_Init (); | 903 | SCR_Init (); |
906 | R_Init (); | 904 | R_Init (); |
907 | #ifndef _WIN32 | ||
908 | // on Win32, sound initialization has to come before video initialization, so we | ||
909 | // can put up a popup if the sound hardware is in use | ||
910 | S_Init (); | 905 | S_Init (); |
911 | #else | ||
912 | 906 | ||
913 | #ifdef GLQUAKE | 907 | #ifdef GLQUAKE |
914 | // FIXME: doesn't use the new one-window approach yet | 908 | // FIXME: doesn't use the new one-window approach yet |
915 | S_Init (); | 909 | S_Init (); |
916 | #endif | 910 | #endif |
917 | 911 | ||
918 | #endif // _WIN32 | ||
919 | CDAudio_Init (); | 912 | CDAudio_Init (); |
920 | Sbar_Init (); | 913 | Sbar_Init (); |
921 | CL_Init (); | 914 | CL_Init (); |
922 | #ifdef _WIN32 // on non win32, mouse comes before video for security reasons | ||
923 | IN_Init (); | ||
924 | #endif | ||
925 | } | 915 | } |
926 | 916 | ||
927 | Cbuf_InsertText ("exec quake.rc\n"); | 917 | Cbuf_InsertText ("exec quake.rc\n"); |