Commit graph

462 commits

Author SHA1 Message Date
TimeServ
0739c739a6 BZ_* no longer clears, qclib no longer assumes memalloc clears
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 12:55:53 +00:00
Mark Olsen
c44fb03810 CHARACTURE -> CHARACTER
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2883 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:28:35 +00:00
Mark Olsen
83d23423ab characture -> character
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Lance
ff6630d28c Patch from BlackHC, Increase maximum macro size and fix endless loop bug caused by empty macros
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2880 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-27 01:14:44 +00:00
Lance
8c6dccbb70 BlackHC's patch to add support for \ (backslash) in macros
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2879 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-26 18:32:41 +00:00
Spoike
d591079731 Fixes Black's latest bug. Ensure saved return values are in a locked temp, and not corrupted by the following function call.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2874 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 15:54:36 +00:00
Spoike
b6fc3c7668 Changed the default build location of fteqccgui debug builds, to a relative path which is likely to exist on more computers than just my desktop.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2871 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:34:21 +00:00
Spoike
7584ae2e34 Changed the pf_clientstat function and parameters to match the ordering originally documented in the ext_csqc extension I posted on wiki.quakesrc.org, as per krimzon's recommendation. Updated qclib to support querying fields based on their offset rather than purely a name basis, to support the clientstat change.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2869 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 01:31:01 +00:00
Spoike
ae0a8461b7 Black's fix for #define macro parameters in fteqcc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2868 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-23 00:37:56 +00:00
Spoike
67f89fa7f0 Expanded the maximum length of frame macro names to 64-1 characters as per LordHavoc's patch. Also added a message when a frame macro name is too long.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2861 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-16 03:43:53 +00:00
Spoike
1c85bc472b stringtonative knows better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2798 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-30 22:58:16 +00:00
Spoike
7e722828d6 divVerent's revised fteqcc makefile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2775 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-11-01 13:02:19 +00:00
Molgrum
3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Molgrum
0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum
379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Spoike
9af1ba84cc A few things... f_ruleset stuff, 64bit qvm compatability, added cvars so you can put the built in http server on a custom port, added #warnings to annoy molgrum.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2659 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-17 20:35:39 +00:00
Molgrum
8f285d7787 Fix an error here that I caused.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2588 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 14:50:53 +00:00
Molgrum
cf1a12ee11 Trying to fix the remaining warnings. Is this correct? Builds that now compiles with no warnings in VS 2005: Debug, Debug Dedicated Server and GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-08 02:37:59 +00:00
Molgrum
865a5a003d Fixed a few Cygwin warnings: Removed/commented unused variables, added newline at end of crc.c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2584 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:49:35 +00:00
TimeServ
d3565abc3a fixing more builds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2583 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-08-07 17:42:10 +00:00
Spoike
3ca64edd06 *Insert Witty Comment Here* Make the windows version match the linux version, fully fixing the 'size-of-russia' memory leak
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2546 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-23 13:32:17 +00:00
Mark Olsen
3ff0218436 Don't byteswap the beginning of the string table, please. (commited by proxy for Spike)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2526 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-20 17:05:35 +00:00
Mark Olsen
574e7c1e11 Don't byteswap the beginning of the string table, please. (commited by proxy for Spike)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2524 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-20 17:02:38 +00:00
Mark Olsen
d0c6093ae4 Fixed a memory leak the size of Russia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2520 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-07-16 17:14:39 +00:00
Spoike
7ea15cfdc1 Fixed a recent bug. EvaluateDebugString (ie: the give command) can now accept numbers as entities to retrieve fields from.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2518 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-19 23:55:04 +00:00
Spoike
d74c6f738a Added some new bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2515 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-10 21:33:24 +00:00
Spoike
8c987f6bf9 Fixed the comma operator to function correctly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2513 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-09 22:30:16 +00:00
TimeServ
b8b56f03cc small fix (int byte assumption)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2500 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-05-17 20:56:05 +00:00
Spoike
31a53c738c puts apparently includes a newline character...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2497 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:55:25 +00:00
Spoike
cced0039c3 And don't forget +=/-= with vectors.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2496 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:45:10 +00:00
Spoike
3671902d06 Added a warning for void() functionname() {} functions.
Fixed the ent.field.field += bug; by swapping the order of statements.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2495 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-15 17:35:58 +00:00
Spoike
834ed1c3dc made commandline fteqcc write to fteqcc.log
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 02:09:52 +00:00
Spoike
6a31083ed5 This hopefully fixes a warning or two.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2493 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 01:40:32 +00:00
Spoike
70e7fb7b0c Marked two warnings as mundane.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2492 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:03:32 +00:00
Spoike
24f1ed093a lol! added support for the ?: trinary operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2491 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-12 00:02:47 +00:00
Spoike
451b8ccc79 Moved a chunk of code. This will prevent the temp from a calculation in the argument from overwriting the actual return value. a()+b(c+d) should now compile fine.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2490 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-04-11 22:45:34 +00:00
Spoike
4a823c3601 bigfoot: Works for me(TM)
final 64bit qcvm portability issues fixed (I hope).
new qc extension: DP_QC_UNLIMITEDTEMPSTRINGS (assuming pr_tempstringcount = 0)
fixed a couple of issues with msg_entity being random.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2475 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-03-11 16:51:45 +00:00
Spoike
7f6ff725e4 sizeof(long)==8
Bum.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2444 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-10 15:48:18 +00:00
TimeServ
15f5bdfb4b consistency fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2442 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-04 19:05:06 +00:00
Spoike
acf93f1548 qtv changes allow you to spectate annother spectator. FTE changes fix independant physics stuff a bit, and fix AVI recording a little also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2440 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-03 15:53:04 +00:00
TimeServ
b444ca99ac Spike broke this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2439 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-11-02 03:00:50 +00:00
Mark Olsen
59d86d9c58 Improved the warning output from implicit casts.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2397 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 14:55:05 +00:00
Mark Olsen
af6b5bdc77 Support forward declaration of classes (hopefully). Reject declarations of already declared classes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2396 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-28 02:46:42 +00:00
Spoike
31215e5b06 Raised the runaway loop limit. perhaps a little too high now, but nexuiz's menus require it. Improved debugging and stuff, so you can assign functions to variables in the debugger.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2393 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:58:42 +00:00
Spoike
35a62a4ffc Fixing nexuiz menus, and adding a couple of extra qc-breakpoints on entity overflows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2392 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-18 22:56:14 +00:00
Spoike
42c43d960f mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-09-17 00:59:22 +00:00
TimeServ
9a2c2c386f remove octal escape code parsing (broken code)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2350 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-07-14 19:54:26 +00:00
TimeServ
a10f1f22a6 cleanup, change TE_BLOB to TE_TAREXPLOSION in particle sets, change TE_BIGEXPLOSION to TE_TEI_BIGEXPLOSION, fix centerprints/stuffcmds not being written to mvds (maybe), misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2310 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-06-02 17:42:36 +00:00
Spoike
4a38e63e43 should fix dreamcast issues, and some slowness issues with non-fte engines (even on x86). engines using qclib will be unaffected, hence why the bug lasted this long.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2309 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-30 22:21:10 +00:00
TimeServ
913e26b1ae musicvolume uses callback, cosmetic fix to qclib, disabled sw r_drawflat until there's a solution to make it like gl's r_drawflat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 20:57:30 +00:00
TimeServ
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Spoike
45a50b2e8e Two things.
1: make qclib's qcc more consistant, by passing in a '-src src' instead of hardcoding it inside qclib.
2: fixes the 'vote kick'/op_load bug in cutf.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 23:47:27 +00:00
TimeServ
d0834bffc2 update vc2005 project again, remove cvsignore files out of repository
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2140 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-02 03:59:30 +00:00
Spoike
b5b74f2529 Rotating BSP fixes, hexen2 fixes, and a few extra bugs...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2134 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-23 19:22:12 +00:00
Spoike
d27d3c5b6d Less warnings (none at the gcc-default warning level)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2046 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-04 20:43:48 +00:00
Spoike
a906ad0326 comma operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-01 18:53:31 +00:00
Spoike
7d09a3efdc The ternary operator.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-28 22:55:07 +00:00
Spoike
3399f05c3b Randomer found a way to crash fteqcc, but he still needs to fix his code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2018 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-23 23:03:12 +00:00
Spoike
0ad239ca6a Fixed all warnings in MDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-11 14:51:36 +00:00
Spoike
6f98f6f108 fastarrays works properly now.
changed stereo -> numchannels in the sound code
added/tweeked the download menu
fixed a coupld of fs functions
switched the key config menu to mouse-driven
right click now closes menus


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 06:41:20 +00:00
Spoike
9620a98dc2 Removed moodles' infokey stuff which was totally wrong anyway.
Enabled the prototype warnings. Looks like we need them.
Fixed a few warnings other than the prototype ones which I just enabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-28 02:35:40 +00:00
Lance
9caf98dc48 fixed msvc6 warnings
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-27 08:17:59 +00:00
Spoike
ac60336e9e Slightly easier to use.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1867 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-14 03:37:22 +00:00
Spoike
db97ab71c4 Don't crash if they specify a 'blocked' field. (happens on a hlbsp)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1856 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-12 22:26:32 +00:00
Spoike
1f1a157ddd A small fix type thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-11 22:22:14 +00:00
Spoike
19ab4fd050 Meh, I'm just going to commit everything.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1778 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-01-02 23:01:54 +00:00
TimeServ
6dd7ddd353 palette remap per entity for sw
minor change to qclib for hexen2


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1735 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-22 20:35:04 +00:00
Spoike
503eff6421 Reworked the filesystem. We now support a virtual filesystem. Many places accept stream usage, although many formats do not support this.
I'm not sure if this will break anything. It shouldn't do, but it might.

