1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/games/sdlquake2/files/patch-snd_mix.c
Alejandro Pulver 0eaf5b215b - Add games/sdlquake2.
Basically this is a combination of R1Q2 and R1GL with SDL code from
Quake2Forge. Meaning it's R1Q2 protocol 35 compatible Linux client. Tested on
Debian Sarge. Both client and dedicated server.

WWW: http://koti.mbnet.fi/~turol/sdlquake2/
2006-05-05 17:42:08 +00:00

23 lines
821 B
C

--- ./snd_mix.c.orig Thu May 19 17:56:13 2005
+++ ./snd_mix.c Sun Feb 26 11:23:56 2006
@@ -168,8 +168,8 @@
===============================================================================
*/
-void __cdecl S_PaintChannelFrom8 (channel_t *ch, sfxcache_t *sc, int endtime, int offset);
-void __cdecl S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int endtime, int offset);
+void S_PaintChannelFrom8 (channel_t *ch, sfxcache_t *sc, int endtime, int offset);
+void S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int endtime, int offset);
void S_PaintChannels(int endtime)
{
@@ -349,7 +349,7 @@
}
-void __cdecl S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count, int offset)
+void S_PaintChannelFrom16 (channel_t *ch, sfxcache_t *sc, int count, int offset)
{
int data;
int left, right;