Spoike
6e3f69f504
d3d rendering is diabled (framestate, read later - merged will compile just sw+gl for now).
...
fte particle scripts are disabled (classic works).
I'll fix these in the new year.
Redid framestate stuff again. Slightly better now, but this is the bulk of the changes here.
Reworked the renderqueue to provide batches of items instead of individual items. This cleans up the particle rendering code significantly, and is a step towards multiple concurrent particle systems. fte's scripted particles are broken as I'm trying to find a way to rework them to batch types together, rather than having to restart each batch after each particle when you have two particles in a trail. I'll fix it some time.
Reworked some alias model code regarding skeletal models. Added some conceptual skeletal bone control builtins available to csqc. Currently it can query the bone names and save off animation states, but can't animate - its just not complete.
Added more info to glsl custom shaders.
Updated surface sorting on halflife maps to properly cope with alphaed entities, rather than just texture-based blends (q2-style).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3095 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-23 02:55:20 +00:00
Spoike
b4defb722a
Print line numbers in stack traces, if we know them.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3090 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-06 02:08:07 +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
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