Commit graph

889 commits

Author SHA1 Message Date
TimeServ
0d6d61e31c fix up some q2 sound effects and handle sound delays, misc cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2270 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 07:35:19 +00:00
TimeServ
e54310e530 add ALSA function pointer...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2269 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 05:33:09 +00:00
TimeServ
df51d08616 add snd_samplebits to change sample bit size (defaults to 16, can use 8), add snd_buffersize to control driver buffer size (usable with ALSA and directsound, defaults to 0 which lets the driver decide)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2268 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-10 05:18:08 +00:00
TimeServ
974cf6b3ac fix sample bits for ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2265 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 22:31:23 +00:00
TimeServ
328de3d349 fix for ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2264 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 22:06:28 +00:00
TimeServ
0bb99da40b use requested parameters (for sample bits, khz, channels) with ALSA
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2263 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 21:38:27 +00:00
TimeServ
968ddb9759 attempt to fix waveout > 22Khz submit issues, support 8khz sound
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2262 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 20:43:39 +00:00
TimeServ
d18c74e47c forgot this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2261 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 19:30:57 +00:00
TimeServ
4c566992e4 support non-power of 2 sound buffer sizes, attempted fix for command line not being parsed correctly with dedicated server crash restart
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2260 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 19:29:14 +00:00
TimeServ
11b188b761 fix bug with cl_maxfps 0 and demo playback causing lockup, fix netquake demo playback
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2259 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 08:35:10 +00:00
TimeServ
f38e614106 clean up mixer code, should solve some problems with popping noises, AVI sound recording needs testing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2258 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 07:26:14 +00:00
TimeServ
ca601f236b fix cd stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2257 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-09 00:36:25 +00:00
TimeServ
6cbf2b2f32 fix snd_numspeakers 1, put DOOMWADS define stuff around doom sounds again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2255 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 23:06:50 +00:00
TimeServ
469fb50e57 use better mixing for 8-bit sounds, some cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2254 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 21:02:39 +00:00
TimeServ
de74e43c4a added snd_linearresample for better quality resampling, defaults to 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2253 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 06:44:47 +00:00
TimeServ
6197004228 add r_floortexture/r_walltexture, tweak to Doom speaker sounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2252 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 04:30:04 +00:00
TimeServ
9d9b74c274 Doom sound support for both digital and PC speaker samples (might need changes with VFS)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2251 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-08 02:03:41 +00:00
TimeServ
913e26b1ae musicvolume uses callback, cosmetic fix to qclib, disabled sw r_drawflat until there's a solution to make it like gl's r_drawflat
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2250 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 20:57:30 +00:00
TimeServ
18de9855ae build fixes, miscalc on bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2249 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:25:18 +00:00
TimeServ
f93e5f1657 progress loading bar thing
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2248 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 07:17:34 +00:00
TimeServ
6f64002cc3 support r_particlesdesc chain loading; use r_particledesc "x;y;etc" to load multiple configs, removed shaft effect from spikeset, created new tsshaft set and added it into sets, change r_particlesdesc default to "spikeset;tsshaft"
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2246 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-07 01:49:06 +00:00
TimeServ
9e8aa5ee66 add r_particlesdesc callback and removed latch, r_particlesdesc will now reload particle set on change
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2245 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 06:26:02 +00:00
TimeServ
0f2a193838 only attempt to load npr textures with r_drawflat 2, gamma/contrast use callbacks, vid_hardwaregamma switched to renderer latch (pretty much had to use vid_restart anyway)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2244 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 05:50:33 +00:00
TimeServ
551f37340b r_drawflat, r_wallcolour, r_floorcolour to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2243 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 03:28:48 +00:00
TimeServ
8e65ba98d5 minor fixes, change name and sys_linebuffer to callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2241 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-06 02:53:36 +00:00
TimeServ
f0a60a1471 don't use va() within FS_Rename, fix logging logic, fix return values with morphos call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2239 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-05 05:28:56 +00:00
Mark Olsen
d593604177 Typo, I swear\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 06:13:11 +00:00
TimeServ
c18c51b7f6 attempting to fix SysGameAPI
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 03:30:21 +00:00
Mark Olsen
047500f9ad Quake 2 game code support for Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:56:30 +00:00
Mark Olsen
771828d5fb Slight finetuning of Q2 game code loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2235 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:25:16 +00:00
Mark Olsen
a6b4691c02 Load Quake 2 game code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2233 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:08:06 +00:00
TimeServ
f344eb9df0 changed grenade trail and te_railtrail in spikeset particle set, added a te_railtrail to highfps particle set
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2231 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-23 01:33:07 +00:00
Mark Olsen
e3e65b511c No, really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2230 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 17:23:35 +00:00
Mark Olsen
618aa941b7 Fixed 2 remotely exploitable buffer overflow bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2229 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 16:25:25 +00:00
TimeServ
0cc2ba719c vid_wait aliased to _vid_wait_override properly, command completion will now show renamed cvars (like mapname, host_setspeed, vid_wait) correctly
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2228 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 06:02:06 +00:00
TimeServ
bd3cab06a3 probably overdoing the callback thing now but oh well! (changed r_explosionlight, r_stains, r_rocketlight, scr_conalpha)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2227 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-21 05:23:51 +00:00
TimeServ
fbe51078b2 fix to spiral trails
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2226 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-20 22:21:42 +00:00
TimeServ
81bd85742f particle field spawnparam2 changes starting degree for spiral trail
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2225 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-18 23:11:44 +00:00
TimeServ
a7a6dcc92f add cvar gl_overbright_all, 0 (default) = use overbrights only on Q1/H2/Q2 models, 1 = use on all models, set an engineflag marking non-map stuff but Spike needs to implement a gl_overbright_models
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2222 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 06:03:58 +00:00
TimeServ
f57808caf0 warning cleanup
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2221 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 03:55:55 +00:00
Mark Olsen
219d49829d Take two, hopefully not fucking up the includes this time.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2220 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:49:39 +00:00
Mark Olsen
9f1f8850bb Same thing here. AFAIK, we only support IPv4 from master servers anyway, so once again, sue me (or fix it better :). Fixed sendto() size argument to be sizeof(struct sockaddr_in). Now uses netinc.h
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2219 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:46:26 +00:00
Mark Olsen
2332cc6623 Mousecursor support (cheers, TimeServ)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 02:10:36 +00:00
Mark Olsen
c60d2e48c1 I shouldn't commit when tired.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2215 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 01:20:24 +00:00
Mark Olsen
713b3ddeff Fixed some endian issues with FTE protocol extensions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2214 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:41:54 +00:00
TimeServ
b97416a2ab player model interpolation works again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2213 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-16 00:34:21 +00:00
TimeServ
70d31d2617 added gl_smoothcrosshair, defaults to 1, 0 = don't smooth, 1 = old behavior (smooth on crosshairsize > 16 or using image)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2212 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 07:10:49 +00:00
TimeServ
960b2b8d96 cl_sbar/vid_conautoscale/vid_conwidth/vid_conheight/gl_font/gl_fontedgeclamp/gl_smoothfont/gl_conback/fov/viewsize changed to callbacks, needs testing.. hopefully increases fps a bit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2211 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 06:57:13 +00:00
TimeServ
3fd1a224e3 internal cleanup, r_menutint and r_skybox use callbacks
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2210 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 05:28:44 +00:00
TimeServ
571ea11411 fix Linux build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:44:10 +00:00