Commit graph

62 commits

Author SHA1 Message Date
Brian Koropoff
3b703db4d4 Added the beginnings of an interface between Ruamoko and GIB. Although the
API is by no means finalized, it's now possible to write GIB builtins in
Ruamoko that can take arguments and return values to GIB.
2003-04-13 20:43:52 +00:00
Bill Currie
0b0dfcc38e nuke the string api (never really liked it) 2003-04-08 02:35:09 +00:00
Bill Currie
5d40d7e8f3 use the correct array for getting the number of elements 2003-04-08 01:34:34 +00:00
Bill Currie
0566bbfb04 fix a snafu 2003-04-08 00:46:10 +00:00
Bill Currie
13fd0b8533 nuke the string hash api as it's been obsoleted 2003-04-07 22:34:39 +00:00
Bill Currie
84ee27f824 bah, still not used to qc needing @extern on functions :P 2003-04-07 21:15:45 +00:00
Bill Currie
7001f1d851 plist api (hope it works:) 2003-04-07 20:02:06 +00:00
Bill Currie
33c9ce0f7b add hash table api 2003-04-07 16:38:34 +00:00
Bill Currie
8db10ff577 prototype the new Write functions 2003-03-03 16:13:04 +00:00
Ragnvald Maartmann-Moe IV
b64f193d56 Rest of the Write* update. 2003-03-03 05:34:26 +00:00
Ragnvald Maartmann-Moe IV
888337527e Use Write*V and WriteBytes, instead of antique bloated functions. ;) 2003-03-03 05:28:13 +00:00
Ragnvald Maartmann-Moe IV
e472c6b935 *shakes an angry shambler at ugly codingstyle* 2003-03-03 05:24:45 +00:00
Bill Currie
a710e809f5 d'oh, forgot to include qfile.h 2003-02-14 19:07:15 +00:00
Bill Currie
fd7636137d implement a proper (and optionally secure) QFile interace for ruamoko. 2003-02-14 18:17:17 +00:00
Ragnvald Maartmann-Moe IV
ed02b5b4be Ignore *.sym.gz 2003-02-13 19:07:33 +00:00
Ragnvald Maartmann-Moe IV
d65534735b Ignore *.dat.gz 2003-02-13 19:06:27 +00:00
Bill Currie
1be25d5ddf don't install game.dat but do gzip it 2003-02-07 21:46:42 +00:00
Bill Currie
137b56892f move menu.dat to its new home :) 2003-02-07 20:18:59 +00:00
Bill Currie
b2e1160cfd toss these in before they get lost 2003-01-08 15:56:11 +00:00
Brian Koropoff
8ebef28b7a Removed references to Cmd_Return, which should have gone away when GIB was
separated out into an independent interpreter.
2002-11-10 03:24:00 +00:00
Bill Currie
a6a171a5e1 python before ruamoko does interesting things to the mind 2002-11-01 22:53:02 +00:00
Bill Currie
7f69f593d3 configure.ac:
define default include and lib paths for qfcc
ruamoko:
	{cl_menu,game}/Makefile.am:
		conform to the new qfcc library linking rules
	lib/Makefile.am:
		install the libs to ${prefix}/lib/ruamoko
qfcc:
	linker.[ch]:
		support path searching for -llib and make linker_add_lib search for
		libfoo.a for -lfoo in the paths, or just a single dir search for the
		libname otherwise.
	options.c:
		support -L libpath and setup the default include and lib paths
		also change most strdup calls to save_string
	qfcc.c:
		check for foo.a as well as -lfoo when deciding whether the file is
		an object file or lib file.
2002-11-01 18:05:12 +00:00
Bill Currie
ca95033c4f and a bunch more cast fixes 2002-11-01 01:39:36 +00:00
Bill Currie
868201e509 remove a bunch of obsolete (and now wrong syntax anyway) casts 2002-11-01 01:31:37 +00:00
Bill Currie
9dc9ee537d implement a dynamic array class 2002-10-31 23:00:40 +00:00
Bill Currie
dd727edb17 correct the type for obj_verror 2002-10-17 19:33:46 +00:00
Ragnvald Maartmann-Moe IV
48f53e1c88 space to tabs. Grr! 2002-09-19 03:19:50 +00:00
Bill Currie
317c02539b macro-ize --with-{clients,servers} and implement --with-tools using the new
macro
2002-09-17 22:19:14 +00:00
Bill Currie
20922dd408 rename basic bindings to movement bindings and move the two weopon related
bindings from the movement menu to the weapon menu. now the movment menu
/just/ fits on a 320x200 screen.
2002-09-09 17:28:19 +00:00
Bill Currie
2d2dcaa4dc grenade and rocket launcher were swapped 2002-08-28 22:18:11 +00:00
Bill Currie
246ab0009c Change Con_ClearTyping to take a save flag that will cause the current line
(if not empty) to be saved in the inputline history.

Clear the input (but put in history) of say or say team when pressing escape.

Don't say or say_team if the text is empty.
2002-08-28 16:02:43 +00:00
Jamie Wilkinson
ef7a72890e - Fixed a spelling error in the menus. The american
spelling of "favourite" still bugs me though ;-)
2002-08-23 02:52:20 +00:00
Bill Currie
ea063fe0f2 remove the bogus -p $(STRIP) 2002-08-21 22:57:43 +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
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
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
b6e311d4ce varous make dist fixes 2002-08-19 03:58:55 +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
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
e1f6830067 missed this too, bah! 2002-08-16 22:00:54 +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
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