Commit graph

822 commits

Author SHA1 Message Date
Bill Currie
e429195f91 allow qfdefs to build standalone again (thanks, raorn) 2002-08-20 07:10:16 +00:00
Bill Currie
c927b2e834 quakefs.c:
allow . and .. in a path so long as the result doesn't escape from the
	game directory
cl_menu/Makefile.am:
	don't strip source paths
optoins.qc:
	use InputLine object
def.c:
	use notice to show stray temps
emit.c:
	make sure expression args get emitted for function calls
expr.c:
	'C' is a cast
	rewrite cast_expr to handle casted pointere derefs
2002-08-20 06:11:10 +00:00
Bill Currie
5d7135600e gah, that /did/ work, dunno what happend. must have done a tweak before
committing again :/ This currently produces some pseudo warnings about
dangling temps, but that's better than producing broken code
2002-08-20 02:52:04 +00:00
Bill Currie
b99a72e876 pr_obj.c:
call obj_find_message with super instead of class when doing a super
	lookup
client_menu.[ch]:
	use the InputLine object instead of directly using the api
InputLine.r:
	builint functions are = #0, not = 0 :P
function.[ch]:
	provide copy_params
method.[ch]
	provide copy_keywordargs
expr.c:
	call inc_users for the parm temp if it's a bind expression
	revers a copy of the selector when building the selector name so the
	selector doesn't get mangled
qc-parse.y:
	catch erronous func = const inintializers (should be func = #const)
2002-08-20 02:09:34 +00:00
Bill Currie
e8a834d6a4 print the function number when dumping functions 2002-08-20 01:51:27 +00:00
Bill Currie
450acbdc91 fix for current pak 2002-08-19 04:00:02 +00:00
Bill Currie
b6e311d4ce varous make dist fixes 2002-08-19 03:58:55 +00:00
Bill Currie
797dcc49e2 hide .libs 2002-08-19 02:01:36 +00:00
Bill Currie
d850f0a529 build qfdefs by default now. remember to bootstrap and configure 2002-08-18 04:35:31 +00:00
Bill Currie
a94bdb199f @sizeof (foo) should work now 2002-08-18 04:08:02 +00:00
Jeff Teunissen
01e74328c2 Fix qwaq build. 2002-08-17 23:03:26 +00:00
Bill Currie
c1c6c05cf5 pr_obj.c:
delay class fixups so order doesn't matter
class.c:
	write out the class and category diffs properly
2002-08-16 22:53:37 +00:00
Bill Currie
932ac624bd more error checking fixes 2002-08-16 20:49:32 +00:00
Bill Currie
8a431570b8 generate the selector name in the correct order for selector expressions 2002-08-16 19:50:16 +00:00
Bill Currie
a4fa9da4f1 ingore some autotools files 2002-08-16 17:54:12 +00:00
Bill Currie
dc10116fc3 clean up some bitrot 2002-08-16 17:52:17 +00:00
Bill Currie
cab813c559 check the scope when checking for duplicate vector sub-defs 2002-08-16 16:51:00 +00:00
Bill Currie
45a1ef2140 allow assignment of any pointer type to void pointers 2002-08-15 20:13:18 +00:00
Bill Currie
36ca7b55bd fix several problems caused by insufficient error checking and some double
Qclose calls
2002-08-15 18:53:03 +00:00
Bill Currie
00c6d011e7 forgot qwaq relied on cs-code's object.r 2002-08-15 18:51:58 +00:00
Bill Currie
01c375c7db update test verbosity checks for the new default verbosity 2002-08-14 22:38:24 +00:00
Bill Currie
09ce2b0662 make sure a class' super class gets referenced when the class is implemented
to ensure the super class' object file gets linked in when it's in a library
2002-08-14 03:55:23 +00:00
Bill Currie
fabaf84745 fix a missing reloc ref for .this 2002-08-14 03:44:41 +00:00
Bill Currie
53b257c918 preprocessising fixes, including detecting when to stop at the preprocessing
stage.
2002-08-13 22:02:07 +00:00
Bill Currie
8474f145d1 remove debug print 2002-08-13 21:54:10 +00:00
Bill Currie
0840678465 handle extern -> defined transition properly for vectors 2002-08-13 21:19:30 +00:00
Bill Currie
2f4094344b don't change the hidden parm type for protocol methods until they're used in a class 2002-08-13 21:18:17 +00:00
Bill Currie
fa6f3cb09d loop over the method list correctly 2002-08-13 21:17:20 +00:00
Bill Currie
3971786ee1 clean up a follow on error for calling an undefined function 2002-08-13 21:16:42 +00:00
Bill Currie
aa76f81073 change the default verbosity to 0 2002-08-13 19:32:06 +00:00
Bill Currie
cd6f82c2c9 fix Class mangling when compiling multipe source files to objects 2002-08-13 17:03:26 +00:00
Bill Currie
a431a2783c byteswap the reloc def field too (fixes the qfcc seg on big-endian systems) 2002-08-09 04:06:50 +00:00
Bill Currie
ff8ea15c09 solaris compile fixes 2002-08-09 04:06:17 +00:00
Bill Currie
8de4d28238 print cpp invocation for win32 too 2002-08-02 19:09:02 +00:00
Brian Koropoff
439f9838d3 Whoops, missed some stuff that needed to be in idparse.h 2002-07-31 22:13:15 +00:00
Bill Currie
c86d7f2009 forgot this 2002-07-31 17:00:19 +00:00
Bill Currie
7c26fa28dc another cmdlib function dies 2002-07-31 16:42:21 +00:00
Bill Currie
ad6e025a91 take cmd.[ch] back to basics. the gib code is temporarily gone pending
renovations. cmd_source handling is a little hacky in nq, but it's working.
2002-07-31 05:19:03 +00:00
Bill Currie
bd42e5158d rename wav to qfwavinfo (thanks for the suggestion, Despair) 2002-07-29 22:32:19 +00:00
Bill Currie
5d14e327aa don't print the filename and only print the CUEPOINT if there is one 2002-07-29 21:39:42 +00:00
Bill Currie
fc9b734d6b parse out the cuepoint info 2002-07-29 21:38:43 +00:00
Bill Currie
b900b60334 gcc 3.1 win32 compile fix 2002-07-28 03:30:13 +00:00
Bill Currie
de22355371 use P_* for params and R_* for return values in builtins code 2002-07-24 21:42:33 +00:00
Bill Currie
267ba0aa85 s/pak/wav/ 2002-07-23 20:17:10 +00:00
Bill Currie
5f65a53e81 fix a bug with obj_msgSend and obj_msgSend_super when more than one file is
compiled
2002-07-23 18:51:47 +00:00
Bill Currie
1e49f0d0c3 fix a segfault (what was I thinking when I wrote that line?) 2002-07-23 05:44:45 +00:00
Bill Currie
25c869324d start working on a tool to sxtract the loop info from wav files 2002-07-22 16:17:58 +00:00
Bill Currie
c2a7564d55 implement -l, but -L isn't supported yet and the full lib name must be given 2002-07-21 07:12:17 +00:00
Bill Currie
acf9ce392c move pakfile.[ch] into libQFutil and make quakefs.c use it instead of its
own code. This also removes the evil pak file count limit :)
2002-07-21 06:11:28 +00:00
Bill Currie
f1423cb0b3 print the cpp command line if verbosity is high enough 2002-07-20 05:20:40 +00:00