forked from len0rd/rockbox
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended). Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
This commit is contained in:
parent
e19857e712
commit
183e45e8d0
49 changed files with 53 additions and 2191 deletions
|
@ -896,32 +896,22 @@ void Host_Init (quakeparms_t *parms)
|
|||
if (!host_colormap)
|
||||
Sys_Error ("Couldn't load gfx/colormap.lmp");
|
||||
|
||||
#ifndef _WIN32 // on non win32, mouse comes before video for security reasons
|
||||
IN_Init ();
|
||||
#endif
|
||||
VID_Init (host_basepal);
|
||||
|
||||
Draw_Init ();
|
||||
SCR_Init ();
|
||||
R_Init ();
|
||||
#ifndef _WIN32
|
||||
// on Win32, sound initialization has to come before video initialization, so we
|
||||
// can put up a popup if the sound hardware is in use
|
||||
S_Init ();
|
||||
#else
|
||||
|
||||
#ifdef GLQUAKE
|
||||
// FIXME: doesn't use the new one-window approach yet
|
||||
S_Init ();
|
||||
#endif
|
||||
|
||||
#endif // _WIN32
|
||||
CDAudio_Init ();
|
||||
Sbar_Init ();
|
||||
CL_Init ();
|
||||
#ifdef _WIN32 // on non win32, mouse comes before video for security reasons
|
||||
IN_Init ();
|
||||
#endif
|
||||
}
|
||||
|
||||
Cbuf_InsertText ("exec quake.rc\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue