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
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
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
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
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
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
Spoike
7c6f37c4ae
Yes Blub, I suck.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-17 07:41:59 +00:00
Spoike
887a278bce
patch from Blub\0 to fix issues with compiling:
...
b = min(a, b);
with -TFTE active.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-10 20:38:17 +00:00
Spoike
519983dee2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 22:06:22 +00:00
TimeServ
a61d819f68
fix hash table inits, fix shader inits
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 18:06:58 +00:00
TimeServ
73f580157f
fix malloc call, fix memset typo in qclib
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 17:27:57 +00:00
TimeServ
0739c739a6
BZ_* no longer clears, qclib no longer assumes memalloc clears
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 12:55:53 +00:00
Mark Olsen
c44fb03810
CHARACTURE -> CHARACTER
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:28:35 +00:00
Mark Olsen
83d23423ab
characture -> character
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Lance
ff6630d28c
Patch from BlackHC, Increase maximum macro size and fix endless loop bug caused by empty macros
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-27 01:14:44 +00:00
Lance
8c6dccbb70
BlackHC's patch to add support for \ (backslash) in macros
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-26 18:32:41 +00:00
Spoike
d591079731
Fixes Black's latest bug. Ensure saved return values are in a locked temp, and not corrupted by the following function call.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 15:54:36 +00:00
Spoike
b6fc3c7668
Changed the default build location of fteqccgui debug builds, to a relative path which is likely to exist on more computers than just my desktop.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:34:21 +00:00
Spoike
7584ae2e34
Changed the pf_clientstat function and parameters to match the ordering originally documented in the ext_csqc extension I posted on wiki.quakesrc.org, as per krimzon's recommendation. Updated qclib to support querying fields based on their offset rather than purely a name basis, to support the clientstat change.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:31:01 +00:00
Spoike
ae0a8461b7
Black's fix for #define macro parameters in fteqcc.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 00:37:56 +00:00
Spoike
67f89fa7f0
Expanded the maximum length of frame macro names to 64-1 characters as per LordHavoc's patch. Also added a message when a frame macro name is too long.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:43:53 +00:00
Spoike
1c85bc472b
stringtonative knows better
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-30 22:58:16 +00:00
Spoike
7e722828d6
divVerent's revised fteqcc makefile
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-01 13:02:19 +00:00
Molgrum
3b1ac20640
s/componants/components + missing newline.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Molgrum
0f02f12b8b
s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum
379efc8376
s/thier/their
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Spoike
9af1ba84cc
A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
Molgrum
8f285d7787
Fix an error here that I caused.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 14:50:53 +00:00
Molgrum
cf1a12ee11
Trying to fix the remaining warnings. Is this correct? Builds that now compiles with no warnings in VS 2005: Debug, Debug Dedicated Server and GLDebug.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 02:37:59 +00:00
Molgrum
865a5a003d
Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +00:00
TimeServ
d3565abc3a
fixing more builds
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2583 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:42:10 +00:00
Spoike
3ca64edd06
*Insert Witty Comment Here* Make the windows version match the linux version, fully fixing the 'size-of-russia' memory leak
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 13:32:17 +00:00
Mark Olsen
3ff0218436
Don't byteswap the beginning of the string table, please. (commited by proxy for Spike)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2526 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-20 17:05:35 +00:00
Mark Olsen
574e7c1e11
Don't byteswap the beginning of the string table, please. (commited by proxy for Spike)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-20 17:02:38 +00:00
Mark Olsen
d0c6093ae4
Fixed a memory leak the size of Russia.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-16 17:14:39 +00:00
Spoike
7ea15cfdc1
Fixed a recent bug. EvaluateDebugString (ie: the give command) can now accept numbers as entities to retrieve fields from.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-19 23:55:04 +00:00
Spoike
d74c6f738a
Added some new bugs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 21:33:24 +00:00
Spoike
8c987f6bf9
Fixed the comma operator to function correctly.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-09 22:30:16 +00:00
TimeServ
b8b56f03cc
small fix (int byte assumption)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-17 20:56:05 +00:00
Spoike
31a53c738c
puts apparently includes a newline character...
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:55:25 +00:00
Spoike
cced0039c3
And don't forget +=/-= with vectors.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:45:10 +00:00
Spoike
3671902d06
Added a warning for void() functionname() {} functions.
...
Fixed the ent.field.field += bug; by swapping the order of statements.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:35:58 +00:00
Spoike
834ed1c3dc
made commandline fteqcc write to fteqcc.log
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 02:09:52 +00:00
Spoike
6a31083ed5
This hopefully fixes a warning or two.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 01:40:32 +00:00
Spoike
70e7fb7b0c
Marked two warnings as mundane.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:03:32 +00:00
Spoike
24f1ed093a
lol! added support for the ?: trinary operator.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:02:47 +00:00
Spoike
451b8ccc79
Moved a chunk of code. This will prevent the temp from a calculation in the argument from overwriting the actual return value. a()+b(c+d) should now compile fine.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-11 22:45:34 +00:00
Spoike
4a823c3601
bigfoot: Works for me(TM)
...
final 64bit qcvm portability issues fixed (I hope).
new qc extension: DP_QC_UNLIMITEDTEMPSTRINGS (assuming pr_tempstringcount = 0)
fixed a couple of issues with msg_entity being random.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 16:51:45 +00:00
Spoike
7f6ff725e4
sizeof(long)==8
...
Bum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2444 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-10 15:48:18 +00:00
TimeServ
15f5bdfb4b
consistency fix
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-04 19:05:06 +00:00
Spoike
acf93f1548
qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +00:00
TimeServ
b444ca99ac
Spike broke this
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-02 03:00:50 +00:00
Mark Olsen
59d86d9c58
Improved the warning output from implicit casts.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 14:55:05 +00:00
Mark Olsen
af6b5bdc77
Support forward declaration of classes (hopefully). Reject declarations of already declared classes.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 02:46:42 +00:00
Spoike
31215e5b06
Raised the runaway loop limit. perhaps a little too high now, but nexuiz's menus require it. Improved debugging and stuff, so you can assign functions to variables in the debugger.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:58:42 +00:00
Spoike
35a62a4ffc
Fixing nexuiz menus, and adding a couple of extra qc-breakpoints on entity overflows.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:56:14 +00:00
Spoike
42c43d960f
mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
TimeServ
9a2c2c386f
remove octal escape code parsing (broken code)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-14 19:54:26 +00:00
TimeServ
a10f1f22a6
cleanup, change TE_BLOB to TE_TAREXPLOSION in particle sets, change TE_BIGEXPLOSION to TE_TEI_BIGEXPLOSION, fix centerprints/stuffcmds not being written to mvds (maybe), misc fixes
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-02 17:42:36 +00:00
Spoike
4a38e63e43
should fix dreamcast issues, and some slowness issues with non-fte engines (even on x86). engines using qclib will be unaffected, hence why the bug lasted this long.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-30 22:21:10 +00:00
TimeServ
913e26b1ae
musicvolume uses callback, cosmetic fix to qclib, disabled sw r_drawflat until there's a solution to make it like gl's r_drawflat
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 20:57:30 +00:00
TimeServ
f57808caf0
warning cleanup
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Spoike
45a50b2e8e
Two things.
...
1: make qclib's qcc more consistant, by passing in a '-src src' instead of hardcoding it inside qclib.
2: fixes the 'vote kick'/op_load bug in cutf.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:47:27 +00:00
TimeServ
d0834bffc2
update vc2005 project again, remove cvsignore files out of repository
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 03:59:30 +00:00
Spoike
b5b74f2529
Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +00:00
Spoike
d27d3c5b6d
Less warnings (none at the gcc-default warning level)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Spoike
a906ad0326
comma operator.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-01 18:53:31 +00:00
Spoike
7d09a3efdc
The ternary operator.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-28 22:55:07 +00:00
Spoike
3399f05c3b
Randomer found a way to crash fteqcc, but he still needs to fix his code.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2018 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-23 23:03:12 +00:00
Spoike
0ad239ca6a
Fixed all warnings in MDebug.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
Spoike
6f98f6f108
fastarrays works properly now.
...
changed stereo -> numchannels in the sound code
added/tweeked the download menu
fixed a coupld of fs functions
switched the key config menu to mouse-driven
right click now closes menus
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 06:41:20 +00:00
Spoike
9620a98dc2
Removed moodles' infokey stuff which was totally wrong anyway.
...
Enabled the prototype warnings. Looks like we need them.
Fixed a few warnings other than the prototype ones which I just enabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:35:40 +00:00
Lance
9caf98dc48
fixed msvc6 warnings
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:17:59 +00:00
Spoike
ac60336e9e
Slightly easier to use.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-14 03:37:22 +00:00
Spoike
db97ab71c4
Don't crash if they specify a 'blocked' field. (happens on a hlbsp)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:26:32 +00:00
Spoike
1f1a157ddd
A small fix type thing.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:22:14 +00:00
Spoike
19ab4fd050
Meh, I'm just going to commit everything.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
TimeServ
6dd7ddd353
palette remap per entity for sw
...
minor change to qclib for hexen2
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +00:00
Spoike
503eff6421
Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
...
I'm not sure if this will break anything. It shouldn't do, but it might.
Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.
http/ftp stuff is currently disabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike
0371d2cab6
Print out a warning count, added an entnum intrinsic.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:15:43 +00:00
Spoike
13d0a98133
cygwin, mingw should compile, plugins in dedicated servers, and stuff.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
TimeServ
9776d00e71
should make non locals-marshalling/overlaptemps much faster
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-14 21:03:18 +00:00
Spoike
c7e7a3ac86
Should fix the problem with "effectless statement" lines being off-by-a-statement.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-09 19:35:25 +00:00
Spoike
f34cbf7bca
fix a bug.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-07 00:01:44 +00:00
Spoike
880681a390
Actually use the fasttrack arrays thingie.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1670 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:18:41 +00:00
Spoike
339d478659
I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
...
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Mark Olsen
b3b3a7a83a
Renamed vector to _vector to avoid name clashes on Altivec systems.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:30:20 +00:00
Spoike
9355c7dda5
makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike
638de77243
FrikaC told me of a few bugs in here, so lets use a decent compiler and fix them
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 20:53:43 +00:00
Spoike
2dbef6be40
According to gcc, this var isn't used, so let's strip it.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-28 01:51:21 +00:00
Spoike
153c576ac7
Fixed a crashing bug when loading addons.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 15:09:46 +00:00
Spoike
27044fbbcb
Fix for erroneous warning messages when definining compiler constants.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-17 17:17:20 +00:00
Spoike
b3b4b8af6d
Fix for bad field offsets with timeserv's artill mod.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1463 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 22:29:05 +00:00
Spoike
2fa6c2b103
Should fix the Nexuiz menu crash reported by TimeServ
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 21:59:54 +00:00
Spoike
d4d365175d
I've been fixing warnings.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
cb7acda2dd
Fixing a couple of warnings.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:14:22 +00:00
Spoike
4366f644e5
A few tweeks here and there.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-01 03:09:17 +00:00
Spoike
184ca975fc
Removed the prints, added a -Wno-mundane, and readded some ifstring stuff that black took out a while ago. grr. if he carelessly breaks anything like that again.... grr.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-28 16:57:10 +00:00
Spoike
2d52134471
see if this gives a sys_error instead of a crash
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-16 04:37:24 +00:00
Spoike
057b64555b
fixed field remapping, so plats work properly now.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-16 04:26:11 +00:00
Spoike
13cade8fe9
fixed some minor issues
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-15 05:55:43 +00:00
Spoike
43a1890bcc
Fixed an issue with fteqw's pr_fixbrokenqccarrays cvar when used with mutators. Also fixed field remapping with regard to multiple fields with the same offsets.
...
Played around with classes a bit. Should work a bit better now.
Added an extra compiler flag, to allow for fast-tracking arrays in supported engines. It uses a global to detect it, but we don't yet set that global anywhere in the loader. This will probably have issues in DP.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-14 04:36:07 +00:00
Spoike
347311db8c
q3 fixes and misilaneous minor changes.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1298 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-08 22:52:46 +00:00
TimeServ
4ed3f5b009
poundonly -> hashonly
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-05 23:50:46 +00:00
TimeServ
cf1ec0b425
poundonly flag for preqcc-dependant mods
...
constant name max increased to 64
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1267 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-03 21:42:22 +00:00
Spoike
22fe0fca45
reverted black's changes. That just wasn't the place to put it. You stopped it working on standard mods where all files are in one directory.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 05:47:08 +00:00
Spoike
d98ae49588
Added fix for var void() func = blah;
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 05:45:45 +00:00
Spoike
1130dea569
Rewrote a few bsp tracing stuff (primarily for heightmap things).
...
Q3 client and server support is in.
heightmaps are in.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +00:00
Andreas Kirsch
19df459786
QCC_Include now uses the path to the current file as base for #include and
...
#includelist (this way one can share code between different qcs more easily).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1242 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-21 17:14:15 +00:00
Andreas Kirsch
0f1a586272
Fix a stupid bug which caused ifstring not to work (use typecmp instead of
...
a pointer comparison). >_<
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1240 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-21 00:10:39 +00:00
Spoike
c09c38c048
Don't crash the engine on an otherwise legitimate progs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 01:17:07 +00:00
Spoike
7903310326
Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
...
Lots of cool stuff.
r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
0378f937bb
Error checking...
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:07:09 +00:00
Mark Olsen
758c4b1880
Fixed out of bounds read access in ED_NewString(). Also fixed the creation of an
...
unterminated string in some cases.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:40:23 +00:00
TimeServ
a23de78d86
NULL function crash fix
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-31 00:12:09 +00:00
Mark Olsen
c5c278da85
origional -> original.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1173 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:52:31 +00:00
Mark Olsen
46c05df0ea
allways -> always.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +00:00
Mark Olsen
19476733cb
allready -> already.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +00:00
Spoike
aa85907fa0
Prevents a[b] = c(d) from becoming a[d] = c(d);
...
Also added support for constant expressions (rather than single constants) inside array definitions (note that this may cause other problems, and requires the preevaluate constants optimisation).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1167 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 02:36:39 +00:00
Spoike
50a59ff11f
rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
...
A couple of minor bugs fixed too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike
f1ea7c0c06
Q2 works, models are depth sorted (the same time as particles).
...
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike
7e9bbc3fac
ktpro should work better now woot. a few other things too
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +00:00
Spoike
f85340b9a2
Big huge mega-whooping commit.
...
I wonder how many things this'll break...
On the plus side, nexuiz works well, and ktpro works as well as in mvdsv. Hurrah!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1122 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-01 19:23:00 +00:00
Spoike
dfd8e1aaed
Redesigned sound code for greater modularity.
...
Added support for dp6/dp7 protocols (ents are still broken).
md3 tags should work properly (still suffer from origin-of-parent interpolation bugs)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1089 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-14 04:52:10 +00:00
TimeServ
a488d6ae71
enum/enumflags fix
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1081 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-07 04:55:36 +00:00
TimeServ
581603da12
ed_print fix
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 17:38:32 +00:00
Spoike
c2930803d4
hopefully, everything will work that little bit better.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-04 04:20:20 +00:00
Spoike
65cc200fe2
GNU GPL V2
...
Included in case anyone wishes to distribute qclib or fteqcc seperatly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-06-01 18:33:06 +00:00
Spoike
95948b35ec
Rewrote FTE's NQ-compatable networking code. The nqnet functions have gone, as we support both udp and ipx through the qw code.
...
cl_netfps has also had some work.
Added polling of http-based master servers (gameaholic).
Lots of darkplaces compatability things added, for nexuiz.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-26 12:55:34 +00:00
Spoike
8f9f5cc125
This is all I'm going to provide by way of a tutorial. Look at FTEQW for a more compleate sample.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-22 13:48:55 +00:00
Spoike
be270c6961
Small stuff
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-22 13:47:54 +00:00
Spoike
03dfb7f399
Added comments to the interface, and qclib does it's own endian checking now. No more sharing with the engine.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1048 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-22 13:42:10 +00:00
Spoike
8c50deeb2c
Updated by TortoiseCVS
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-22 13:41:01 +00:00
Spoike
4bad00fba8
small bug. functionname wasn't offset by the string table.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-22 13:07:08 +00:00
Spoike
31d5705e75
I thought it was a more invasive optimisation. It would seem not, and logicops should be changable from wherever. yay. I still don't recommend using it though.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1041 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 08:25:49 +00:00
Spoike
8641ac86f5
64bit should compile properly now.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-20 03:32:53 +00:00
Mark Olsen
c4b668079c
Stores result of function QC_RegisterFieldVar in a local variable before storing it
...
into the global "field[fnum].ofs" because QC_RegisterFieldVar might change that global,
and GCC reads the address of the global before the function call.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 21:55:55 +00:00
Spoike
077fb0d98a
q2/q3 clipping fixed (hopefully finally except for bsp objects, that is)
...
q2 server should work.
added support for addative (and things) blends from menu.dat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-19 02:53:03 +00:00
Mark Olsen
5f1ac1f246
Added newline at end of file too keep GCC from whining.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1019 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 09:50:54 +00:00
Spoike
4a0c02b685
Hopefully, the server will now run on 64bit archetectures.
...
Also, a piece of unitialialized memory should now be fixed.
there's a con_centertext cvar added
an extra default particle texture.
further dp protocol compatability stuff.
EF_ADDATIVE works on models and supposedly sprites. will do sw sprites too at some point.
Linux makefile needs work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1017 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-17 02:36:54 +00:00
Spoike
7c418ca423
qc string_t is now an int instead of char *, stringtable is char * instead of int.
...
Some fixes and extra stuff for nexuiz, but it took a protocol extension, which is currently assumed instead of queried.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1015 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-15 18:49:04 +00:00
Spoike
e348dc30a2
Changed vec4_t down to vec3_t, got the server browser integrated with the menu.dat. csqc is having fun, and nexuiz should work better. Enjoy.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-13 10:42:48 +00:00
TimeServ
a366a4d90a
8 params instead of 4
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-11 17:55:25 +00:00
Spoike
3909b1a15e
fixed message. more honest now. :)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 17:06:12 +00:00
Spoike
23fff50934
It's more important that we can compile Quake mods than hexen2 mods. :/ You'll have to add a space for now.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-08 17:05:07 +00:00
Spoike
3fa23ffe68
Better handling for integer switches.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-06 11:24:36 +00:00