Commit graph

4069 commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV
168915faed Some header cleanup, some whitespace. 2002-08-21 00:04:35 +00:00
Bill Currie
5009213564 Move the signal handling code from video/targets/* to sys.c (I'm leaving
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie
118e982edd odd, must have forgotten to test this lot 2002-08-20 22:29:04 +00:00
Bill Currie
d328e18de2 implement the "new" inputline api making it possible to pull the Draw_*
functions out of bi_inputline.c. now somebody can be insane enough to
implement a qc controled console for the server ;) (more importantly, one
step closer to being able to have the server link with libQFcsqc (hah!))
2002-08-20 21:19:53 +00:00
Bill Currie
5d51e0151e bah, forgot the header changes :P 2002-08-20 21:16:50 +00:00
Bill Currie
3e87e3ecdf allow ';' after @class ... 2002-08-20 21:13:18 +00:00
Bill Currie
094cf08a67 bah, bloody string builtins in gcc 2.95 2002-08-20 19:31:56 +00:00
Bill Currie
099e2739b5 various msvc fixes thanks to muzzy (hope he doesn't give up:) 2002-08-20 19:16:11 +00:00
Bill Currie
371e92c448 finally fix chained function calls /properly/. need to make sure /all/ args
get their user count incremented, not just the head of the chain
2002-08-20 17:21:32 +00:00
Bill Currie
76a7637b5e provide a way to dump module information 2002-08-20 14:31:47 +00:00
Bill Currie
e429195f91 allow qfdefs to build standalone again (thanks, raorn) 2002-08-20 07:10:16 +00:00
Bill Currie
b97b70bfe1 final InputLine object conversion 2002-08-20 06:22:28 +00:00
Bill Currie
e4d587fdcf get the args in the right order for Rect 2002-08-20 06:12:02 +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
Ragnvald Maartmann-Moe IV
7de0dd6b5e Whoops, missed one Length. 2002-08-20 02:31:19 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea Rename Length to VectorLength. 2002-08-20 02:22:40 +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
Ragnvald Maartmann-Moe IV
32a85e7130 Clipping cleanups.
Calculate radius for alias models as well as brush.
Culling is no longer optional on alias models (was only ever disabled for viewmodel, which is a lot of extra effort to avoid clip testing 1 thing out of hundreds).
Clip QSG2 scaled alias models with a scaled bbox.
2002-08-20 00:48:59 +00:00
Ragnvald Maartmann-Moe IV
e9febea31c Whitespace. 2002-08-19 06:00:31 +00:00
Bill Currie
55cdde81da rename clmodel to model 2002-08-19 04:15:46 +00:00
Bill Currie
b1a180b25e move the view model check for min_light into the model loader (checks for
progs/v_*)
2002-08-19 04:05:02 +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
d663cfbbec make ChangeLog is little easier to read 2002-08-19 03:30:27 +00:00
Bill Currie
2b1fd8e8c0 fix the menu keybinding not working bug 2002-08-19 02:48:38 +00:00
Bill Currie
797dcc49e2 hide .libs 2002-08-19 02:01:36 +00:00
Bill Currie
451eaba2e1 change the value type for MSG_Write(Byte|Short|Long) from unsigned int to
int to avoid float -> unsigned int conversion problems
2002-08-19 01:58:01 +00:00
Bill Currie
3431b7ce82 float -> unsigned int needs to pass though int otherwise we lose the negative
range on the ps2 (nasal demons:)
2002-08-19 00:05:51 +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
d796f9ea5a Add $(top_srcdir)/include to ruamoko/lib's includes (to get key.h). This didn't
show up if you already had QF installed.
2002-08-18 00:30:07 +00:00
Jeff Teunissen
01e74328c2 Fix qwaq build. 2002-08-17 23:03:26 +00:00
Jeff Teunissen
8cee7b7e4a Whoops! Need to add the header changes. 2002-08-17 07:17:53 +00:00
Jeff Teunissen
51ce063486 Implement Size and Rect. 2002-08-17 06:47:03 +00:00
Jeff Teunissen
5e1ce57322 Okay, this might or might not work (but it should). It's the beginning of the
Ruamoko standard library overhaul.
2002-08-17 05:27:34 +00:00
Ragnvald Maartmann-Moe IV
52588e0698 Not a basic instruction. ;) 2002-08-17 03:25:54 +00:00
Bill Currie
300f638647 finalize the move of the menu code 2002-08-16 22:58:44 +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
e1f6830067 missed this too, bah! 2002-08-16 22:00:54 +00:00
Bill Currie
f8e365553f should have committed this with the previous commit 2002-08-16 21:58:48 +00:00
Bill Currie
a27041c3ef prepare to move the client menu code. not used yet due to some ObjQC bugs
and I don't think people would appreciate losing their menus :)
2002-08-16 21:54:21 +00:00
Bill Currie
c1f5659977 bi_inputline.c:
add InputLine_SetUserData
pr_resolve.c:
	report the correct missing symbol (self instead of time)
2002-08-16 21:52:37 +00:00
Bill Currie
932ac624bd more error checking fixes 2002-08-16 20:49:32 +00:00
Bill Currie
a12fa85506 bring in most of the remaining api bits from cs-code (except string and
stringh: I'm not really that keen on those interfaces and I'ld like to
see them go away) and create libcsqc for most of it (key goes into gui)
2002-08-16 20:15:10 +00:00
Bill Currie
5a9e5277c9 add the draw api interface with a QPic class 2002-08-16 19:57:26 +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
e2adc436db make it clearer just what the inputline params are 2002-08-16 18:42:09 +00:00
Bill Currie
4b1ceb9795 hopefully take care of glGetProcAddress type once and for all :) 2002-08-16 18:29:21 +00:00