Commit graph

  • dda09dabd9 now compiles under mingw Bill Currie 2001-06-15 16:05:33 +0000
  • 373ea8132a more work on the code generation and make generally usable again by disabling the new stuff Bill Currie 2001-06-15 07:16:18 +0000
  • f9baacd440 beginnings of code generation. hangs :) Bill Currie 2001-06-14 21:49:47 +0000
  • 8c13809e9c don't process .S files when not using asm (either --disable-asmopt or non-x86 platforms). Done by moving the asm objects into libasm.la (yes, there's one in each dir that needs it) so that the Makefiles don't explode. Bill Currie 2001-06-14 19:52:38 +0000
  • 29188c9f33 typo Adam Olsen 2001-06-14 17:31:53 +0000
  • 2a1f323df4 precache some lightning models Adam Olsen 2001-06-14 17:31:15 +0000
  • 00f1288940 don't delete processed files if --keep is given Bill Currie 2001-06-13 22:56:20 +0000
  • d7ebba6a74 parses CustomTF now, but no code generation Bill Currie 2001-06-13 18:35:41 +0000
  • c89da89b69 almost parses CustomTF ($macro junk next) Bill Currie 2001-06-13 07:16:39 +0000
  • a3d2d83e18 fixed master list to the 7 (known) working master Chris Ison 2001-06-12 23:53:58 +0000
  • 2c26de2c2b oops Bill Currie 2001-06-12 22:26:52 +0000
  • 72b93d0062 more stuff Bill Currie 2001-06-12 22:26:10 +0000
  • d59048d592 pass given params to qfcc Bill Currie 2001-06-12 22:20:45 +0000
  • 489ddbc7a7 getting closer. soon timie to start putting real code in there Bill Currie 2001-06-12 21:06:28 +0000
  • 7d52f12248 clean up C warnings Bill Currie 2001-06-12 20:24:02 +0000
  • 3be018e1f9 beginnings of a bison grammar for qc Bill Currie 2001-06-12 19:44:26 +0000
  • c0654f3541 miss tagged string != string Bill Currie 2001-06-12 15:29:05 +0000
  • 3526371ff0 oops, forgot to remove debug code Chris Ison 2001-06-12 12:34:59 +0000
  • 75fe232052 Sorted server list, sl_sortby 0 = by name, sl_sortby 1 = by ping Chris Ison 2001-06-12 12:31:01 +0000
  • aa825853bf full \ handling in strings (including \e for escape (why C doesn't have that is beyond me)) Bill Currie 2001-06-11 23:37:01 +0000
  • 340e104778 /D'OH/!!! How many /years/ have I been working with linked lists and free? Bill Currie 2001-06-11 22:42:05 +0000
  • dc5846948e re-enable asm for static builds Bill Currie 2001-06-11 20:59:48 +0000
  • 73ce5c6f9c what's this .vimrc? :) Bill Currie 2001-06-11 20:12:29 +0000
  • f4969d5d67 add some docs for the hash table api and move the include of stdlib.h to hash.c (no longer needed in hash.h). Bill Currie 2001-06-11 19:37:25 +0000
  • 75fbb80b96 make the hash table types opaque Bill Currie 2001-06-11 19:17:40 +0000
  • fcd29459e4 produce line directive output and clean up the generated files Bill Currie 2001-06-11 18:04:32 +0000
  • dfb6062f9d fix an out-by-one for line directives at the beginning of the file Bill Currie 2001-06-11 17:51:09 +0000
  • c732d098f4 add '# 1 "foo.qcc" ...' (flags ignored) processing to qfcc so preprocessed output can make sense. Bill Currie 2001-06-11 15:43:06 +0000
  • 3960e1e460 Oops, missed one. Jeff Teunissen 2001-06-10 23:56:24 +0000
  • 37ad61be4d Change the $(command) stuff back to command. Bashism. Jeff Teunissen 2001-06-10 23:50:46 +0000
  • 9e19da13de function name cleanup. the sound mixer stuff (snd_dma.c, snd_mix.c, etc) use the SND_ prefix now, and drivers (snd_oss.c) use SNDDMA_ as before. Adam Olsen 2001-06-10 15:48:24 +0000
  • 2195a9296c This thing was so far out of date, there's no point pretending it still exists in current cvs. Adam Olsen 2001-06-10 15:01:07 +0000
  • 4486925f11 merge in the now obsolete snd_common.c Adam Olsen 2001-06-10 14:25:19 +0000
  • f094db3977 add support for --with-qf=/usr/local as a prefix for lib and include dirs Adam Olsen 2001-06-10 13:07:30 +0000
  • f600e7c9f9 raised console buffer size Chris Ison 2001-06-09 16:34:13 +0000
  • 5b16c38974 quick bug fix for slist update seg Chris Ison 2001-06-09 15:42:22 +0000
  • 8d3247ff00 added set server name after refresh, and fixed slist update not resetting the list Chris Ison 2001-06-09 15:24:42 +0000
  • 12ae6750af moved slist stuff out of cl_main.c and into cl_slist.c, enabled getting server list from master servers. to switch between servers.txt list (default) and list of servers from master servers use slist switch Chris Ison 2001-06-09 09:12:24 +0000
  • bbc97079e0 pr_comp.h: define PROG_ID_VERSION as 6 and redefine PROG_VERSION as 0x00fff001 (0.fff.001) for the new qc features. pr_edict.c: support version 6 and version 0.fff.001 progs qfcc.h: add version field to options_t add min_version field to opcode_t pr_opcode.c: set the minumum version of each opcode (gee, that table is getting ugly) filter out opcodes with too high a min_version when initializing the opcode hash tables. qfcc.c: update help output. accept --id to limit code generation to id compatable (ver 6) progs. default progs generation to 0.fff.001 Bill Currie 2001-06-09 06:25:33 +0000
  • ac07971e79 remove the location Bill Currie 2001-06-08 22:57:51 +0000
  • f7e66878d1 put the warning /first/ Bill Currie 2001-06-08 22:55:51 +0000
  • e61884fefb add a test for initialized locals Bill Currie 2001-06-08 22:54:34 +0000
  • c6098531b5 Added a comment to output about the cross-compile warnings for newbies Joseph Carter 2001-06-08 22:52:50 +0000
  • 0186732130 make initialized local variables work /properly/ local float urk = 0; STORE_F 46(IMMEDIATE) 0.0 55(?) Bill Currie 2001-06-08 20:13:10 +0000
  • 22e4ce887f Include files for gib have been relocated out of include/ Joseph Carter 2001-06-08 18:46:26 +0000
  • 7ef4c2776e Immidiate sharing now /works/ (shaved off two pr_globals from CustomTF, too:). Detect assignments to initialized globals and give an error, unless the --cow (copy on write) option is given, and then allocate a new global for the var, clear its initialized flag. Relocate all globals. Bill Currie 2001-06-08 06:32:15 +0000
  • 5ffc8e5349 fix the incorrectly displaying net plug Bill Currie 2001-06-08 04:38:00 +0000
  • b9f35283f4 make dist fixes + a --disable-asmopt fix for mingw Bill Currie 2001-06-08 02:47:30 +0000
  • c24a6f7d6a make make changelog work in an external buildtree Bill Currie 2001-06-08 00:27:41 +0000
  • 8656eb998a add ChangeLog Bill Currie 2001-06-08 00:18:53 +0000
  • ef99ad24b0 const merge testing. qfcc is currently borked in that dept. Bill Currie 2001-06-08 00:14:11 +0000
  • 62c783f47a eval_t is no more: too many evil casts involved in using it (which can result it bad code being generated by gcc). Bill Currie 2001-06-08 00:13:06 +0000
  • 05cf89dd5d make progs type checking optional at configure time. still defaults to on. Bill Currie 2001-06-08 00:11:54 +0000
  • b2cd7c6c36 refine the test for compiling outb Bill Currie 2001-06-07 23:03:10 +0000
  • 3009d0e0c8 fix up some overzelous s/// Bill Currie 2001-06-07 22:15:37 +0000
  • 521b86f56a Massive clean up of progs accessors. Just the cleanup of the casts fixed the CustomTF doors issue. Bill Currie 2001-06-07 21:59:24 +0000
  • 2fa5437303 correct a comment Bill Currie 2001-06-07 17:11:34 +0000
  • 3b2cf03b99 mingw compile fixes (vid_wgl.c isn't the right thing) Bill Currie 2001-06-07 16:44:22 +0000
  • e9c01870b3 provide outb for when not optimising Bill Currie 2001-06-07 16:12:21 +0000
  • 8cbf3b2b62 --disable-sdl Bill Currie 2001-06-07 06:55:03 +0000
  • ab9e025078 don't build cd or sound libs/plugins when not building clients Bill Currie 2001-06-07 03:37:05 +0000
  • 6abc7e77ad don't build cd and sound libs when not building clients Bill Currie 2001-06-07 01:28:27 +0000
  • bddf7069a2 might as well return the result of the main in the progs Bill Currie 2001-06-06 21:30:58 +0000
  • e349ed3013 implement file io for qwaq (and cat in qc }:> ) Bill Currie 2001-06-06 20:05:08 +0000
  • 2bc94ea66f progs.h: add no_exec_limit field. Set to 1 to disable the runaway loop check for unlimited runs (eg, in qwaq) pr_exec.c: don't bother checking the profile counter if pr->no_exec_limit is set pr_strings.c: free unreferenced dynamic strings rather than referenced. Bill Currie 2001-06-06 18:10:47 +0000
  • 22f465dabe use field_offset to hide the nastyness Bill Currie 2001-06-06 16:10:28 +0000
  • b130da8e12 It's 2001 now ;) Joseph Carter 2001-06-06 15:18:52 +0000
  • 3d566d47e3 more testing Bill Currie 2001-06-06 00:38:24 +0000
  • 37661f3cce allow NUM_FOR_EDICT to work with a null edict no matter what (hopefully not a bad thing) Bill Currie 2001-06-06 00:38:05 +0000
  • 867260d27d report the size of the locals pool Bill Currie 2001-06-06 00:34:35 +0000
  • c3cdfce12b don't bother writing out local defs as they mess up progs dumping now that they overlap Bill Currie 2001-06-06 00:12:10 +0000
  • ce014fc5c7 use memcpy instead of ugly casts to transfer locals Bill Currie 2001-06-05 23:57:51 +0000
  • 1e6d69e2be main.c: allow dumping to work with entities main.qc: more tests Bill Currie 2001-06-05 23:53:55 +0000
  • d86ed9a3b9 relocate the locals defs as well as their references Bill Currie 2001-06-05 23:52:34 +0000
  • 735a35b2f9 compile fixes from Artur Frysiak <wiget@pld.org.pl> Bill Currie 2001-06-05 17:23:03 +0000
  • 4a0d453b48 The gfx.wad error is now idiotproof! Joseph Carter 2001-06-05 08:39:27 +0000
  • bbb37d0080 customTF is now down to 4989 pr_globals. all parameters, local veriables and termporary variables sit in one pool of memory (at the end of the globals) thus drasticly reducing globals requirements. This works because the whole lot is declared to be in the function's local variable space which is copied to the locals stack in the progs engine. Bill Currie 2001-06-05 08:09:12 +0000
  • a26f799de4 allocate temps based on size rather than type (get better re-usage this way) put temps onto the local scope. Bill Currie 2001-06-05 05:22:11 +0000
  • 17e19f3892 regain about 5000 globals for customTF, but this fixes possible breakage with premature temp var re-usage (ie, it puts the temps back into the locals space). Bill Currie 2001-06-04 22:35:54 +0000
  • 55d58f8d46 ignore .vimrc Bill Currie 2001-06-04 18:33:50 +0000
  • 42c880ab8a formatting cleanup Bill Currie 2001-06-04 18:33:32 +0000
  • 1b930b73d1 execute qfcc on completion for that one stop shopping experience Bill Currie 2001-06-04 18:20:14 +0000
  • e090f3c9e3 do proper temp def handling so we don'e use any where near as many defs for temporary variables (customTF went from 35941 to 12587 pr_globals). Bill Currie 2001-06-04 17:52:50 +0000
  • 8c92504fd1 add a sentinal `type' for type counting purposes Bill Currie 2001-06-04 17:51:39 +0000
  • 53e9fb65d1 prepare PR_Statement for proper temporary usage Bill Currie 2001-06-04 05:45:51 +0000
  • e339e82c01 hash.h is now const correct as is a lot of qfcc Bill Currie 2001-06-04 04:52:14 +0000
  • 4aa47d728a use the correct STORE_ op for function arges, rather than STORE_V. Should speed up progs in general. Bill Currie 2001-06-04 03:57:15 +0000
  • 275e74161b string comparison operators Bill Currie 2001-06-04 03:36:35 +0000
  • 7178824ee6 put ADD_S up where it belongs :) Bill Currie 2001-06-04 02:49:59 +0000
  • ddcd172a03 re-write the opcode selection to be a hash table lookup and statment generation to get the opcode from the table record rather than the location within the table (ewww). gives a nice speed boost /and/ makes the opcode table easier to maintain. Bill Currie 2001-06-04 02:41:45 +0000
  • bd4abbab06 give the opcodes a type Bill Currie 2001-06-03 19:32:50 +0000
  • 09118bc01e pr_comp.h: add OP_ADD_S. WARNING!!! this /will/ move. progs.h: add prototype for PR_PrintStatement pr_edict.c: add OP_ADD_S support in the progs checker pr_exec.c: implement OP_ADD_S tools/qfcc/include/.gitignore: add config.h.in qfcc.h: nuke PR_NameImmediate and change PR_ParseImmediate's prototype (see pr_imm.c) pr_comp.c: add ADD_S, adjust for PR_ParseImmediate's prototype, make PR_ParseExpression work with non-sequential opcodes (slow, will work on that next). Fix up initialised global parsing. pr_imm.c: nuke PR_NameImmediate. didn't work well and wasn't such a good idea anyway. PR_ParseImmediate now accepts a def_t * arg. if null, will allocate a new global def, otherwise it will initialize the def passed in. qwaq/main.c: sports some debugging code (dumps info about the progs it's running) qwaq/main.qc: better ADD_S testing Bill Currie 2001-06-03 17:36:49 +0000
  • 0ca5fc0c67 just some tidy up, thanx Deek Chris Ison 2001-06-03 12:15:06 +0000
  • f7f6c460ce change void to static void, so it compiles for me Adam Olsen 2001-06-03 05:58:01 +0000
  • d4df66570f Add ED_FreeRefs, which searches for references to an entity. Not used yet. Adam Olsen 2001-06-03 05:54:43 +0000
  • b60efa59f4 Bunch of changes. Project has been almost completely rewritten, and now compiles. The rest are just the results of a simple conversion script I wrote. Jeff Teunissen 2001-06-03 04:52:36 +0000
  • 4c8f84adc5 fix for CustomTF menu truncation Bill Currie 2001-06-03 01:28:11 +0000
  • 9c911edebb gl_lightmode is dead, removed that from the config file. New benchmarking information, about 1 fps faster from the last time I updated cvs. (And this is with DRI being 5 fps SLOWER than last time I updated.) Timothy C. McGrath 2001-06-03 00:03:41 +0000
  • 652069d3f2 This one's for Mercury :) (cvar control of pmodel and emodel) Bill Currie 2001-06-02 23:29:41 +0000
  • a0796826ee Back out Mercury's removal of emodel and pmodel. They are /required/ by some servers. Bill Currie 2001-06-02 22:20:34 +0000