Not everything is ported over yet. Ideally there would be no more use of fopen anywhere else in the engine, and com_gamedir would be made static to fs.c
There are a couple of other changes too.

http/ftp stuff is currently disabled.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1728 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-21 03:07:33 +00:00
Spoike
0371d2cab6 Print out a warning count, added an entnum intrinsic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-16 17:15:43 +00:00
Spoike
13d0a98133 cygwin, mingw should compile, plugins in dedicated servers, and stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1711 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-15 19:15:39 +00:00
TimeServ
9776d00e71 should make non locals-marshalling/overlaptemps much faster
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1706 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-14 21:03:18 +00:00
Spoike
c7e7a3ac86 Should fix the problem with "effectless statement" lines being off-by-a-statement.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1692 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-09 19:35:25 +00:00
Spoike
f34cbf7bca fix a bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-07 00:01:44 +00:00
Spoike
880681a390 Actually use the fasttrack arrays thingie.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1670 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-06 02:18:41 +00:00
Spoike
339d478659 I wonder how much this will break. Ahh well. It works for me, and I need to go to bed.
Well, plugins should be able to read/write files through the engine. audio decoding plugin interface is in (might be changed later).
TCPConnect is in.
msg_filter and scr_centersbar.
some recording fixes too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1634 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-30 01:20:53 +00:00
Mark Olsen
b3b3a7a83a Renamed vector to _vector to avoid name clashes on Altivec systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1623 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-29 13:30:20 +00:00
Spoike
9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike
638de77243 FrikaC told me of a few bugs in here, so lets use a decent compiler and fix them
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1574 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-21 20:53:43 +00:00
Spoike
2dbef6be40 According to gcc, this var isn't used, so let's strip it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-28 01:51:21 +00:00
Spoike
153c576ac7 Fixed a crashing bug when loading addons.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1523 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-21 15:09:46 +00:00
Spoike
27044fbbcb Fix for erroneous warning messages when definining compiler constants.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1498 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-17 17:17:20 +00:00
Spoike
b3b4b8af6d Fix for bad field offsets with timeserv's artill mod.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1463 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-10 22:29:05 +00:00
Spoike
2fa6c2b103 Should fix the Nexuiz menu crash reported by TimeServ
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1457 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-09 21:59:54 +00:00
Spoike
d4d365175d I've been fixing warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1448 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 16:27:20 +00:00
Spoike
cb7acda2dd Fixing a couple of warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1446 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-10-07 02:14:22 +00:00
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
2d52134471 see if this gives a sys_error instead of a crash
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1339 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-16 04:37:24 +00:00
Spoike
057b64555b fixed field remapping, so plats work properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1338 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-16 04:26:11 +00:00
Spoike
13cade8fe9 fixed some minor issues
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1337 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-09-15 05:55:43 +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
Spoike
d98ae49588 Added fix for var void() func = blah;
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-27 05:45:45 +00:00
Spoike
1130dea569 Rewrote a few bsp tracing stuff (primarily for heightmap things).
Q3 client and server support is in.
heightmaps are in.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-26 22:56:51 +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
Spoike
c09c38c048 Don't crash the engine on an otherwise legitimate progs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-12 01:17:07 +00:00
Spoike
7903310326 Lots of small changes. q3 player models are working and things, though csqc. md5mesh is supported (md5anim through an alternate 'format' to specify model name and a list of md5anims).
Lots of cool stuff.

