Commit Graph

56 Commits

Author SHA1 Message Date
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 f3ee5d7bdc Forgot to remove old code. 2002-03-16 15:56:07 +00:00
Robin Redeker afbd5d115b Forgot to add the definitions for the stringhashes 2002-03-16 15:54:18 +00:00
Robin Redeker 757556022b 1. general menu code cleanup
2. added lots of comments to my menu code
3. wrote a string hash api (key -> value assignment list)
Hm, nothing else afaik. ;)
2002-03-16 15:52:17 +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
Robin Redeker 706de39c06 Made fraglogging switchable. And added it to the features-menu.
cl_fraglog is the new cvar for toggling fraglogging.
2002-03-14 19:41:49 +00:00
Bill Currie c4a8f35a6f wonder how I forgot the -Werror... 2002-03-14 18:51:25 +00:00
Bill Currie 33513ce67b demo autorecord patch from RvB 2002-03-14 18:48:04 +00:00
Bill Currie 81eda409f1 convert so ifs to ?: 2002-02-25 16:35:01 +00:00
Bill Currie 86f92131a9 invert mouse option from RvB 2002-02-25 16:20:43 +00:00
Bill Currie 7c9a19283b add servlist.qc
My fault for telling wildcode menu.src instead of menu.src.in :)
2002-02-17 07:32:36 +00:00
Chris Ison 952d14a149 the early beginnings of the serverlist qc 2002-02-17 00:21:48 +00:00
Bill Currie 94d2f2bee4 make dist fixes 2002-02-05 19:43:22 +00:00
Bill Currie 718c64bc2c don't wrap around the ends of slider bars 2002-02-04 05:35:05 +00:00
Robin Redeker ba902690ee Percentage-bars now look like in old quake 2002-02-02 13:19:05 +00:00
Robin Redeker c7e50a735d Added some bindings to the binding-submenu.
Added a audio-menu and soem other stuff i forgot.
2002-02-02 12:43:14 +00:00
Robin Redeker 03e0b2eae0 Completed bindings-submenu, now all basic-bindings from old quake
are there.
2002-02-02 10:20:37 +00:00
Robin Redeker 2ac4ab161a The option-menus now have a better layout and
the control-binding-submenu works a lot better now too.
I added some string-functions for the API.
2002-02-02 09:38:25 +00:00
Robin Redeker ecc20a7d17 Worked on the options-menu and made gamma-bar more useable and
moved control-binding (still in construction) to a extra-submenu.
2002-02-02 08:06:50 +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
Robin Redeker 8503b43897 Added beginnings for the command-binding to the
option-menu.
2002-01-31 21:10:43 +00:00
Ragnvald Maartmann-Moe IV a3c699a921 Fix three gitignores. 2002-01-31 07:49:29 +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 40e987c071 provide InputLine_SetWidth so the drawn width can be set 2002-01-30 21:25:00 +00:00
Robin Redeker c74e2a52c7 Added a gamma-selector (but waiting still for new key-handling-api)
and auto-run option.
2002-01-30 20:02:15 +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 ce5087225a oops, forgot this 2002-01-29 21:51:33 +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 3f958ae29b more make dist fixes 2002-01-22 18:04:03 +00:00
Bill Currie cfa3591a76 d'oh, should be installing into fs_sharepath :P 2002-01-22 06:22:52 +00:00
Bill Currie 8a24b28d97 scary, but the only changes qfcc needed to build as part of quakeforge was
to auto-substitued the libs and headers.

 o  unconditionally build qfcc (for now, anyway) when building quakeforge
    (needed for cs-code compilation)
 o  when built as part of quakeforge (qfcc should still be buildable
    independently) always enable cpp
 o  autoconfiscate the client-side code
 o  build the client-side code using the built qfcc
 o  install the client-side code in $(datadir)/quakeforge/id1
2002-01-22 05:48:03 +00:00
Bill Currie bd106d79f1 throw this in cvs for now. it's not used at all, and I don't know if I plan
on using it.
2002-01-21 21:46:57 +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