mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
make dist and compile fixes for mingw cross building
This commit is contained in:
parent
351e70b3bd
commit
a8e1da5d99
5 changed files with 7 additions and 4 deletions
|
@ -4,6 +4,8 @@ AUTOMAKE_OPTIONS= foreign
|
|||
SUBDIRS= debian doc include libs qw nq
|
||||
|
||||
EXTRA_DIST= ChangeLog RPM/build_rpm.in \
|
||||
tools/cross/cross-configure.sh tools/cross/cross-make.sh \
|
||||
tools/cross/cross.sh \
|
||||
tools/gas2masm/Makefile tools/gas2masm/gas2masm.c \
|
||||
tools/gas2masm/gas2masm.dsp tools/gas2masm/gas2masm.dsw \
|
||||
tools/gas2masm/gas2masm.mak tools/gas2masm/gas2masm.mdp \
|
||||
|
|
|
@ -687,10 +687,10 @@ AppActivate (BOOL fActive, BOOL minimize)
|
|||
|
||||
// enable/disable sound on focus gain/loss
|
||||
if (!ActiveApp && sound_active) {
|
||||
S_BlockSound ();
|
||||
//XXX S_BlockSound ();
|
||||
sound_active = false;
|
||||
} else if (ActiveApp && !sound_active) {
|
||||
S_UnblockSound ();
|
||||
//XXX S_UnblockSound ();
|
||||
sound_active = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -620,7 +620,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
|
|||
Sys_Init ();
|
||||
|
||||
// because sound is off until we become active
|
||||
S_BlockSound ();
|
||||
//XXX S_BlockSound ();
|
||||
|
||||
Sys_Printf ("Host_Init\n");
|
||||
Host_Init (&parms);
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "QF/compat.h"
|
||||
#include "QF/draw.h"
|
||||
#include "QF/render.h"
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
|
|||
Sys_Error ("Couldn't create event");
|
||||
|
||||
// because sound is off until we become active
|
||||
S_BlockSound ();
|
||||
//XXX S_BlockSound ();
|
||||
|
||||
Sys_Printf ("Host_Init\n");
|
||||
Host_Init ();
|
||||
|
|
Loading…
Reference in a new issue