Commit Graph

268 Commits

Author SHA1 Message Date
Spoike 8af647d7d4 Blub\0's latest patch. This one fixes up for arguments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-27 02:48:59 +00:00
Spoike 7c6f37c4ae Yes Blub, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-17 07:41:59 +00:00
Spoike 887a278bce patch from Blub\0 to fix issues with compiling:
b = min(a, b);
with -TFTE active.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-10 20:38:17 +00:00
Spoike 519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +00:00
TimeServ a61d819f68 fix hash table inits, fix shader inits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 18:06:58 +00:00
TimeServ 73f580157f fix malloc call, fix memset typo in qclib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 17:27:57 +00:00
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