1
0
Fork 0
forked from fte/fteqw
Commit graph

348 commits

Author SHA1 Message Date
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
Spoike
656be2f50e works now. :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@915 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-22 23:33:18 +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
b8acd511de Small fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@884 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-18 02:33:01 +00:00
Spoike
acde8ade44 CSQC support changes and some small bugfixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-12 18:56:04 +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
95eafd7427 some bugfixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-06 02:47:36 +00:00
Spoike
28a382a197 /me whistles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-02-02 08:21:44 +00:00
Spoike
51da6d3abf Fixed some warnings and stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@829 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-24 23:47:32 +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
dd7934c7db Spotted that // wasn't being treated as a comment on frame macros. Thanks Urre.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 08:22:03 +00:00
Spoike
79c1f23370 Cleans up better on a runaway loop error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-01-04 08:18:03 +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
Andreas Kirsch
c3886a301b -Added parenthises counter to the QCC_PR_CheakCompConst, so you can now
compile e.g. myMacro( strcat( "A", "B" ) ) correctly.
 (I hope I didnt break anything though)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@691 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-27 18:47:32 +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
012d89db37 Whilst this doesn't help runtime, it certainly helps gcc. whatever you do, don't crash menus for a bit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@616 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-10 05:11:46 +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
0322bdd338 mvd playback works properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@587 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-08 04:14:52 +00:00
Spoike
a82e237add Hash tables now have a case insensative option. (it acts as lowercase - don't mix them)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@575 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-05 16:32:44 +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
6b53e98c80 Black takes the credit for this one. It's a fix for field fields when loaded from bsps/ent files/saves/whatever.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-02 07:13:55 +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
3f2819c65d . .vector fieldtest; should now be ungoofed (no need for that space any more)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-29 19:38:06 +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
789e38265b bye bye quirky behaviour
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@507 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 00:29:10 +00:00
Spoike
deafeba37a function now accepts PR_CURRENT
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@506 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 00:23:25 +00:00
Spoike
5372f5ba08 Small bugfix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@505 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-23 00:22:04 +00:00
Spoike
cbde1d3274 Fixed that QCC_WarningForName warning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@472 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-19 14:20:52 +00:00
Spoike
ac284a1b94 Adding a few tiny optimisations and playdemo working on qwd files again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@470 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-18 17:55:04 +00:00
Spoike
2fc07546f0 does that help anything?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@469 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:15:20 +00:00
Spoike
e91176eff5 Does that stop it thinking structures have changed? probably not, but it's worth a try.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@468 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-17 18:14:49 +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
b7b07796fe FrikQCC style frame macros from other qc files is now supported.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@429 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-15 13:03:32 +00:00
Spoike
619dd3393c Needed new warning type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@428 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-15 13:02:31 +00:00
Spoike
1212770986 Friendlier breakpoints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@421 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:34:07 +00:00
Spoike
0ba312c9e3 macros were broken. This removes the warnings when calling the new parsing function with C like seperation..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@420 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:33:05 +00:00
Spoike
6c806092b9 Added support for lno files and fixed a crash when loading games/hexen2 level returns.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@419 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 17:32:03 +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
98d6bf162d assignment to world now names a function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@403 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-08 11:46:34 +00:00
Spoike
53ffe9c50e run errors are better now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@402 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-08 11:45:45 +00:00
Spoike
8d7f132afc freeing free ents is now more user friendly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@401 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-08 11:45:14 +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
1378564dcd New warning type.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@398 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-06 14:47:24 +00:00
Spoike
586900f0c9 Fix for CheckSpawn, so that self is now always valid. (wasn't before)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-06 14:27:53 +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
5031c2a92f more informative
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-04 01:22:18 +00:00
Spoike
cef4a1e478 small bugfix with relation to count of errors dropping after the first compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@391 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-03 04:21:42 +00:00
Spoike
89861c05c6 Edit my bigger defs.qc file please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@390 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-03 04:21:05 +00:00
Spoike
03499283fd fixed compilation problems with the release target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@389 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-03 04:20:11 +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
9dfffde72b How'd that get there? Should all work now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@380 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 00:48:33 +00:00
Spoike
02433b23aa Support for # and ##
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-27 23:51:52 +00:00
Spoike
f2ddeefe19 Warning and target fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@377 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 23:06:29 +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
Spoike
4fe59ae9b1 print( vtos( a ), " ", vtos( b ), "\n" ); works properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@368 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:18:40 +00:00
Spoike
88151b16e8 precompiler changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@365 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:41:05 +00:00
Spoike
5981194db4 fixed a pretty major bug with continue used within a while. Fixed working of assignments to other vars.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@364 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:39:55 +00:00
Spoike
6e08cbd0a1 make string tokenizing treat commas as seperate tokens.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@363 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:38:19 +00:00
Spoike
11dc6c828c I broke the do{}while(string); handling
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@360 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-20 13:45:19 +00:00
Spoike
4f36d50f60 Few bug fixes and some q3 compatable shaders.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@354 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 16:10:14 +00:00
Spoike
94181f8895 And fixing the comma.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@347 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-16 14:05:46 +00:00
Spoike
4c60d97a27 playing with enum stuff. getting it actually working properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@346 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-16 14:02:43 +00:00
Spoike
a180cf5004 enum = NAMEDCONSTANT and #define \ support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@345 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-16 13:18:58 +00:00
Spoike
6dfa5a21bc Having a go at fixing classes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 11:25:12 +00:00
Spoike
71493c6b12 Now we allow spaces between the # and the directive.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@326 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 11:24:13 +00:00
Spoike
a427a2050a Removed significance of precompiler constant DEBUG, at black's request.
Cleaned the lno file writing code a little.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@325 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-14 11:19:09 +00:00
Spoike
4d528922fd plugins
capture_codec tga/png/jpg
Changed intensity of hud images so that high-gamma settings work... (maybe too much)
Small progs changes that fixes hexenc


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@323 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-13 07:24:59 +00:00
Spoike
363b89ce91 Should now be able to cope with malloc errors better by disabling the compiler entirly if the problem occurs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@291 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 10:15:15 +00:00
Spoike
c984889446 Does that make it more tolerant of QC hacks?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-03 10:14:26 +00:00
Spoike
30d0582da8 Well, that'll make debugging less crashy...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@283 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-01 22:20:50 +00:00
Spoike
467fb6c704 healing the compiler a tiny bit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@282 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-01 22:20:19 +00:00
Spoike
5f2f91725a fixed default optimisations..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-22 15:31:19 +00:00
Spoike
74397d5368 fixing a couple of bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-21 03:22:55 +00:00
Spoike
9c59fafc3e lots of changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-20 23:25:38 +00:00
Spoike
00a3abfb12 Made some more warnings require -Wall to appear.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@200 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:15:46 +00:00
Spoike
58e95206e2 Make it do proper warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@199 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:14:42 +00:00
Spoike
76dcd9297b new compiler warning #define with the same name causes it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@198 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-13 03:13:52 +00:00
Spoike
b8b14dbf8f Add some warnings if the user redefines a constant.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@166 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:27:08 +00:00
Spoike
9c6b591e51 small changes to get the thing to compile in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@165 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:26:31 +00:00
Spoike
f98b7270f3 ++ and -- compile with correct precidence now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@164 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:25:41 +00:00
Spoike
5a872df165 All lower case now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@155 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:16:59 +00:00
Spoike
5f54ced9b8 *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@154 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:16:18 +00:00
Spoike
b32c013a5d Simple makefile for linux fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@152 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:11:22 +00:00
Spoike
30b8181429 make sure the functions works if the compiler aborted in the wrong place
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-02 12:59:35 +00:00
Spoike
b4ceb68680 some warnings changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@113 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-02 12:58:56 +00:00
Spoike
7fe24ba394 fixing a problem with functions passed as parameters killing the local names.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@112 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-02 12:58:49 +00:00
Spoike
3c39d1e20f hmm.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@103 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:09:22 +00:00
Spoike
44f6b09d17 hmm. Double echoing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@101 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:06:26 +00:00
Spoike
403fbd6f56 index for builtin number - so pf_fixme can give more usable info
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@100 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:05:47 +00:00
Spoike
3b31362435 just to make me happier for when I next add a function to the end of that list.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@99 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:05:04 +00:00
Spoike
5679f8248e sets the builtin number that the progs is calling. Very useful when the mod tries using a missing builtin.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@98 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-01 00:04:02 +00:00
Spoike
fd96c51c5b trying to fix an optimisation bug... does this fix it properly?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@46 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-26 07:00:38 +00:00
Spoike
5a3d570b99 Updated by TortoiseCVS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@44 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-25 03:45:51 +00:00
Spoike
ed1ddbe46b project file for standalone qc compiler
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@42 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-25 03:44:33 +00:00
Spoike
ecf8930ed2 extra files needed for windows gui compiler.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@41 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-25 03:42:49 +00:00
Spoike
f0aef8bb6e Three bugs fixed, and I was only aiming for 2! Should go faster even without the effects of these bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@40 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-25 03:41:27 +00:00
Spoike
7c00f2b190 Initial Checkin
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@18 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-08-23 01:38:21 +00:00