Bill Currie
48f8bbd12e
group the struct rules together
2006-12-02 06:49:55 +00:00
Bill Currie
b6a4a520d5
silence bison's new warnings
2006-12-01 08:17:55 +00:00
Bill Currie
d28952dfcc
fix a bunch of gcc-4.1 warnings (thanks for the heads up, jordi)
2006-11-30 22:52:36 +00:00
Bill Currie
538f0ee51f
allow more hull points (don't remember why, now, but...)
2006-11-10 13:51:02 +00:00
Bill Currie
69e7b8a820
don't loop on a bad file name
2006-08-20 06:23:24 +00:00
Bill Currie
1925bef0c1
fix a bunch of bugs with single-cpp processing when not keeping temps
2006-08-20 06:20:30 +00:00
Bill Currie
130e6c1a3f
fix some intermediate file issues
2006-05-24 14:50:24 +00:00
Bill Currie
f7df6fea17
instead of having cpp args in progs.src, potentially breaking some mods, generate progs.i as a series of #includes and then compile everything in one pass
2006-05-24 14:35:39 +00:00
Bill Currie
8f097ce3dd
fix a couple of typoes
2006-05-24 12:58:31 +00:00
Bill Currie
ff28197da6
pass progs.src through cpp too
2006-05-24 11:19:48 +00:00
Bill Currie
ada9797009
why r+t? we don't need to write.
2006-05-24 11:18:18 +00:00
Bill Currie
87cc09233c
"long" audit. can't use long when we want 32 bits. May be a few more cases.
2005-10-23 13:19:21 +00:00
Bill Currie
c90fa213d6
fix some warnings
2005-10-22 04:55:41 +00:00
Bill Currie
728dde167d
explicity state errors are errors rather than leaving it implicit (tracking
...
gcc's messages again;)
2005-08-17 23:05:10 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
d25a5de0df
make a little more robust. seems not all cvs servers use the same datestamp
...
format
2005-07-16 03:59:20 +00:00
Bill Currie
0c974c0530
more tests
2005-06-14 11:29:42 +00:00
Bill Currie
3f58823fed
vector-calls now works with rcall :)
2005-06-12 11:37:28 +00:00
Bill Currie
aa6265859a
allow -Cno-v6only to work when defaulting to traditional
2005-06-12 11:36:30 +00:00
Bill Currie
762aefc9b1
implement Raven's calling convention (rcall: first 2 params in opb and
...
opc). should give a general speedup to most progs.
2005-06-12 09:54:01 +00:00
Bill Currie
66cabb587f
add the vector-calls "optimisation" from fteqcc. makes it possible to
...
compile the version of frogbot with waypoints for almost 300 maps.
2005-06-10 07:31:25 +00:00
Bill Currie
116860bb66
don't segfault when running out of globals
2005-06-10 05:16:20 +00:00
Bill Currie
9f662787e0
get struct copy to/from struct fields via pointers. fixes a bug found by
...
snax
2005-06-09 10:34:03 +00:00
Bill Currie
d261b42b95
fix a header error pointed out by Kaylea Hascall (thanks)
2005-06-08 07:24:29 +00:00
Bill Currie
501180aaac
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
2005-06-08 06:35:48 +00:00
Bill Currie
9c59d2e14e
add a missing function
2005-05-07 09:52:57 +00:00
Brian Koropoff
2b666bd1ca
Tweak qwaq a bit so it can be used to run Ruamoko Scheme
2005-05-01 11:46:20 +00:00
Bill Currie
dff55040bc
noticed a potential unused warning issue if that version of flex gets hit
...
again
2005-03-31 09:55:41 +00:00
Bill Currie
0edd694bac
fix a default action type clash in some versions of bison
2005-03-31 08:23:11 +00:00
Bill Currie
71678e1859
don't loop infinitely when failing to read a riff file
2005-02-06 07:41:22 +00:00
Bill Currie
114843d7b8
do some cleanup on modelgen before getting into some hacking
2005-01-24 12:39:16 +00:00
Bill Currie
b71f12a616
warning message cleanup
...
This is an imperfect revision of history.
2004-11-18 06:08:20 +00:00
Bill Currie
ae456dc3a4
`secret' .c support so automake's dependency style autodetection works
...
This is an imperfect revision of history.
2004-11-14 23:15:00 +00:00
Bill Currie
554f4d071a
get the type right when accessing arrays in a struct (in a pointer?)
...
This is an imperfect revision of history.
2004-11-13 13:22:30 +00:00
Bill Currie
56838844d2
add support for -E and still compile when -MD is used
...
This is an imperfect revision of history.
2004-11-13 13:22:00 +00:00
Bill Currie
66257e3a88
run in fear, function overloading is here
...
This is an imperfect revision of history.
2004-11-13 11:50:00 +00:00
Bill Currie
9b81bc5ea6
allow access to the parameter type via @param and variable initializers for local arrays/structs.
...
This is an imperfect revision of history.
2004-11-13 04:02:00 +00:00
Bill Currie
5f34f87b58
ivar access control seems to work now :)
...
This is an imperfect revision of history.
2004-11-13 01:37:00 +00:00
Bill Currie
7237087e71
update
...
This is an imperfect revision of history.
2004-11-12 21:20:00 +00:00
Bill Currie
4d044bfea4
make entity.vector.x work properly by making relative field offset work. also don't emit a field def for the resulting immediate
...
This is an imperfect revision of history.
2004-11-12 10:49:00 +00:00
Bill Currie
abf25e0e1c
real fix for uninitialized functions
...
This is an imperfect revision of history.
2004-11-12 05:04:00 +00:00
Bill Currie
0d14a8f9f3
minor cleanup
...
This is an imperfect revision of history.
2004-11-12 03:21:00 +00:00
Bill Currie
9d956b2979
more script usage
...
This is an imperfect revision of history.
2004-11-12 02:54:00 +00:00
Bill Currie
634dcbba95
forgot to allow struct move (for struct assigment)
...
This is an imperfect revision of history.
2004-11-11 22:41:00 +00:00
Bill Currie
5ef382d2a7
Add a rua wrapper for scripts (seems, to work, too:). Also added generic resource handle support based on strref handling in pr_strings.c.
...
This is an imperfect revision of history.
2004-11-11 04:06:00 +00:00
Bill Currie
64cc8c60d2
compile time protocol support seems to be complete now. fortunatly, protocols had never been written out so the corrections to the protocol related stuctures do not need a progs version bump. runtime protocol support hasn't been fully tested yet.
...
+load runtime support seems to be working.
This is an imperfect revision of history.
2004-11-11 00:34:00 +00:00
Bill Currie
7dfd9ab502
Use the script api to parse progs.src instead of idparse. Now any additional tokens on the first line of progs.src are ignored and any additional tokens on subsequent lines get cumulatively added to the cpp command line. See progs.src[.in] in tools/qwaq for a simple example.
...
This is an imperfect revision of history.
2004-11-11 00:24:00 +00:00
Bill Currie
a97f74a6ac
that particular error case is a type mismatch rather than an internal error. found when trying to compare a SEL with a string... oops :)
...
This is an imperfect revision of history.
2004-11-11 00:20:00 +00:00
Bill Currie
b35561504c
do proper selector registration. unfortunatly, I discovered I'd created pr_method_t incorrectly and so had to bump the progs version again
...
This is an imperfect revision of history.
2004-11-10 05:37:00 +00:00
Bill Currie
8770df39e5
start documenting things (progs building still borked)
...
This is an imperfect revision of history.
2004-11-08 23:27:00 +00:00
Bill Currie
780fb41858
make a common call function and fix pr_trace such that it autoclears only when the execution session it's set in is exited
...
This is an imperfect revision of history.
2004-11-07 03:00:00 +00:00
Bill Currie
201252c1c0
FIXME cleanup and a missed win32 compile fix
...
This is an imperfect revision of history.
2004-11-06 02:21:00 +00:00
Bill Currie
e7ab6b65bf
fix an uninitialized variable
...
This is an imperfect revision of history.
2004-11-06 02:17:00 +00:00
Bill Currie
f5bc90a53a
clean up some redundant progs functions (may be broken for a while)
...
This is an imperfect revision of history.
2004-11-05 11:49:00 +00:00
Bill Currie
b46cff08aa
handle param name changes between prototype and declaration gracefully
...
This is an imperfect revision of history.
2004-11-02 23:54:00 +00:00
Bill Currie
9f52181e34
fixes for methods in categories or not in an interface
...
This is an imperfect revision of history.
2004-11-02 11:56:00 +00:00
Bill Currie
9768568eeb
get the number of points for the clipped winding correct
...
This is an imperfect revision of history.
2004-11-02 07:29:00 +00:00
Bill Currie
181df01add
initialize the function tables properly when "converting" a qfo, fix a buffer overflow in file loading and remove the now unnecessary hunk initialization.
...
This is an imperfect revision of history.
2004-11-02 07:15:00 +00:00
Bill Currie
a3a2dd62e3
fix type of "self"
...
This is an imperfect revision of history.
2004-11-02 07:13:00 +00:00
Bill Currie
a4dbdb4d06
whitespace
...
This is an imperfect revision of history.
2004-11-02 07:08:00 +00:00
Bill Currie
fff41d664a
detect re-declaring identifiers as different types (typedef, enum, var, etc)
...
This is an imperfect revision of history.
2004-11-02 07:02:00 +00:00
Bill Currie
a2e05dbe83
make bison output a state file
...
This is an imperfect revision of history.
2004-11-02 05:19:00 +00:00
Bill Currie
1e1734f6b4
remove some redundant code
...
This is an imperfect revision of history.
2004-11-02 05:17:00 +00:00
Bill Currie
8e2f392d2d
pr_obj.h: add the structure for static instances rua_obj.c: add support for +initialize test.r: add some test code for +initialize main.c: don't need to initialize the hunk any more and fix a buffer overflow
...
This is an imperfect revision of history.
2004-11-02 05:12:00 +00:00
Bill Currie
96b65ba63c
get wad creation mostly working (known to work for map textures)
...
This is an imperfect revision of history.
2004-11-02 05:07:00 +00:00
Bill Currie
25484f415b
move the script parser from qfbsp into libQFutil and correct a spelling error
...
This is an imperfect revision of history.
2004-11-02 05:05:00 +00:00
Bill Currie
ca46503607
add -Wsign-compare (default for -Wall only in C++) and fix up the warnings
2004-07-13 19:14:01 +00:00
Thad Ward
0d6af140b8
correct the date format to match the new format used by the new CVS. the
...
offset from GMT is also parsed out, but is not currently used. Also, there
is no need to subtract 1900 from the year when passing to timegm(), as it
assumes values over 999 are the actual year.
2004-06-16 07:36:57 +00:00
Bill Currie
8c10e2e355
this should fix the string case errors on sparc64
2004-05-15 01:00:47 +00:00
Bill Currie
ec97775e3c
plug another leak
2004-05-11 07:27:05 +00:00
Bill Currie
f10f59bb42
don't try to write non-existant textures
2004-05-11 07:26:33 +00:00
Bill Currie
3e16e3dc40
ookii itai... forgot to free the malloced memory for qpic and mip
2004-05-11 06:17:34 +00:00
Bill Currie
ccfaeaf999
make wad extraction a little more useful by writing the known image formats
...
as pcx. (palette is written as pcx too, to make it easy to view)
2004-05-10 00:33:48 +00:00
Bill Currie
67f913289c
move wad_extract into the wad utility and make QFS_CreatePath more
...
generally usable
2004-05-09 22:58:37 +00:00
Bill Currie
3483b3b2b6
handle #pragma gracefully (ie, ignore it)
2004-05-09 02:12:49 +00:00
Bill Currie
2ccff86089
ignore unknown stuff
2004-05-09 00:57:57 +00:00
Bill Currie
4d2300ff11
finally support png
2004-05-01 04:14:59 +00:00
Bill Currie
1a9ca12bcf
can't use None due to the math
2004-05-01 03:41:51 +00:00
Bill Currie
3f6b2fd87b
has some issues, but support writting to stdout
2004-05-01 03:39:33 +00:00
Bill Currie
7205e10f94
fun tool to display item info in a map (using an already extracted entity
...
file). use as a filter
2004-05-01 03:21:42 +00:00
Bill Currie
42c88b23fc
correct the help output
2004-04-30 21:52:17 +00:00
Bill Currie
a12074c1a6
can now extract entities from foo.bsp to foo.ent
2004-04-30 21:51:00 +00:00
Jeff Teunissen
fe654959ee
qfcc man page updates.
2004-04-28 04:49:15 +00:00
Jeff Teunissen
31f5bb5d96
Small changes to the QFCC book.
2004-04-28 00:43:03 +00:00
Jeff Teunissen
b057b6cb26
Some signed/unsigned formatting stuff found by lint.
2004-04-27 23:17:41 +00:00
Bill Currie
14900bb82e
fast-float code option (defaults to on). kills almost 3000 statements from
...
prozac
2004-04-27 20:24:37 +00:00
Bill Currie
8a7bb9c4a0
fix a silly that messed up type mismatch errors
2004-04-12 23:46:21 +00:00
Bill Currie
9a3acc8035
get the field offset correctly
2004-04-09 04:30:19 +00:00
Bill Currie
7b28c555ba
quaternion field access now works
2004-04-09 04:12:44 +00:00
Bill Currie
332ec82495
update the scope of local defs to the parent scope when the creation scope
...
goes away (doesn't get updated to the global scope). fixes a bug where
local defs would be miscounted (and sometimes lost)
2004-04-09 03:47:41 +00:00
Bill Currie
0b61dae402
allow .imm fields (need a better test, I think)
2004-04-09 03:45:55 +00:00
Bill Currie
50dc955652
fix a couple out-by-one errors highlighted by quaternions
2004-04-09 02:20:47 +00:00
Bill Currie
0e47ee96f8
spelling fixes
2004-04-08 18:53:46 +00:00
Bill Currie
4c4f40f137
fix a few bugs. basics seem to be working
2004-04-08 05:13:24 +00:00
Bill Currie
5869cb693e
oops
2004-04-08 05:04:50 +00:00
Bill Currie
a7103c6732
quaternion conjugate
2004-04-08 04:59:10 +00:00
Bill Currie
fc2413ff72
more quaternion work (should be working, haven't come up with tests yet)
2004-04-08 03:32:14 +00:00
Bill Currie
4882005a49
compile fixes (oops) and start working on quaternion support in qfcc
2004-04-08 02:33:20 +00:00
Bill Currie
8220d6d3c9
for loop tests
2004-03-30 02:31:50 +00:00
Bill Currie
25ac9cb07b
fix "for (;;)" etc
2004-03-30 02:31:02 +00:00