Commit Graph

3457 Commits

Author SHA1 Message Date
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
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 6c5cad0806 make dist fixes 2002-08-16 17:20:40 +00:00
Bill Currie cab813c559 check the scope when checking for duplicate vector sub-defs 2002-08-16 16:51:00 +00:00
Ragnvald Maartmann-Moe IV 3b65cbc35d Raorn's SDL_GL_GetProc support. Makes -sgl targets work again, hopefully on windows as well as linux.
Now just need to get key repeat, focus handling and sound blocking on focus loss working like x11 input system does, and sdl support will be in pretty good shape. And clean out all the stupid #ifdefs...
2002-08-16 07:53:11 +00:00
Bill Currie f068b47c0c complain when MAX_PACKET_ENTITIES gets hit to see if this is our problem 2002-08-15 21:11:57 +00:00
Bill Currie 045e52cf14 start working on gui stuff for the new client menus and make the header file
protection macros consistent
2002-08-15 21:00:51 +00:00
Bill Currie 45a1ef2140 allow assignment of any pointer type to void pointers 2002-08-15 20:13:18 +00:00
Bill Currie 20394c3a4d add Makefile and Makefile.in 2002-08-15 19:09:48 +00:00
Bill Currie 75ec07705c bugger the dependencies, I want to be able to use this stuff for the menus! 2002-08-15 19:08:44 +00:00
Bill Currie f753dd82ae put \n on some error messages 2002-08-15 19:06:21 +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