r_shadows is still broken due to depth sorting of model (and thier depth value being written too late).


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1196 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:14:59 +00:00
Mark Olsen
0378f937bb Error checking...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1195 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 23:07:09 +00:00
Mark Olsen
758c4b1880 Fixed out of bounds read access in ED_NewString(). Also fixed the creation of an
unterminated string in some cases.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 16:40:23 +00:00
TimeServ
a23de78d86 NULL function crash fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1178 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-31 00:12:09 +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
Mark Olsen
46c05df0ea allways -> always.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1172 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:33:27 +00:00
Mark Olsen
19476733cb allready -> already.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1171 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-28 15:22:15 +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
50a59ff11f rewritten vast chunks of code to support MOVE_HITMODEL as well as clean some of it up a bit. Dedicated server should build now.
A couple of minor bugs fixed too.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1146 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-16 00:53:08 +00:00
Spoike
f1ea7c0c06 Q2 works, models are depth sorted (the same time as particles).
some extra macros added. We have a full set of dp te effect builtins (but not parsing them all yet... so not advertising them either).
Dedicated server does not build. I need to add some functions to svmodel.c
sound should work properly with roq/cin/avi playback.
gl_detail should work like in ezquake. there's also a new gl_detalscale cvar
bss size should be a small ammount smaller.
all the dp te builtins will send something. But fte can't parse all of them yet.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1145 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-14 01:57:34 +00:00
Spoike
7e9bbc3fac ktpro should work better now woot. a few other things too
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1130 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-07-03 15:16:20 +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
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