diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-11-13 18:58:41 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-11-13 18:58:41 +0000 |
commit | bbefa87db18f5b76dc67efa00b7cc798361480f3 (patch) | |
tree | efc130fe3b4fe22f111154a8720491b756daa7bd /build | |
parent | d65e02496cd9873f5bb0297661b19762b44ddfec (diff) |
Hacked the source to get it compile on Windows Mobile using CeGCC toolchain.
Fixed nasty memory corruption bug in UI scripts loading code.
Fixed software refresh compilation issues on Windows.
Inactive MVD channels are now completely destroyed and recreated once
they are active again, and they are no longer allowed to stay in waiting
state forever.
Fixed delay buffer overflow resulting in fatal connection error.
Preserve MVD stream flags in demos recorded on GTV server,
and handle `inuse' flag correctly on players when writing gamestate.
Updated documentation and Debian package descriptions.
Diffstat (limited to 'build')
-rw-r--r-- | build/q2pro.mk | 8 | ||||
-rw-r--r-- | build/q2proded.mk | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/build/q2pro.mk b/build/q2pro.mk index 39f7ab7..fb52702 100644 --- a/build/q2pro.mk +++ b/build/q2pro.mk @@ -82,7 +82,13 @@ ifdef USE_DINPUT SRCFILES+=in_dx.c endif -LDFLAGS+=-mwindows -lws2_32 -lwinmm +LDFLAGS+=-mwindows +ifdef WINCE +SRCFILES+=win_ascii.c +LDFLAGS+=-lwinsock -lmmtimer +else +LDFLAGS+=-lws2_32 -lwinmm +endif RESFILES=q2pro.rc diff --git a/build/q2proded.mk b/build/q2proded.mk index 0b9b684..93b66b1 100644 --- a/build/q2proded.mk +++ b/build/q2proded.mk @@ -20,7 +20,7 @@ include ../config.mk TARGET=../q2proded$(EXESUFFIX) CFLAGS+=-DUSE_CLIENT=0 -LDFLAGS+=-lm +#LDFLAGS+=-lm include $(SRCDIR)/build/common.mk @@ -30,7 +30,13 @@ include $(SRCDIR)/build/server.mk ifdef MINGW SRCFILES+=sys_win.c -LDFLAGS+=-mconsole -lws2_32 -lwinmm -ladvapi32 +LDFLAGS+=-mconsole +ifdef WINCE +SRCFILES+=win_ascii.c +LDFLAGS+=-lwinsock -lmmtimer +else +LDFLAGS+=-lws2_32 -lwinmm -ladvapi32 +endif RESFILES+=q2proded.rc else SRCFILES+=sys_unix.c |