Bill Currie
acd54afff7
move to using a hash table for builtin number -> builtin lookup so sparse
...
ranges can be used efficiently. move the auto-allocated builtins to
0x10000000-0x7fffffff. should be more than enough :)
use static builtin tables ("nul" terminated) instead of a series of
function calls to add builtins to a vm. should be more memory efficient.
2004-01-06 05:51:09 +00:00
Bill Currie
e53967b346
--disable-static now works (thanks for the heads-up, raorn)
2003-12-22 20:51:08 +00:00
Bill Currie
fade4419f7
clients now need to link in the server console plugin when static
2003-12-19 04:50:42 +00:00
Bill Currie
7d82daa127
dedicated server needs/wants the text (server) console plugin, not the
...
console plugin (ie, when static)
2003-12-19 03:41:58 +00:00
Bill Currie
e56e566bca
eek, had the entity center-point calculation wrong. thanks, grievre
2003-12-09 04:29:12 +00:00
Bill Currie
98da304558
this should fix the scores in deathmatch (thanks, xi)
2003-11-21 04:53:41 +00:00
Bill Currie
ad56a249f0
wonder what I was smoking...
2003-11-20 21:12:15 +00:00
Bill Currie
12a90e9233
remove redundant calls to COM_InitArgv
2003-09-22 23:17:47 +00:00
Bill Currie
84ea81a770
fix E_POINTER and E_FUNCTION
2003-09-12 23:12:21 +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
2b5a3753ca
nuke QF/texture.h moving it's contents into QF/image.h (yay, finally, a
...
real home for tex_t:)
2003-09-04 18:59:39 +00:00
Bill Currie
0a8867fde9
replace all VectorSubtract (vec3_origin, ... and
...
VectorCopy (vec3_origin, ... with VectorNegate (... and VectorZero (...,
respectively. Should be a small speedup.
2003-09-03 22:17:04 +00:00
Bill Currie
8868a9d0bd
get rid of some unneeded defines and ifdefs
2003-08-28 23:26:59 +00:00
Ragnvald Maartmann-Moe IV
c2053fbfb1
Prettier particles! Renderer is now informed of sv_gravity changes in qw. Not
...
supportable without protocol changes in nq.
2003-08-27 22:20:03 +00:00
Bill Currie
09a7e21d6e
separate the client frame code from _Host_Frame making things a little
...
easier to follow
2003-08-16 05:29:02 +00:00
Bill Currie
323a6182fd
move pcx.c and tga.c out of libQFutil and into libQFimage with the hopes
...
for more image formats :)
2003-08-15 16:19:10 +00:00
Bill Currie
33a57c5a14
win32 compile fixes
2003-08-13 18:17:30 +00:00
Bill Currie
34d2e0163c
improve the timedemo fps output a little
2003-08-13 16:08:06 +00:00
Bill Currie
e36ce15b5c
private cbuf in map_cfg in nq too
2003-08-13 06:23:20 +00:00
Bill Currie
6a94607d9d
rename VectorMA to VectorMultAdd, add VectorMultSub and use it in a few
...
places. Not certain how much speed difference it makes :/
2003-08-08 15:25:53 +00:00
Bill Currie
ada828bdc9
remove a whole swath of potential buffer overflows by removing the buffer.
...
Also audit a few of the "FIXME: overflow" tags
2003-08-05 01:45:52 +00:00
Ragnvald Maartmann-Moe IV
0a7b56f003
show_fps -> hud_fps, show_ping -> hud_ping, show_pl -> hud_pl,
...
show_time -> hud_time, show_scoresuid -> hud_scoreboard_uid
2003-07-27 23:20:11 +00:00
Bill Currie
797dc5ccae
oops, stuff_view 1 cell too narrow
2003-07-27 22:51:31 +00:00
Bill Currie
830fab2a39
show_fps now updates every 0.2 seconds and displays 10ths of an fps
2003-07-27 22:25:45 +00:00
Bill Currie
6063fb75d9
make the console run at full speed no matter what demo_speed is at. what a
...
lot of work for such a simple concept :P
2003-07-25 22:21:47 +00:00
Bill Currie
4f66e1e9da
fix a bunch of the previous FIXMEs. needs a bit more work for win32
...
compiling
2003-07-08 22:39:45 +00:00
Bill Currie
dddf045221
put "FIXME: overflow" on all the char arrays I could find that weren't
...
obviously safe
2003-07-08 20:11:10 +00:00
Bill Currie
016743c3ab
diff reduction and maybe a couple speedups
2003-05-29 04:49:34 +00:00
Ragnvald Maartmann-Moe IV
1c1e6e17c4
Clean up sv_pr_cmds.c, and sync up nq's copy.
2003-05-29 02:40:34 +00:00
Bill Currie
c2c3a62956
nuke Qexpand_squiggle. instead, expand ~ to $HOME on qfs initialization and
...
cache the value.
don't call Qopen directly in the engine. instead call QFS_Open (generic) or
QFS_WOpen (write only, zip flag).
rework QFS_NextFilename to use a dstring (avoiding a potential buffer
overflow), support 10000 files and work from the top-level fs_userpath
directory. adjust QFS_WriteFile and QFS_WriteBuffers etc to suit.
make sw32 screenshots actually get written.
hopefully everything gets written to the right places :)
2003-05-23 17:17:01 +00:00
Bill Currie
794bca7d8b
don't segfault if the profile command is run before progs have been loaded
2003-05-15 20:46:16 +00:00
Bill Currie
0bc15faa23
clean up hipnotic weapons sbar code a bit
2003-05-11 05:20:41 +00:00
Bill Currie
5c5bb914b0
get the hipnotic hud working properly
2003-05-11 04:51:14 +00:00
Bill Currie
9b9c435e47
don't draw the shotgun icon in hud mode if it won't fit and crop the lg
...
icon
2003-05-10 04:20:21 +00:00
Bill Currie
23e47863c4
fix rogue's item code
2003-05-10 02:54:17 +00:00
Bill Currie
b5a960c57b
fix nq's gamedir handling for the -hipnotic etc shortcuts
2003-05-09 21:10:59 +00:00
Bill Currie
31db390df5
rename cl_overlay_gravity to cl_scoreboard_gravity, rename the hud/sbar,
...
stuff from cl_* to hud_*, add hud_scoreboard_gravity to nq.
2003-05-09 20:30:50 +00:00
Bill Currie
aaba7260e9
auto-arange the hud if the screen is too small for hipnotic or rogue
2003-05-09 19:24:48 +00:00
Bill Currie
63fda1c0d8
almost lost the rogue ammo icons :)
2003-05-09 17:24:11 +00:00
Bill Currie
ae9e666b34
rogue hud working now. not sure I'm happy with the way the ammo's drawn
...
though as rogue didn't (seem to) supply unhighlighted versions of their
alt weapon icons.
2003-05-09 16:52:41 +00:00
Bill Currie
806ba15f33
fix a couple warnings
2003-05-09 15:30:18 +00:00
Bill Currie
7f11d7c127
get hipnotic's sbar working properly, with a hud to boot!!! :)
2003-05-09 07:27:46 +00:00
Bill Currie
4bb1095951
stock sbar and hud seem to be working in nq (fps back, too:)
2003-05-08 21:22:33 +00:00
Bill Currie
0a5f3c31eb
ping/pl/fps/time now stays put and is now in the client rather than the
...
renderer (so nq is currently missing it)
2003-05-08 05:49:57 +00:00
Bill Currie
5e56e01790
qw now has centered scoreboard :)
2003-05-07 17:23:18 +00:00
Bill Currie
e732cf591d
remove all references to OFS_* from the C code. only the macros in progs.h
...
use them now
2003-04-22 18:20:15 +00:00
Bill Currie
9ff240e277
file name consistency
2003-04-21 18:33:27 +00:00
Bill Currie
905f1826eb
temporarily remove location support from nq (and location markers from both)
...
until client code has been cleaned up more
2003-04-21 18:26:21 +00:00
Bill Currie
a477b6caf7
all that just to get rid of it. *shrug*
2003-04-21 18:00:10 +00:00
Bill Currie
2609aade8a
clean up conproc's api as such (what's this thing for, anyway?)
2003-04-21 17:48:59 +00:00