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