Commit graph

507 commits

Author SHA1 Message Date
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
ed24206d93 I thought TimeServ had fixed this... Ah well, here timeserv, have a conflict!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@406 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-13 09:23:09 +00:00
TimeServ
bd038aa1d8 cvar cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@405 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-11-10 19:28:24 +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
TimeServ
2acc7afa28 particle fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@388 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-29 08:50:57 +00:00
TimeServ
cb66a2e005 particle fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@387 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-29 07:54:11 +00:00
Spoike
eb4b6fff0f Made things more robust (particuarly with respect to cmd observe)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@386 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-29 06:11:33 +00:00
Spoike
cd9c6d7811 Loophole closed that could have been used to crash the engine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@385 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 21:13:52 +00:00
Spoike
10ad1bbade Made fog a little more resliliant to distance.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@384 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:12:13 +00:00
Spoike
f1c3a20eef How hideous. A glquake dir...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@383 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:08:32 +00:00
Spoike
76b15ade25 Added support for GL_EXT_compiled_vertex_array
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@382 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-28 07:07:44 +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
8dffeea9ad Fixed a pretty serious problem with q3 shader rendering.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@378 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-27 23:33:35 +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
0f6b5d1eef allow the minimal gl to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@376 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 23:05:19 +00:00
TimeServ
253cf12933 particle fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@375 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 21:36:47 +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
b5e691d873 Small harmless bugfix in SV_SpawnSpectator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@373 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:33:33 +00:00
Spoike
f005b5bfd0 don't try loading q3 ui vm anymore.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@372 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:32:27 +00:00
Spoike
9982c2d9f9 Vertex lighting cvar added.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@371 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:31:39 +00:00
Spoike
3508d4c3a3 couple more max map planes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@370 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:30:57 +00:00
Spoike
7a2b6570f2 Giving shaders the normals info.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@369 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 15:30:13 +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
6f84b3c3f3 Adding scissor support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@367 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:55:41 +00:00
Spoike
4ed2994308 Added a few messages to let people know which models are being buggy.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@366 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-26 14:54:59 +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
TimeServ
e86a39d079 beam stuff for regular effects, SM_UNICIRCLE addition
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@362 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-23 22:21:38 +00:00
TimeServ
fc20b7cb95 "die 0" case for particles/beams fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@361 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-21 01:01:10 +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
TimeServ
6976b04908 beam fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@359 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 21:56:31 +00:00
TimeServ
ae3545ef6d I did not just do that...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@358 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-10-19 19:09:50 +00:00