Ragnvald Maartmann-Moe IV
5e6f77cddb
Instead of glEnable/glDisable (GL_ALPHA_TEST) pairs for every sprite rendered, let's do it once for the entire sprite loop. Minor hit when there are no sprites, but 2+ it's a gain. Better worst case, rather than better peak performance.
2001-10-02 01:48:51 +00:00
Ragnvald Maartmann-Moe IV
63ac10dfde
Clean up glDepthFunc and glDepthRange so it's properly initted, and not set needlessly every frame.
2001-10-02 00:01:05 +00:00
Ragnvald Maartmann-Moe IV
4b3c4e1eaf
Whitespace.
2001-10-01 21:52:05 +00:00
Ragnvald Maartmann-Moe IV
fce4b903eb
Fix double joystick init in sdl targets.
2001-10-01 21:50:35 +00:00
Bill Currie
a4714175dd
update the screen directly when printing rather than using C_DrawOutput.
...
Resizing still seems to work updates are much faster.
2001-10-01 16:09:06 +00:00
Bill Currie
77cf9439d0
getting closer to a properly resizing console
2001-10-01 06:49:59 +00:00
Bill Currie
f505e8630c
fixes for rh 7.1
2001-09-30 23:24:53 +00:00
Chris Ison
b0dc19310a
more compile under cygwin patches
2001-09-30 13:05:20 +00:00
Bill Currie
53529ae940
output window now updates when resizing, but it doesn't /quit/ work properly
...
(issue with starting line).
2001-09-30 05:59:33 +00:00
Chris Ison
60107fd19c
changes to get cygwin to compile server. still debugging result
2001-09-29 09:39:27 +00:00
Bill Currie
138a4a1c14
rename console_t to old_console_t in preparation for a better version and
...
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Adam Olsen
e12f1dcf9e
- boundscheck static progs strings, and give proper errors for that
...
and dynamic strings if it fails.
2001-09-28 23:34:49 +00:00
Bill Currie
f0244bece2
update the status bar on resize
2001-09-28 23:10:15 +00:00
Bill Currie
c7031b20f3
move vid_fullcreen definition from *.c to vid.c and declaration from
...
context_x11.h to vid.h and remove all extern decls from *.c
2001-09-28 16:54:31 +00:00
Bill Currie
8e27422c72
partial fixes for mingw cross builds. still have issues with ar :(
2001-09-28 16:03:45 +00:00
Bill Currie
30f6d2f85c
fix a case and paste error
2001-09-28 15:29:56 +00:00
Jeff Teunissen
d63243380f
Aaaaaaand, it's done!
...
Special note: I hope to never do this again. :)
2001-09-28 10:31:20 +00:00
Jeff Teunissen
873521a68d
Makefile cleanup continues. Models.
2001-09-28 09:49:09 +00:00
Jeff Teunissen
e892131af5
Rename gl_libgl to gl_driver, nuke the last of the HAVE_GLX references,
...
and default gl_driver to OPENGL32.DLL on Win32.
2001-09-28 07:41:38 +00:00
Jeff Teunissen
e9c9c8bab6
fix up installs for -svga.
2001-09-28 06:55:27 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Jeff Teunissen
31b6da027c
The video version. This WILL break QW and NQ until my next commit.
2001-09-28 05:33:58 +00:00
Jeff Teunissen
e6d7aec03a
Build system updates/fixes for audio libs. MUCH cleaner, probably
...
faster, doesn't do anything unnecessary any more as far as I can tell.
2001-09-28 05:33:12 +00:00
Jeff Teunissen
325303b037
And now for the 32-bit software renderer.
2001-09-27 21:58:10 +00:00
Jeff Teunissen
4c40bad808
Okay, this ought to work for software.
2001-09-27 21:53:59 +00:00
Jeff Teunissen
be9ee170d6
Okay, the GL renderer lib is fixed up.
2001-09-27 21:47:47 +00:00
Jeff Teunissen
b794d4c316
yaay, cleaned up.
2001-09-27 21:28:44 +00:00
Bill Currie
37495db521
this should work for older alsa 0.9 where asoundlib.h is still in sys instead of alsa
2001-09-27 17:12:17 +00:00
Ragnvald Maartmann-Moe IV
bd1465ef3e
Make blood puffs a little less ridiculously large and not overly dense.
2001-09-27 06:52:38 +00:00
Ragnvald Maartmann-Moe IV
35b767cd21
Remove scaling from R_RunParticleEffect, and make blood puff size variable in qw.
2001-09-27 03:09:24 +00:00
Ragnvald Maartmann-Moe IV
2941c07b0a
Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects.
2001-09-27 00:43:46 +00:00
Adam Olsen
376f05d357
- add some conversion builtins, now we have ftoi, ftos, itof, itos,
...
stof, stoi, stov, and vtos.
- fix PF_sprintf
- add FFnameFF support, where it tacks <userid> after the nick on the
console.
2001-09-26 22:26:31 +00:00
Bill Currie
ac58ecb10b
windows get resized/moved properly now and the input line gets redrawn when
...
the terminal resizes. Still need to work on the status bar and output window
2001-09-26 18:08:30 +00:00
Bill Currie
cb4f7eb808
various input line improvements
2001-09-26 16:31:36 +00:00
Bill Currie
ca78b9ecd8
minor improvements in cursor location handling
2001-09-26 06:09:45 +00:00
Bill Currie
e9e2bbf1c1
various fixes, most notably using windows instead of subwindows. This stops
...
the invalid memory accesses within ncurses when resizing.
2001-09-26 05:45:47 +00:00
Bill Currie
7b4e39053b
update local info about the screen size
2001-09-25 23:33:37 +00:00
Chris Ison
0efd28abcc
trying to get bootstrap to work in cygwin
2001-09-25 23:04:13 +00:00
Bill Currie
a439170dcf
libasm cleanups
2001-09-25 22:12:55 +00:00
Bill Currie
5195c065c6
do the resize signally properly
2001-09-25 20:35:37 +00:00
Bill Currie
df330f33fd
expernimental code to get window resizing working
2001-09-25 20:16:24 +00:00
Bill Currie
ad4f29c6a8
clean up the buffer size calcs a bit
2001-09-25 16:32:00 +00:00
Bill Currie
3909176957
use the dynamic buffer for both curses and stdout
2001-09-25 16:19:26 +00:00
Bill Currie
9ffe53178c
fix a char translation bug in the curses console and make the non-curses
...
console actually translate chars
2001-09-25 16:13:41 +00:00
Bill Currie
06da30ac89
mingw build fixes again (including mostly working in sid: got some link issues)
2001-09-25 06:18:30 +00:00
Bill Currie
36de3c147e
move Sys_Quit and Sys_Error totally into libQFutil. They will call a list
...
of pre-registered (Sys_RegisterShutdown) function before actually exiting
the program. This should take care of the pain when an ncurses server
crashes.
2001-09-24 21:00:23 +00:00
Ragnvald Maartmann-Moe IV
5330fd5651
Whoops.
2001-09-24 18:03:36 +00:00
Ragnvald Maartmann-Moe IV
e2f14519fb
Merge world.h. Also reduced smoke particle textures from 8 to 1, a considerable speedup through reduced texture thrash...
2001-09-24 17:52:13 +00:00
Bill Currie
c8ab7d04ef
fix two bugs with glx extension checking: HAVE_GLX wasn't getting into
...
config.h and GLX_ARB_get_proc_address is not (any longer?) defined by mesa.
2001-09-23 03:41:05 +00:00
Ragnvald Maartmann-Moe IV
d247027954
Use a callback for gl_multitexture which sets gl_mtex_active (now a qboolean, rather than a macro). 0.6-1.0% speedup.
2001-09-23 03:24:23 +00:00
Bill Currie
bf1920a851
don't enable mtex if the required functions cannot be found. This shouldn't
...
normally happen, but is due to a currently broken QFGL_ExtensionAddress and
causes qf to seg when mtex is requested.
2001-09-23 03:18:58 +00:00
Adam Olsen
07b0d91900
- add a NUM_FOR_BAD_EDICT function, which doesn't care if it's a bad
...
value
- switch some prints over NUM_FOR_BAD_EDICT
- change NUM_FOR_EDICT to call PR_RunError on error, instead of
PR_Error. That was it prints out a backtrace.
(I did it in reverse order ;)
2001-09-23 01:29:52 +00:00
Adam Olsen
a159e852e6
- add some comments to libs/console/inputline.c
...
- rename pr_deadbeef to pr_deadbeef_ents
- add pr_deadbeef_locals, which does uninited locals. (crashes from
it are undeniably buggy code, unlike pr_deadeef_ents)
- add a missing break to packetlog printing's switch
- add sv_kickfake, which kicks people for attempting to fake messages,
or replaces the ^Ms with # if disabled.
2001-09-23 00:36:21 +00:00
Ragnvald Maartmann-Moe IV
bb6796247c
Kill r_particles->int_val testing in gl particle engine. Also merge a bit down to r_part.c/r_cvar.c. Properly declare cl_max_particles (how the heck was it working when only ever declared as exter cvar_t *cl_max_particles?).
...
Should be a minor speedup for gl, definitely a code cleanup.
2001-09-22 02:37:45 +00:00
Adam Olsen
9448063c67
- use etype_T instead of int (just so it's clearer in debugging)
2001-09-21 19:28:08 +00:00
Adam Olsen
8c89f65a98
- compile fix for building without curses
2001-09-21 17:28:35 +00:00
Bill Currie
49a85718f8
total nukage of Con_*Printf calls from libs (except for video). Sys_*Printf
...
(Sys_DPrintf is new) is now used exclusively for all lib printing. Con_Init
sets the sys printf recirection to Con_Print (which has been revamped
appropriatly) and the server sets it to SV_Print (which was SV_Printf and
the new SV_Printf calls /it/). This should fix the rcon print redirection
issues.
2001-09-21 04:22:46 +00:00
Adam Olsen
f59c2a2a0b
- build fix for without curses
...
- add a "zombie" line to edictcount, which is the number of ents that
are "free" but not long enough to be reused.
2001-09-20 19:34:02 +00:00
Adam Olsen
ca51e3be02
- cleanup of up/down key handling, as per suggestions from james
...
- add a sv_console_plugin cvar (guess what it does)
2001-09-20 15:14:44 +00:00
Adam Olsen
7195fe8ac7
- fix for ^@ in the history
...
- little cleanup
2001-09-20 08:12:28 +00:00
Adam Olsen
388c102a57
- fix buffer size reallocation
...
- fix history crash
2001-09-20 07:34:27 +00:00
Adam Olsen
0977b555f3
- build fix for without curses (untested, but should fix the problem I
...
had when I last tried)
- fix sv_filter_automask so it's not inverted (doh, again!)
- cleanups of ip filter prints
2001-09-20 06:51:25 +00:00
Ragnvald Maartmann-Moe IV
fc1ab9640e
r_numparticles is now r_maxparticles. Ah, the joy of sane variable names.
2001-09-19 18:07:09 +00:00
Adam Olsen
893c8b784b
- tweak the cl_maxfps sleeping to be more finely grained
...
- treat empty snd_render/snd_output strings as "don't load"
2001-09-19 05:32:20 +00:00
Bill Currie
bdf45386f0
some minor work getting the client side of libQFconsole working, but nowhere
...
near complete.
2001-09-19 03:39:04 +00:00
Ragnvald Maartmann-Moe IV
8af9c2321d
Larger lightning sparks, and more importantly, cull particles more efficiently when bumping into max. R_LavaSplash and R_TeleportSplash need work, though.
2001-09-18 23:22:57 +00:00
Timothy C. McGrath
54e5a3e114
Fix for svgalib from joa, two liner. Very nice of him :)
...
Misty-chan
2001-09-18 22:38:08 +00:00
Adam Olsen
678068849e
James' latest fullscreen patch, which works flawlessly for me :)
...
(and if anybody cares about the formatting they can change it AFTER
this is in)
2001-09-18 09:30:59 +00:00
Adam Olsen
7c75e264c9
- build fix for fbdev
...
- minor formatting tweak for in_common.c
2001-09-18 09:19:44 +00:00
Bill Currie
b79ff6378d
mouse warpage fixes from james
2001-09-18 05:18:49 +00:00
Bill Currie
dd98622859
x11 vid_fullscreen improvements from james (thanks)
2001-09-18 04:53:01 +00:00
Bill Currie
b559b3a796
fix a key mapping issue reported by MasterLich
2001-09-18 04:38:18 +00:00
Ragnvald Maartmann-Moe IV
d3e8e4ed11
Sparks and a little smoke from TE_LIGHTNINGBLOOD.
...
And kill R_RunGunshotEffect.
2001-09-17 01:48:52 +00:00
Ragnvald Maartmann-Moe IV
a7d8e2c0ea
TE_EXPLOSION2 now does colored lighting. And spark showers brightened up a bit. Sparks all yellow now, none of the weird dingy grey ones. ;)
2001-09-16 20:07:28 +00:00
Bill Currie
52648b21e3
sv_use_curses 0 to disable curses, and fix the know issues with using the
...
old console
2001-09-16 06:08:09 +00:00
Bill Currie
aade80a8d7
/finally/, libQFconsole is being used (qw-server only so far). Still has
...
some minor nits with ncurses and probably has some isues without ncurses
(quit didn't seem to work when I tried).
2001-09-16 05:41:28 +00:00
Ragnvald Maartmann-Moe IV
431ac4eedb
Convert particles to use byte colors instead of float. Roughly breaks even on Mesa on my machine. Should be a speedup under other drivers.
2001-09-14 12:11:54 +00:00
Ragnvald Maartmann-Moe IV
a474c7ad2f
Update for current alsa header locations.
2001-09-14 12:08:52 +00:00
Bill Currie
def8bb3cd5
LordHavoc's VectorIsNull changes from 0.3 but as VectorIsZero (no such thing
...
as a `null' vector) plus a couple of other bits from his patch.
2001-09-11 05:18:15 +00:00
Bill Currie
74e9f89e8c
forward port the client info string filtering from 0.3 and remove info.h from
...
a couple of c files that no longer need it.
2001-09-11 03:10:29 +00:00
Bill Currie
8c026417d8
Wait for X to complete the previous operation before proceding to the next.
...
This causes the mouse to warp properly, but doesn't fix my disappearing window :(
(possibly a wm bug)
2001-09-10 21:55:34 +00:00
Bill Currie
95515e28d7
use XMapRaised instead of XMapWindow + XRaiseWindow
2001-09-10 17:18:31 +00:00
Bill Currie
0f30506b79
d'oh, got the return values backwards
2001-09-10 17:02:35 +00:00
Bill Currie
388513e005
several fullscreen toggling improvements including window location restoration
2001-09-10 16:53:33 +00:00
Bill Currie
a17d8fe452
turns out the window location code is needed after all.
2001-09-10 15:41:47 +00:00
Ragnvald Maartmann-Moe IV
55dfead066
Typos (really ought to remember to test compile *before* committing, rather than immediately after).
2001-09-10 13:05:13 +00:00
Ragnvald Maartmann-Moe IV
dc947ce8f5
Whitespace.
2001-09-10 12:56:23 +00:00
Ragnvald Maartmann-Moe IV
fb7918d4f8
Optimize DEG2RAD a little, plus some whitespace.
2001-09-10 04:20:27 +00:00
Bill Currie
8ca44af043
fix a bug in the handling of case m (see skybox.fig)
2001-09-10 00:57:11 +00:00
Ragnvald Maartmann-Moe IV
7af79b96ec
Lots of whitespace, header cleanups, and a few tiny optimizations.
2001-09-09 21:41:35 +00:00
Bill Currie
8a959d157b
put my sky debug code back in (enabled for now)
2001-09-09 21:27:09 +00:00
Ragnvald Maartmann-Moe IV
28fe1dc004
Tweak rocket trails. Uglier, but don't bog down rocket snipers. Also a couple tiny optimizations and cleanups.
2001-09-09 19:37:07 +00:00
Bill Currie
b788eb6dbd
remove some no-longer needed code (the window coord finder) and quientn
...
the mode setting code a little.
2001-09-08 06:25:37 +00:00
Bill Currie
b12ee9e166
unmap and re-map the window with the correct attributes for the current
...
setting of vid_fullscreen
2001-09-08 05:43:52 +00:00
Bill Currie
20188c6670
heh, and in_pre_amp
2001-09-08 03:34:28 +00:00
Bill Currie
cd0d260549
fix an exponential growth of in_mouse_amp when in_amp is > 1
2001-09-08 03:33:57 +00:00
Bill Currie
888bdb7052
fix some static issues
2001-09-07 21:40:45 +00:00
Bill Currie
05f489735e
code cleanups and possibly minor optimisations
2001-09-07 21:15:08 +00:00
Bill Currie
c762151df6
comment on the code duplication for the texture resamplers
2001-09-07 17:12:02 +00:00
Bill Currie
ffd9e727a8
roll the skin resampling loops back up
2001-09-07 17:05:56 +00:00
Ragnvald Maartmann-Moe IV
0d0e570676
Small particle trail speedup/legibility/flexibility improvement, at price of redundant code in sw/sw32. Tradeoffs. *sigh*
2001-09-07 05:37:11 +00:00
Bill Currie
e9cf5b4eba
include sys/types.h for freebsd
2001-09-07 04:41:13 +00:00
Bill Currie
d7675ada7a
move the particle count multiplication out of the renderer and into the clien
...
(for blood and gunshot, anyway).
2001-09-06 05:41:15 +00:00
Ragnvald Maartmann-Moe IV
4c7e60e73a
Rearrange "rocket" trail code. Some small optimizations, mostly a cleanup, will make tweaking individual effects separately easier.
2001-09-06 04:26:53 +00:00
Bill Currie
be7307faa9
move the dlight and lightmap code and data from r_main to r_light
2001-09-06 03:53:13 +00:00
Bill Currie
008d80df67
s/IMT_DEFAULT/IMT_0/g for the constant and move the name-enum entry for
...
IMT_DEFAULT to the bottom of the list so that IMT_0 gets written as such
rather than IMT_DEFAULT.
Also, clean up nq's EF_* dlight creation a bit (haven't touched
EF_MUZZLEFLASH: undecided on what to do).
2001-09-05 21:22:55 +00:00
Adam Olsen
9ab9764b7a
- Change QA_alloc to use variable-arguments, allowing for a much more
...
extensible interface.
2001-09-05 18:23:38 +00:00
Ragnvald Maartmann-Moe IV
7d52c663a3
Convert a few rand to qfrandom, and a tiny optimization (more of a cleanup, really).
2001-09-05 09:06:48 +00:00
Ragnvald Maartmann-Moe IV
55f0fed0b6
Replace lhrandom with qfrandom, a different convenience macro with better random number distribution (see man 3 rand).
2001-09-05 06:20:45 +00:00
Ragnvald Maartmann-Moe IV
d2c041cae6
Remove and ifdef out currently unused code.
2001-09-05 04:25:47 +00:00
Bill Currie
4249bba636
make sure input is grabbed when going fullscreen on init
2001-09-05 03:41:29 +00:00
Bill Currie
f9e610bf6b
fix a seg witn +set in_grab on the command line
2001-09-05 03:14:41 +00:00
Ragnvald Maartmann-Moe IV
75aaccf9f0
Prettier, but slower particle effects. Also skip particle physics when r_particles 0.
2001-09-05 02:04:02 +00:00
Bill Currie
2e1a5112bd
give r_particles a callback to clear all particles when set to 0 and do
...
some general cleanup to the gl particles code
2001-09-05 00:08:54 +00:00
Ragnvald Maartmann-Moe IV
65c526c057
Some minor cleanups, and lots of particle effects tweaks.
...
Less blinding rocket trails is probably the most noticable change, other than a nice speedup in nq timedemos. Little change for overkill, though. Aw...
2001-09-04 10:32:51 +00:00
Bill Currie
83e3f10520
fix a silly with joystick buttons
2001-09-04 04:28:31 +00:00
Bill Currie
dc4cd343b5
id's sky code is back (gl_sky_clip 2 when no skybox is loaded). Not as fast
...
as the black polygons (duh:) and not as nice looking as the sky dome, but also
not as slow (fps when standing in the normal coridor looking at the sky in
start: 26 for skydome, 37 for id skys, 44 for black). Good for when you want
to see sky other than black but your card can't handle the fillrate
requirements of skydome. I'll clean up the sqrt in there soonish.
2001-09-03 06:12:10 +00:00
Ragnvald Maartmann-Moe IV
ed4de07e9a
Header and variable declaration cleanups, tiny bit of whitespace.
2001-09-01 08:57:04 +00:00
Bill Currie
99a4ea2093
fix some bogosities
2001-08-31 19:13:16 +00:00
Bill Currie
ea614fc2c6
turns out the sprite models are /not/ relocatable, so back out that change
...
in favor of cleaning up the accessors
2001-08-31 17:33:25 +00:00
Adam Olsen
384dfb7b66
- partial work for putting sprites in the cache.
...
doesn't currently build.
2001-08-31 15:32:11 +00:00
Adam Olsen
f1a016c8a5
- Refine the Cache_Get callback, to use a void * instead of a char *
...
- Switch alias models over to Cache_Get/Cache_Release
2001-08-31 12:22:45 +00:00
Adam Olsen
f54ef94fd0
remove the failure check from SND_CallbackLoad
2001-08-31 04:02:00 +00:00
Adam Olsen
6cab8cf4e0
- change Cache_Get calls to Cache_TryGet (which I just added), so they
...
can tollerate failure.
- minor error message tweak (an emptry string is not NULL!)
2001-08-31 03:48:26 +00:00
Bill Currie
2c51098ac9
the plugin structs /definitly/ have to be static and remove some debug from
...
alsa_0_9
2001-08-31 03:42:54 +00:00
Bill Currie
bcc768295f
missed some vars that should be static
2001-08-31 00:16:31 +00:00
Bill Currie
e469b934ea
get alsa0_9 working with latest cvs, we need to dlopen the plugin with
...
RTDL_GLOBAL. To use RTDL_GLOBAL, we need to make as much static as possible
and PluginInfo needs a unique name (%s_%s_PluginInfo, type, name).
2001-08-31 00:05:58 +00:00
Bill Currie
2b18896bbb
oh, the joys of asm in shared libs
2001-08-30 22:32:11 +00:00
Bill Currie
a625f178af
better sound_started checking
2001-08-30 22:11:45 +00:00
Bill Currie
7aa5ab75de
header dep cleanup and IN_LL_Commands is /gone/
2001-08-30 20:32:27 +00:00
Bill Currie
822e637e11
s/_windowed_mouse/in_grab/ and in_grab and in_dga now use callbacks
2001-08-30 20:04:13 +00:00
Ragnvald Maartmann-Moe IV
333bd5ea17
R_EntityParticles cleanup.
2001-08-30 19:51:11 +00:00
Bill Currie
d81d7fd02c
glColor cleanup
2001-08-30 18:24:19 +00:00
Adam Olsen
e149094bd2
- rename Qalloc and friends to QA_alloc
...
- add a QA_strdup
- add Cache_{Add,Remove,Get,Release}, for the locking version of the
cache
- Convert libs/audio/* over to locking cache functions
2001-08-30 11:37:50 +00:00
Bill Currie
fa036c7c11
inline mark_surfaces
2001-08-29 20:55:14 +00:00
Bill Currie
0d55476711
make VectorSubtract and VectorCompare macros and clean up the readability
...
of R_DrawParticles
2001-08-29 20:19:54 +00:00
Bill Currie
3656d6fd59
compile fixes for win32 and take the pruning shears to *sys*.c in qw and nq
...
(they're not done yet, though)
2001-08-29 17:45:53 +00:00
Adam Olsen
5aceb0435e
- add a cache_print command
...
- rename flush to cache_flush
- split off freeing of cache into a seperate function, as well as
making it aware of read locks.
2001-08-29 15:29:17 +00:00
Adam Olsen
4deed9245a
- Add CACHE_WRITE_{,UN}LOCK macros, and calls to them in Cache_*. No
...
effect until other things are done.
- Make Qalloc treat no callback as a failed callback
- Add a Qstrdup
- Fix a memory leak in cl_slists.c
2001-08-29 09:14:18 +00:00
Bill Currie
a68542f0e8
remove some #if 1 bits (the #if, not the code:)
2001-08-29 04:53:59 +00:00
Adam Olsen
f423b8a8e0
Preliminary Qalloc implimentation. Not yet used.
2001-08-29 04:52:03 +00:00
Bill Currie
5902dcca6a
code cleanup
2001-08-29 03:27:31 +00:00
Bill Currie
663c58cd24
diff--; break;
2001-08-29 02:16:17 +00:00
Bill Currie
b0c7ac9867
while (1) diff--;
2001-08-29 01:28:03 +00:00
Bill Currie
aa3442f8b0
rearange the % calc to avoid float (and an ICE in gcc 3)
2001-08-29 01:20:30 +00:00
Ragnvald Maartmann-Moe IV
dbae10f979
whitespace. grr.
2001-08-28 23:58:22 +00:00
Adam Olsen
ff0cffde48
- my proof-of-concept mmapped cache code, currently disabled via ifdef
...
- also added a cache_profile command, which sorts allocations into
power-of-2 sizes, then prints out how many are of that size, the
average amount they use, and the percent of total memory is used.
Also prints out totally allocated size, number of allocations, and
average per allocation.
2001-08-28 23:26:58 +00:00
Bill Currie
11489550ba
gratuitous_diff--
2001-08-28 22:46:02 +00:00
Bill Currie
baaa452345
merge error fixes
2001-08-28 20:51:51 +00:00
Bill Currie
ff2b08b2fd
make the Z_Malloc zone checking depend on developer
2001-08-28 06:15:58 +00:00