Commit graph

4698 commits

Author SHA1 Message Date
Brian Koropoff
c5be2fb501 OK, I think I need caffeine. This time, the Array class is really switched
over to using ids.
2003-05-23 04:38:08 +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
f9ff908157 Changed the Array class to use object ids instead of null pointers for easy
and safe freeing of elements when an Array is disposed.
2003-05-23 04:27:30 +00:00
Brian Koropoff
30c4da3c76 Change HUD::show and HUD::hide to HUD::enable and HUD::disable. The global
progs variable time is now updated before the HUD drawing function is run.
2003-05-23 02:50:15 +00:00
Brian Koropoff
c3d18bd53a Make file::read and file::write use the new QFS functions. This allows
reading files out of paks from GIB. file::find still needs to be updated
(and renamed).
2003-05-22 02:32:38 +00:00
Bill Currie
6a8469df14 start working on VA support for borked GL libs 2003-05-21 21:53:21 +00:00
Bill Currie
abe657ea12 handle file openning issues a little more gracefully 2003-05-21 15:00:23 +00:00
Bill Currie
3607fecafd copy was meant to be a permanent dstring 2003-05-20 15:56:23 +00:00
Brian Koropoff
fad902f0bf Fixed a thinko that was causing events not to run under certain
circumstances.
2003-05-17 17:36:10 +00:00
Bill Currie
ba3601685c wad pics don't have extensions (plugs a buffer underflow hole) 2003-05-16 19:44:25 +00:00
Bill Currie
7e657c49f1 fix a buffer overflow (order of ops) 2003-05-16 19:36:03 +00:00
Bill Currie
460c8f7f0f mindHog's qfpython patch. GIB info string event callbacks and a compile fix
for broken x11 headers.
2003-05-16 16:17:24 +00:00
Brian Koropoff
ff5ad2ee1c Added text::white and text::brown builtins to produce text of specific
colors.
2003-05-16 07:24:58 +00:00
Bill Currie
19559fb679 fix misplaced bold 2003-05-16 00:19:24 +00:00
Bill Currie
c79c4f816e alpha sort the options 2003-05-16 00:08:20 +00:00
Brian Koropoff
124d90f84f Add the playcenter command to play a sound without 3d spatialization. 2003-05-15 22:39:34 +00:00
Brian Koropoff
6eaa5518a4 Nuke some dprintfs 2003-05-15 22:39:04 +00:00
Brian Koropoff
0ba2481632 Applied taniwha's mem leak fix. 2003-05-15 21:59:19 +00:00
Bill Currie
2c5933fb27 fix some errors pointed out by colin (thanks:) 2003-05-15 21:18:51 +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
9bd839e309 correct a couple of typos 2003-05-15 18:55:57 +00:00
Bill Currie
7fb58c63d4 update the qfcc man page 2003-05-15 18:53:45 +00:00
Bill Currie
a2243e8936 update the --help docs with all the options 2003-05-15 17:48:59 +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
Bill Currie
dedb2fa6bf get [super ...] working correctly 2003-05-15 05:58:31 +00:00
Bill Currie
bfaa07c726 better type mismatch error reporting 2003-05-15 05:19:05 +00:00
Bill Currie
5fac3e6f3a fix a buffer underflow 2003-05-15 05:10:28 +00:00
Brian Koropoff
dd0332632e Make gcc2 stfu. 2003-05-15 04:37:00 +00:00
Bill Currie
4260f55759 make sure the rest of the server gets to run even if there's no network
input (though I fixed this for windows too)
2003-05-14 21:36:41 +00:00
Brian Koropoff
e160ead563 Added the scriptable HUD interface between the engine, Rua, and GIB. 2003-05-14 21:17:32 +00:00
Brian Koropoff
72c21f60c9 Add support for GIB handles to the Rua interface. 2003-05-14 21:16:23 +00:00
Brian Koropoff
bf675e793e Fixed a few GIB bugs, added the chomp builtin. 2003-05-14 21:13:41 +00:00
Brian Koropoff
fe5a62b75a Fixed an incorrect builtin definition. 2003-05-14 21:12:18 +00:00
Brian Koropoff
cc3f98e99c Added a removeItem method to the Array Ruamoko class. 2003-05-14 21:11:23 +00:00
Brian Koropoff
e2061095a6 Fixed .tga loading for GL targets. SW targets still need work in all
likelyhood.
2003-05-14 21:08:43 +00:00
Bill Currie
8ed5962b22 comment out an unused function 2003-05-14 16:29:27 +00:00
Bill Currie
094c9c5cdb make derefencing a pointer without an offset more efficient 2003-05-13 19:49:23 +00:00
Bill Currie
f59f766af1 use the correct type when taking the address of a pointer derefernece 2003-05-13 19:42:14 +00:00
Bill Currie
dd39fde9cf remove a debug print 2003-05-13 19:18:25 +00:00
Bill Currie
054f4b7bd1 oopsie, that was an ill-advised change :P 2003-05-13 06:20:08 +00:00
Bill Currie
1ea1a2f529 don't bother checking access restrictions in class_ivar_expr as
class_find_ivar will catch them when the generated self.ivar is `parsed'.
2003-05-13 01:30:01 +00:00
Bill Currie
8eced18ab2 make dist fix 2003-05-12 15:04:04 +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