Commit graph

112 commits

Author SHA1 Message Date
Bill Currie
3f44dfad1d control options menu almost done (yay for oo:) 2004-02-14 03:18:53 +00:00
Bill Currie
103299e7e4 rename Cvar_GetCvarString to Cvar_GetString and add
Cvar_Set{String,Float,Integer,Vector} and
Cvar_Get{String,Float,Integer,Vector}. use them in the menus
2004-02-14 02:56:29 +00:00
Bill Currie
0e147a7b61 video options "done" 2004-02-14 02:09:18 +00:00
Bill Currie
fec7423cc3 player options are now grouped 2004-02-13 06:42:51 +00:00
Bill Currie
0e34eabbc4 network options are now in a group 2004-02-13 05:49:43 +00:00
Bill Currie
8978d1ca55 make an inputline with a text box behind it 2004-02-13 05:36:35 +00:00
Bill Currie
ac577232db audio and features options menus are now almost fully object-ized (as
close as they're going to get until everything else is)
2004-02-13 02:53:13 +00:00
Bill Currie
de567310fb fix a typo 2004-02-13 01:21:17 +00:00
Bill Currie
c5789ff620 more object usage 2004-02-13 00:21:51 +00:00
Bill Currie
9f56ee80c6 arg, committed debug code again 2004-02-07 00:10:39 +00:00
Bill Currie
51cd2fc69a most of the video menu now uses CvarToggle and CvarToggleView (and rename
RangeSlider to CvarRangeView)
2004-02-07 00:09:50 +00:00
Bill Currie
bc6204335a now all range indicators use the RangeSlider view (need a better name:P) 2004-02-04 07:14:00 +00:00
Bill Currie
c3d99b47a7 in_mouse_amp finally working properly :)
forced to move to CMV for the indicator because I ran out of params...
2004-02-04 06:56:53 +00:00
Bill Currie
c43950abd8 autoconvert for function parameters now works :) 2004-02-04 05:49:54 +00:00
Bill Currie
892e80938b that made a royal mess :( 2004-02-04 04:49:46 +00:00
Bill Currie
b2474a2b97 better auto-conversion of function parameters (ugh, this is getting messy
:( )
2004-02-04 04:33:08 +00:00
Bill Currie
237027d1ff moving towards object-ized menus :) 2004-02-04 02:35:57 +00:00
Bill Currie
c74adc29b0 all slider indicators now use Slider. nuke draw_perc_bar 2004-02-03 13:35:10 +00:00
Bill Currie
ec26083228 start working on a gui lib with a Slider class. use the slider class for
the volume settings. doesn't /quite/ work properly yet
2004-02-03 08:31:26 +00:00
Bill Currie
a4bcf2dab6 hopefully better library arrangement 2004-02-03 06:00:16 +00:00
Bill Currie
1542268d40 use casts rather than ftoi and itof 2004-02-03 05:59:51 +00:00
Bill Currie
73b226b4b7 fix the key bindings menus (invalid strings) and add a music volume knob 2004-01-22 01:33:27 +00:00
Bill Currie
b3f76e1e48 add some string builtins (only the basics for now, but enough to deal with
temporary strings) and fix the game load/save menus.
2004-01-07 07:36:17 +00:00
Bill Currie
8593c1bc53 show_* -> hud_*. Thanks for the headsup, IrcMonkey 2003-09-23 21:49:34 +00:00
Brian Koropoff
687a0845b6 Introducing the GIB Object System (TM). This breaks scriptable HUD for now
and probably has enough bugs to leave the Orkin man scratching his head,
but it works and allows you to do neat things like write classes in GIB
(amazing!) and subclass builtin classes (which are Object and Thread at the
moment, Hash should be coming soon as a replacement for stem and leaf
variables).
2003-09-11 06:03:13 +00:00
Bill Currie
a48b2dd103 fix some errors picked up by the recent changes to qfcc 2003-08-22 06:34:09 +00:00
Bill Currie
054d2b61e8 correct the vertical position of the lanconfig menu 2003-08-20 05:43:24 +00:00
Bill Currie
908a3dab29 fix a bunch of FIXMEs now that qfcc has been fixed for these items 2003-08-01 16:37:44 +00:00
Bill Currie
6ecb707257 revamp the struct system so "struct foo;" does the right thing (ala C) 2003-07-30 04:11:45 +00:00
Bill Currie
da86367824 update for recent changes to Object 2003-07-29 19:55:41 +00:00
Bill Currie
ba19ee1120 clear the current menu so going to console via the menus doesn't screw
things up
2003-06-06 18:57:56 +00:00
Bill Currie
54e8cb1cb2 make dist fix (again:/) 2003-06-04 20:32:10 +00:00
Bill Currie
0c42b0f644 make dist fix 2003-06-04 18:50:54 +00:00
Bill Currie
e8c28cc3f3 fix some incompatable pointer types 2003-05-23 20:12:38 +00:00
Brian Koropoff
3205f0f672 Added the HUDAnimation class and GIB bindings to use it, as well as other
enhancements and cleanups to the scriptable HUD system.
2003-05-23 04:29:01 +00:00
Brian Koropoff
dcf1bcf141 HUD interface leak fixes and enhancements. Something is still leaking
memory, though.
2003-05-15 06:49:10 +00:00
Brian Koropoff
e160ead563 Added the scriptable HUD interface between the engine, Rua, and GIB. 2003-05-14 21:17:32 +00:00
Bill Currie
dd39fde9cf remove a debug print 2003-05-13 19:18:25 +00:00
Bill Currie
8eced18ab2 make dist fix 2003-05-12 15:04:04 +00:00
Bill Currie
508fb4fb5c new view stuff mostly working. just a few visual bugs to iron out 2003-05-06 02:19:13 +00:00
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
Ragnvald Maartmann-Moe IV
e472c6b935 *shakes an angry shambler at ugly codingstyle* 2003-03-03 05:24:45 +00:00
Bill Currie
fd7636137d implement a proper (and optionally secure) QFile interace for ruamoko. 2003-02-14 18:17:17 +00:00
Bill Currie
137b56892f move menu.dat to its new home :) 2003-02-07 20:18:59 +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
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
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
118e982edd odd, must have forgotten to test this lot 2002-08-20 22:29:04 +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
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
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