Bill Currie
8220ddd83d
and the command api to csqc and use it to bind menu_load and menu_save. F2
...
and F3 now work in nq :)
2002-04-12 17:19:49 +00:00
Bill Currie
ba9ad15ebd
it he's if I understand that Draw_CachePic puts the pic into the cache...
2002-04-10 06:56:25 +00:00
Bill Currie
15e17acc1c
the draw api now uses a `real' qpic_t rather than loading the pic every time
2002-04-09 21:38:41 +00:00
Robin Redeker
489bc7291a
Playermenu working now fine.
...
Added some api-functions to complete playermenu.
(Playermenu isn't still finished)
2002-03-19 17:07:56 +00:00
Bill Currie
655fe17e18
fix handling of pointers in function params and local vars for qc functions
2002-03-18 07:30:21 +00:00
Robin Redeker
adca50e52b
Did further working on the menu code.
...
Added a _unfinished_ Player options-submenu, for setting
the name, top-/bottomcolor.
Added Draw_Fill and such to the progs api.
Added some comments.
2002-03-16 20:22:01 +00:00
Robin Redeker
863b4e9bbd
Improved the menu code a bit, made style cleaner and
...
added some comments to my menu code.
2002-03-16 00:14:24 +00:00
Chris Ison
952d14a149
the early beginnings of the serverlist qc
2002-02-17 00:21:48 +00:00
Bill Currie
cf2f42ea6a
make it so menu items can get called for any keypress. this is optionally
...
done by setting the allkeys param to 1. when this is the case, if the menu
item function returns 0, normal processing is done, otherwise processing
stops.
2002-02-01 17:32:40 +00:00
Bill Currie
ad6d847728
fix qfcc's incorrect allocation/initialization for pointers (eg, float [] foo)
2002-01-30 22:57:48 +00:00
Bill Currie
938037c5ea
you can now type in the input lines. the data doesn't get used yet, though
2002-01-30 22:20:52 +00:00
Bill Currie
bb97d2d74f
set some more cvars to the correct values for single player play
2002-01-30 21:49:31 +00:00
Bill Currie
9c6def5c7d
fade the screen when drawing the menus (this is optional per menu)
2002-01-29 22:32:56 +00:00
Bill Currie
476c3d2626
helps if I understand what elmex was up to :)
2002-01-29 21:51:19 +00:00
Bill Currie
00216df62a
fix a couple of compile issues (comment out the options_menu call and
...
include QF/keys.h again)
2002-01-29 20:50:27 +00:00
Robin Redeker
6c1fbd079c
Added options menu. Can now be find in options.qc.
...
Only mouse-grab, fullscreen and crosshair can be changed by
it now.
2002-01-29 19:04:24 +00:00
Bill Currie
85588c8fcb
start implementing the api for input lines and clean up a couple csqc
...
prototype issues.
2002-01-23 22:37:44 +00:00
Bill Currie
b7eded6854
more work on the mp menus and split out most of the builtin defs
2002-01-23 19:41:50 +00:00
Bill Currie
4416121007
start on the join menu and change the draw functions to return integer
...
instead of void
2002-01-23 00:51:55 +00:00
Bill Currie
cc84828647
start on the multiplayer menu
2002-01-21 21:39:27 +00:00
Bill Currie
6d41118b46
load and save menus now work
2002-01-21 19:41:22 +00:00
Bill Currie
5b0e6dc342
add file and string modules to csqc. the file nodule is rather parnoid
...
about the path it's handed (need to get even more paranoid, though). the
string module just has char replacement so far. Add Draw_CenterPic to
r_progs.c, but this will only last till qpic_t is supported in qc.
the load menu almost works: just need to add key handling and fix a bug in
PF_sprintf
2002-01-21 07:24:51 +00:00
Bill Currie
d59e7d3da4
you can now start a new single player game via the menus
2002-01-20 04:11:08 +00:00
Bill Currie
14ac3acc17
add a builtin (gametype) for detecting the, well, game type (ie, netquake
...
or quakeworld) which just returns the apprproate string. the single player
menu is now acessable in nq but not qw :)
2002-01-20 03:09:03 +00:00
Bill Currie
db7a2264c0
bring in the standard builtins and randomize the quit message
2002-01-20 01:39:06 +00:00
Bill Currie
35de51ee31
the quit menu works now. however, quit from the console doesn't
2002-01-20 00:06:08 +00:00
Bill Currie
b73851d5aa
the menu cursor can now be moved up and down using the mouse wheel
2002-01-19 07:19:39 +00:00
Bill Currie
b1b848ae4a
finally get the damn spinner working (not in the right place, though)
2002-01-19 05:56:25 +00:00
Bill Currie
fcc9cbf3b7
the main menu page now displays and can be entered/left. K_ESCAPE is now
...
handled exclusively by the console.
2002-01-18 23:45:28 +00:00
Bill Currie
10acad1ee4
first tie-in for the renderer (Draw_Pic: the interface will likely change
...
to better match the real interface, but this will do for now)
2002-01-18 22:35:46 +00:00
Bill Currie
cef918df83
get array initialisation worrking
2002-01-18 08:26:37 +00:00
Bill Currie
59cec48aef
oops (hmm, I seem to be doing a lot of that lately:/)
2002-01-17 19:41:01 +00:00
Bill Currie
d69762facd
integer() and float() casts seem to work
2002-01-17 19:32:04 +00:00
Bill Currie
55bb282b24
beginnings of the menu code
2002-01-17 08:15:43 +00:00