Commit Graph

86 Commits

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