Commit Graph

159 Commits

Author SHA1 Message Date
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
Spoike 29d3c7ea17 Trinca has one huuuge mod.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-05 00:16:17 +00:00
Spoike 1b5c97bd31 urm, yeah, bracket fixed. hrm. ah well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@985 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-04 20:07:44 +00:00
Spoike 63b7296630 Small bug fix. Strict parsers were complaining... gcc4. :/
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-04 19:49:48 +00:00
Spoike 8eaac6ced3 Small bug fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-05-04 14:45:00 +00:00
Spoike a9d9293fc1 Changed spikeset.
Some csqc tweeks, bugfixes, additional work (yay - prediction, keyboard input!)
Some teamplay tweeks, supports much more fuhquake-compatable teamplay stuff.
Changed the texture naming scheme a bit.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-26 16:04:12 +00:00
Spoike d8b6a19487 Define a field as const, and it'll warn whenever you store to it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@978 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-23 19:55:49 +00:00
Spoike 434fedf8a5 Fixes the give command.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-22 23:56:48 +00:00
Spoike 403e207feb Don't apply \s specials if it's a special char that we're parsing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-22 23:55:57 +00:00
Spoike 608675c050 Tweeked the gui, fixed some bugs, added a goto-def box. It needs a compile first, and it doesn't currently do that compile for you. You'll have to actually click the compile button.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@975 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-22 07:36:14 +00:00
Andreas Kirsch 76d99cdbc2 -Fixed a stupid bug in Precompiler which caused pragma keyword to do the
inverse you told it to.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 10:05:33 +00:00
Spoike 1c47b03601 Urm. Compiles in FreeBSD with gmake and gcc. So, urm, yeah... Maybe it runs too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-17 02:22:51 +00:00
Spoike f43b221896 Stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-16 16:21:27 +00:00
Spoike 940f2ede3c tra la la...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-02 18:39:22 +00:00
Spoike 4c9337fd35 some bug fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-02 18:00:45 +00:00
Spoike 13d2da58bd It would seem that there was a bug,
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-29 07:39:38 +00:00
Spoike 6f5a1247e8 menu.dat works! yay!
And a couple of bug fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 07:05:38 +00:00
Spoike d7bb31a516 Some changes. QC execution has been tweeked a little. It needs further work still.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-28 00:11:59 +00:00
Spoike dbf7aeb23c blah
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@916 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-22 23:47:49 +00:00