Bill Currie
3b5969df1e
don't call the packet acker when running a demo
2001-09-07 03:49:30 +00:00
Bill Currie
3a9191760f
some minor improvements
2001-09-07 00:11:22 +00:00
Adam Olsen
22075ac46f
Add a cl_quakerc cvar, for disabling the execution of the default
...
config.
2001-09-06 23:58:28 +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
Bill Currie
c2c0353e60
cl_demospeed for nq
2001-09-06 04:35:02 +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
Ragnvald Maartmann-Moe IV
419585b6f2
Obvious optimization missed by a certain tired coder. Thanks to LordHavoc for pointing it out.
2001-09-06 01:09:51 +00:00
Bill Currie
a890be806c
this /should/ fix the dancing corpses
2001-09-05 23:14:27 +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
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