forked from fte/fteqw
1
0
Fork 0

More portable (SDL stuff)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@594 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-09 23:31:48 +00:00
parent 5f5ab1fdfd
commit 15903fe2d3
1 changed files with 10 additions and 5 deletions

View File

@ -759,9 +759,8 @@ void CL_Disconnect (void)
Cvar_ApplyLatches(CVAR_SERVEROVERRIDE);
#ifdef _WIN32
SetWindowText (mainwindow, "FTE QuakeWorld: disconnected");
#endif
if (VID_SetWindowCaption)
VID_SetWindowCaption("FTE QuakeWorld: disconnected");
// stop sounds (especially looping!)
S_StopAllSounds (true);
@ -1978,7 +1977,13 @@ void CL_Download_f (void)
CL_Minimize_f
=================
*/
void CL_Windows_f (void) {
void CL_Windows_f (void)
{
if (!mainwindow)
{
Con_Printf("Cannot comply\n");
return;
}
// if (modestate == MS_WINDOWED)
// ShowWindow(mainwindow, SW_MINIMIZE);
// else
@ -2805,4 +2810,4 @@ void Host_Shutdown(void)
void SV_EndRedirect (void)
{
}
#endif
#endif