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
Bill Currie
6c8a112cb8
get "make dist" working again
2001-09-04 21:00:08 +00:00
Timothy C. McGrath
b1f834b530
Modified the gl_sky_clip line to keep consistent with cvs.
2001-09-04 17:29:25 +00:00
Ragnvald Maartmann-Moe IV
9f3bc7f36f
Remove a no-longer needed note.
2001-09-04 11:06:49 +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
Jeff Teunissen
896d304ac9
New man page for qfcc -- doesn't match the program yet, I'm committing
...
it for comments.
2001-08-31 16:43:26 +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
a1f4187786
don't force r_wateralpha to one when not connected
2001-08-30 18:50:30 +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
05bd18bf6d
- Fix a DIR* memleak when crudefile builds the initial quota.
2001-08-29 09:27:30 +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
Ragnvald Maartmann-Moe IV
2f5e0cf603
whitespace and headers.
2001-08-29 02:12:57 +00:00
Timothy C. McGrath
d87b164450
Updated the configs so despair's changes to lighting cvars don't
...
suddenly make it stop working :)
Misty-chan
2001-08-29 01:31:25 +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
Ragnvald Maartmann-Moe IV
ade99607cc
header/whitespace sweep continues.
2001-08-28 23:05:45 +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
Adam Olsen
6d386c53e1
My ideas for we could do Qmalloc and reworking Cache_*.
2001-08-28 15:55:21 +00:00
Bill Currie
ff2b08b2fd
make the Z_Malloc zone checking depend on developer
2001-08-28 06:15:58 +00:00