Bill Currie
681950cf26
print [val] for pointers
2002-01-30 22:14:13 +00:00
Bill Currie
40e987c071
provide InputLine_SetWidth so the drawn width can be set
2002-01-30 21:25:00 +00:00
Bill Currie
d1460f6166
rename the width parameter to lsize as it's the size of the input line, not
...
the drawn width
2002-01-30 21:23:46 +00:00
Bill Currie
6d63d1d55b
implement comparisons and not for pointers
2002-01-30 21:20:12 +00:00
Bill Currie
e1abe4c44b
finalize the crc of the progs file
2002-01-30 21:13:57 +00:00
Bill Currie
7ef4426775
inputline api `done'. now just to get it working
2002-01-30 08:41:18 +00:00
Bill Currie
ee3f51f13b
"" to <> for system headers
2002-01-30 08:34:44 +00:00
Bill Currie
c76f7d88ce
fix an API snafu (oops:)
2002-01-30 08:09:53 +00:00
Bill Currie
8561dfa93a
basic resource management system for the VM
2002-01-30 06:21:20 +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
0ea713eda4
redo the progs loader to allocate all the memory needed for progs in one
...
shot, allowing for caller specified alloc and edicts and zone memory sizes.
(progs + edicts + zone).
2002-01-29 20:53:44 +00:00
Bill Currie
0906ac5694
get the positioning correct for Draw_CenterPic
2002-01-29 18:44:31 +00:00
Bill Currie
b64693a332
get the param order correct for the menu item callback
2002-01-29 18:16:49 +00:00
Bill Currie
6f29bcb238
break the loop from CRC_Block into CRC_ProcessBlock so that crcs can be
...
caclulated over multiple blocks.
2002-01-28 18:00:48 +00:00
Bill Currie
21b6e68a8c
break out the non-edict code into sensible locations
2002-01-28 17:15:36 +00:00
Bill Currie
750100b3e3
obsolete declaration cleanup and const correctness for Key_GetBinding
2002-01-25 00:01:05 +00:00
Bill Currie
08210bc93f
fix an accidental double byteswap that broke progs for big-endian machines
2002-01-24 04:43:47 +00:00
Bill Currie
316386b542
mod->textures can legitimatly have null textures, so be on the lookout for
...
them. This fixes the client crash on certain levels.
2002-01-24 02:44:19 +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
68637eea9e
start implementing dynamic memory for progs
2002-01-23 22:35:48 +00:00
Bill Currie
16cc0c22c9
forgot to implement store.p
2002-01-23 22:33:22 +00:00
Bill Currie
ed91b16f45
add Menu_GetIndex
2002-01-23 21:07:38 +00:00
Bill Currie
eb2c7824f8
don't bail out of Menu_Draw if the qc draw function returns 0. this allows
...
for combined C/QC drawing.
2002-01-23 00:48:03 +00:00
Bill Currie
5450fdb692
don't seg on menus with no items
2002-01-21 21:38:34 +00:00
Bill Currie
ec0b3d8940
make Menu_SelectMenu(NIL) do the right thing and handle qc code that clears
...
the current menu but forgets to return 1 in keyevent
2002-01-21 19:40:45 +00:00
Bill Currie
d5fb0f5a68
fix some .. path compression bugs
2002-01-21 17:36:22 +00:00
Bill Currie
9833b7009d
oops, forgot to remove the debug code
2002-01-21 16:48:08 +00:00
Bill Currie
f3efed94e5
.0 isn't valid for integer formats
2002-01-21 16:47:50 +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
1168f1aa86
libQFcsqc (I'm not adverse to renaming it) is born. so far, only provides
...
Cbuf builtins.
2002-01-20 04:09:36 +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
9f67e81049
don't handle key presses if there's no callback and no items
2002-01-20 00:47:01 +00:00
Bill Currie
95e200a9e0
fix console command line quit
2002-01-20 00:32:14 +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
bb82e48ab1
add Draw_String to csqc
2002-01-20 00:03:34 +00:00
Bill Currie
84636f20cb
make sure r_progs gets linked in when using the .a lib
2002-01-19 22:53:00 +00:00
Bill Currie
6767d6bfa0
win32 compile fixes
2002-01-19 20:45:45 +00:00
Bill Currie
9181ddaa4c
don't go to game when leaving menus when there's no game. doesn't actually
...
work properly, but I think that's a bug in the main client code.
2002-01-19 07:40:35 +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
29c19ca243
Menu_CenterPic now centers the pic (horizontally) as intended
2002-01-19 06:18:52 +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
a78ea1464b
provide stubs for the client-only functions (they might prove useful in the
...
server later anyway). this fixes nq-server's segs
2002-01-19 04:37:47 +00:00
Bill Currie
6af9a5d8e6
make the builtins an array of pointers so the hash table doesn't get royally
...
screwed up
2002-01-19 03:31:51 +00:00
Bill Currie
6ab3329b94
bring back togglemenu
2002-01-19 03:28:52 +00:00
Bill Currie
15e7e35a57
make K_ESCAPE bindable
2002-01-19 02:29:29 +00:00
Bill Currie
7def88668a
fix a goof with the progs loader for the server interface
2002-01-18 23:53:51 +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