Commit graph

171 commits

Author SHA1 Message Date
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
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