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:
parent
5f5ab1fdfd
commit
15903fe2d3
1 changed files with 10 additions and 5 deletions
|
@ -759,9 +759,8 @@ void CL_Disconnect (void)
|
||||||
|
|
||||||
Cvar_ApplyLatches(CVAR_SERVEROVERRIDE);
|
Cvar_ApplyLatches(CVAR_SERVEROVERRIDE);
|
||||||
|
|
||||||
#ifdef _WIN32
|
if (VID_SetWindowCaption)
|
||||||
SetWindowText (mainwindow, "FTE QuakeWorld: disconnected");
|
VID_SetWindowCaption("FTE QuakeWorld: disconnected");
|
||||||
#endif
|
|
||||||
|
|
||||||
// stop sounds (especially looping!)
|
// stop sounds (especially looping!)
|
||||||
S_StopAllSounds (true);
|
S_StopAllSounds (true);
|
||||||
|
@ -1978,7 +1977,13 @@ void CL_Download_f (void)
|
||||||
CL_Minimize_f
|
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)
|
// if (modestate == MS_WINDOWED)
|
||||||
// ShowWindow(mainwindow, SW_MINIMIZE);
|
// ShowWindow(mainwindow, SW_MINIMIZE);
|
||||||
// else
|
// else
|
||||||
|
@ -2805,4 +2810,4 @@ void Host_Shutdown(void)
|
||||||
void SV_EndRedirect (void)
|
void SV_EndRedirect (void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue