1
0
Fork 0
forked from fte/fteqw
Commit graph

3201 commits

Author SHA1 Message Date
Spoike
1456ed1ac7 Actually close sockets. It helps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 21:54:10 +00:00
Spoike
41da9e4655 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:56:32 +00:00
Mark Olsen
b14d99fd6a Attempt to unbreak systems without IPv6.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:10:35 +00:00
Spoike
e4c9d744a8 Why do I still have commit access?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-30 05:31:16 +00:00
Spoike
bf53bd5577 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-29 16:15:04 +00:00
Spoike
6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Lance
c020463677 Fixed the MingW32 crosscompile to use i586-mingw32msvc-strip instead of
the native strip program


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:20:10 +00:00
Mark Olsen
178b178f36 s/strupr/strtoupper/g s/strlwr/strtolower/g
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:10:48 +00:00
Mark Olsen
311a71ecf8 Also build pr_bgcmd.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-15 02:12:55 +00:00
Mark Olsen
6c17a4a7f0 Implemented two Microsoft-functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:36:46 +00:00
Mark Olsen
71ade84614 Empty enums are boring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:32:28 +00:00
Mark Olsen
7c4d2a2309 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:50:45 +00:00
Mark Olsen
b7a5f90f8a Subtracting pointers of different types isn't valid C. Boo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:49:26 +00:00
Mark Olsen
dee0c9d6cf Protect against multiple inclusion.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:48:23 +00:00
Mark Olsen
eda9cfded4 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:46:30 +00:00
Mark Olsen
fc60c486e8 Marked CL_CheckModelResources() as static. Prototyped the function to make compilation of broken code fail on SMVC too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:43:28 +00:00
Spoike
1a8690e104 IPX only if ipx is supported by the system.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 08:55:41 +00:00
Mark Olsen
a6e7171f30 A bit closer to actually compiling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 05:39:50 +00:00
Lance
41a92be8b2 Defined GL_BGRA_EXT so morphos and macosx crosscompilers can do the OpenGL targets again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 12:05:29 +00:00
Spoike
c41148705c nexuiz support: menu cvar_defstring = #89
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:23:13 +00:00
Spoike
498173e878 It has come to light that I suck. This incorporates the fixes already made to sys_linux since my huge commit. Again, these have not been tested. But they are more likely to work properly... As in the syntax errors are fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:19:22 +00:00
Mark Olsen
308962afa9 Since this code doesn't even compile, I guess it is fair to assume that it hasn't been tested o:)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 12:20:46 +00:00
Spoike
e8c6d25fe1 Should compile now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 10:09:41 +00:00
Spoike
0b792a6355 Made the boolean type consistently int or float, without using conversions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3053 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 23:29:13 +00:00
Spoike
c6aca04939 Track special modelindexes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3052 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 23:10:28 +00:00
Spoike
dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
Spoike
bf8eed727e Reject double dots in macro names (fred.4 is allowed but fred..4 is not). This allows Hexen2 code to compile again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-30 11:10:58 +00:00
Spoike
98ce1d689d Fixed fullspawndata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-23 20:56:15 +00:00
Spoike
81a86449ef Might as well make it generate -TFTE if its not going to work in DP anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-22 00:04:15 +00:00
Spoike
819d541362 local float blob = someformula; works now.
added support for -TDP (and #pragma TARGET DP). It is identical to -TFTE except for the instructions used. To be used with Blub's patch when he commits it for DP. It should allow more, this is a first-version.
#if defined(A) && defined(B) will also work as expected. Careful with nesting however, as complex formulas will not. Please use only a single operator.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 23:04:36 +00:00
Spoike
e7aa21bf29 Stripped some prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 22:02:39 +00:00
Spoike
baff3de5af Initial commit. Needs work. Mostly functional though.
Requires a cutting edge version of fteqcc... Older versions have bugs and stuff.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3045 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 22:00:54 +00:00
Spoike
99c6152b4e Support for DP_SV_SPAWNFUNC_PREFIX in the .ent/bspent loader thingie. I'll add the extension name when I get around to fixing up and committing that chunk of code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-13 09:25:51 +00:00
Spoike
0629d013b5 Fixed bug causing parameter conflict in statements like func(array[idx], func2(blah))
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3043 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-13 09:17:47 +00:00
Spoike
600f27876c Fixed Z_FreeTags. Yes. Really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-08 19:18:12 +00:00
Mark Olsen
bfee598a7a Yeah, so sue me!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-06 05:38:19 +00:00
Mark Olsen
0896e57367 Send a f_qtv command to the client on first connect.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3040 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 16:18:17 +00:00
Spoike
9f5fb267c3 Makes nexuiz's csqc work ever so slightly better (pics with size 0*0 now mean to draw at the natural size, instead of 64*64...).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:58:22 +00:00
Spoike
a44068f9b4 Slightly better handling of .qtv files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:56:11 +00:00
Spoike
0a4c047eec Greater internal control over which variables are saved. Fixed a bug regarding temps and array references, which a couple of the nexuiz people found but didn't report (personally I found it was needed to be able to fire, but whatever).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:55:01 +00:00
Spoike
880a70837c DP_SV_SPAWNFUNC_PREFIX support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:51:41 +00:00
Mark Olsen
b7fd77c403 Blind, untested fix of Z_FreeTags().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-18 18:25:39 +00:00
Molgrum
c932cfbfab Add include paths and symbols to fix syntax error in Eclipse.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-12 00:22:22 +00:00
Mark Olsen
2540c0bf74 Fixed Z_TagMalloc() to correctly link the double-linked list. Fixed Z_TagFree() to correctly unlink entries from the tree. Fixes various crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-12 00:17:32 +00:00
TimeServ
fcbfb0e22c change registry entry for win32 dedicated for future use
misc sound fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-11 03:39:34 +00:00
Mark Olsen
704fb438c9 Another SNAFU fixed. This should be the end of superbloated entity updates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 13:11:46 +00:00
Mark Olsen
0159d7a211 Spike, you suck. Always diff before commit :/. Delta updates are there for a reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 08:56:03 +00:00
Mark Olsen
24e178bc37 Buffer overflows are bad for you, m'kay?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-23 19:17:19 +00:00
TimeServ
828b3e99ab fix a few casting issues allowing maps such as warpa, etc. to load (probably not done here)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-06 12:11:27 +00:00
Spoike
8af647d7d4 Blub\0's latest patch. This one fixes up for arguments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-27 02:48:59 +00:00