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
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
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
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
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
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
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
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
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
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
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
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
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
7e1ab9e29b
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
Spoike
ce3c561cfe
CSQC is standard now, and secure via the same md4 as a map currently has.
...
Particle system functions renamed a bit, a few other cleanups in that area.
Console handling tweeked. Better rules for subconsoles and plugins. Commands are coloured if it'll be execed, which should help reduce occurences of chat being commands. tab compleation tweeked, partial compleation no longer changes the suggestion.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@895 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-10 03:55:18 +00:00
Spoike
e269aeaf16
Qux removed to a plugin.
...
Small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@887 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-01 15:36:23 +00:00
Spoike
9ae7e2621d
SOFTWARE RENDERING IS BROKEN: DO NOT USE ASM VERSION.
...
Lots of changes.
CSQC should be functional, but is still tied to debug builds. It WILL have some bugs still, hopefully I'll be able to clean them up better if people test it a bit.
Precompiled headers are working properly now. Compile times are now much quicker in msvc. This takes most of the files this commit.
Restructured how client commands work. They're buffered outside the network message, some multithreaded code is in. It needs a bit of testing before it's active.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-28 07:16:19 +00:00
Spoike
4576ea829f
A few changes. Reacc support
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@872 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-09 19:32:30 +00:00
Spoike
7a1ee42b80
fixed some warnings
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@795 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-16 02:28:09 +00:00
Spoike
b6d8192406
Added some warnings to try and catch people doing silly things.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 08:22:31 +00:00
Spoike
b0a54a31c4
Fix for some bugs noticed with ints.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@700 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-30 12:47:43 +00:00
Spoike
4b0395e079
Lots of stuff.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike
bbc31e475b
fir for do {} while (string) jumping to the wrong offset.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@639 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-13 14:25:52 +00:00
Spoike
577d0cea5e
Fix for vectors in unions/structs.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-12 18:43:57 +00:00
Spoike
4389d1480d
I spotted some bugs
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@609 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-09 23:45:57 +00:00
Spoike
b628d14df0
Added + and - unary operators.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@551 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-03 16:08:43 +00:00
Spoike
af06f28e2c
assignment in conditional is ignored if placed inside brackets.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 21:08:02 +00:00
Spoike
1fbf42489a
. .vector fieldtest; works now! woot!
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@540 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 19:33:49 +00:00
Spoike
9af4c7df7f
we can connect to DP servers, dynamic lighting code was revised a little, a new cvar was added to control the extra feature, lights can be flagged with where they should appear, skin code was revised (to include models), fruity textures fixed, r_loadlit 2 failing to save is fixed. NQ demos smoothed.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@537 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-27 08:16:25 +00:00
Spoike
ab9f3d637d
support for ',' in for statements.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@431 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-16 05:10:48 +00:00
Spoike
939eb98abf
++/-- prefix operators were evaluating the entire right-hand side (including greater-thans!)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@430 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-16 04:43:12 +00:00
Spoike
7e7582b734
I feel that '#pragma warning disable Q302' will shortly be overused...
...
Added -Kno-ifstring parameter to break correction of if(string) to testing for null instead of empty string.
Added a couple of fixes for stacked function calls.
The reference and dereference (& and *) operators are now working with -Tfte! Woot.
Function calls to functions taking integer arguments with a floating point parameter have been tweeked to supply an implicit conversion rather than erroring all of a sudden.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@407 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:18:34 +00:00
Spoike
c1bc340cd9
function calls may now nest perfectly... hopefully
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@404 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-09 06:02:02 +00:00
Spoike
6df21ba2b5
Arrays now use tolerances, and function arrays work a bit better...
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@400 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-08 11:44:05 +00:00
Spoike
85ebd04b50
made it not so wasteful with temps... it was shocking... And fixed up some defs parsing code.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@399 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-06 14:54:28 +00:00
Spoike
2a9d845acd
Compiler now uses FAR less temps in arrays.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-06 14:27:03 +00:00
Spoike
c236b327a8
Small tweeks
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@395 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-06 03:05:39 +00:00
Spoike
38343bf8a3
switch(int) works now
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@394 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-04 05:53:20 +00:00
Spoike
e2ef3f2b65
Revised array usage, partly added pointers, added a couple of warnings (preventing crashes...) and fixed two array bugs that appear with non-vector arrays with > 15 elements.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-04 04:19:10 +00:00
Spoike
d5ce9a1c68
Heavier optimisations (and a couple of debugging warnings)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@381 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:03:56 +00:00
Spoike
5133f438a9
Added unreachable code warning and tightened up missing return values.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@374 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 16:31:03 +00:00