@ -631,7 +631,7 @@ customization_t *CL_PlayerHasCustomization( int nPlayerNum, resourcetype_t type
@@ -631,7 +631,7 @@ customization_t *CL_PlayerHasCustomization( int nPlayerNum, resourcetype_t type
@ -414,7 +414,7 @@ If an entities model or origin changes from frame to frame, it must be
@@ -414,7 +414,7 @@ If an entities model or origin changes from frame to frame, it must be
@ -1840,7 +1840,7 @@ If alpha is 0, the line is not drawn, but still wrapped and its height
@@ -1840,7 +1840,7 @@ If alpha is 0, the line is not drawn, but still wrapped and its height
@ -184,7 +184,7 @@ override any other sound playing on the same channel (see code comments below fo
@@ -184,7 +184,7 @@ override any other sound playing on the same channel (see code comments below fo
exceptions).
=================
*/
qbooleanSND_FStreamIsPlaying(sfx_t*sfx)
staticqbooleanSND_FStreamIsPlaying(sfx_t*sfx)
{
intch_idx;
@ -399,7 +399,7 @@ returns TRUE if sound was altered,
@@ -399,7 +399,7 @@ returns TRUE if sound was altered,
@ -457,7 +457,7 @@ int S_AlterChannel( int entnum, int channel, sfx_t *sfx, int vol, int pitch, int
@@ -457,7 +457,7 @@ int S_AlterChannel( int entnum, int channel, sfx_t *sfx, int vol, int pitch, int
@ -480,7 +480,7 @@ void S_SpatializeChannel( int *left_vol, int *right_vol, int master_vol, float g
@@ -480,7 +480,7 @@ void S_SpatializeChannel( int *left_vol, int *right_vol, int master_vol, float g
SND_Spatialize
=================
*/
voidSND_Spatialize(channel_t*ch)
staticvoidSND_Spatialize(channel_t*ch)
{
vec3_tsource_vec;
floatdist,dot,gain=1.0f;
@ -953,7 +953,7 @@ int S_GetCurrentDynamicSounds( soundlist_t *pout, int size )
@@ -953,7 +953,7 @@ int S_GetCurrentDynamicSounds( soundlist_t *pout, int size )
@ -335,7 +335,7 @@ void S_Mix8Stereo( portable_samplepair_t *pbuf, int *volume, byte *pData, int in
@@ -335,7 +335,7 @@ void S_Mix8Stereo( portable_samplepair_t *pbuf, int *volume, byte *pData, int in
@ -357,7 +357,7 @@ void S_Mix16Mono( portable_samplepair_t *pbuf, int *volume, short *pData, int in
@@ -357,7 +357,7 @@ void S_Mix16Mono( portable_samplepair_t *pbuf, int *volume, short *pData, int in
@ -379,7 +379,7 @@ void S_Mix16Stereo( portable_samplepair_t *pbuf, int *volume, short *pData, int
@@ -379,7 +379,7 @@ void S_Mix16Stereo( portable_samplepair_t *pbuf, int *volume, short *pData, int
@ -496,7 +496,7 @@ int S_MixDataToDevice( channel_t *pChannel, int sampleCount, int outRate, int ou
@@ -496,7 +496,7 @@ int S_MixDataToDevice( channel_t *pChannel, int sampleCount, int outRate, int ou
@ -855,7 +855,7 @@ void MIX_MixPaintbuffers( int ibuf1, int ibuf2, int ibuf3, int count, float fgai
@@ -855,7 +855,7 @@ void MIX_MixPaintbuffers( int ibuf1, int ibuf2, int ibuf3, int count, float fgai
@ -1114,7 +1114,7 @@ Allows setting and defining of arbitrary cvars from console, even if they
@@ -1114,7 +1114,7 @@ Allows setting and defining of arbitrary cvars from console, even if they
@ -65,7 +65,7 @@ static int bias[netsize]; // bias and freq arrays for learning
@@ -65,7 +65,7 @@ static int bias[netsize]; // bias and freq arrays for learning
staticintfreq[netsize];
staticintradpower[initrad];// radpower for precomputation
voidinitnet(byte*thepic,intlen,intsample)
staticvoidinitnet(byte*thepic,intlen,intsample)
{
registerinti,*p;
@ -83,7 +83,7 @@ void initnet( byte *thepic, int len, int sample )
@@ -83,7 +83,7 @@ void initnet( byte *thepic, int len, int sample )
}
// Unbias network to give byte values 0..255 and record position i to prepare for sort
@ -311,7 +311,7 @@ void altersingle( int alpha, int i, int r, int g, int b )
@@ -311,7 +311,7 @@ void altersingle( int alpha, int i, int r, int g, int b )
}
// Move adjacent neurons by precomputed alpha*(1-((i-j)^2/[r]^2)) in radpower[|i-j|]
voidalterneigh(intrad,inti,intr,intg,intb)
staticvoidalterneigh(intrad,inti,intr,intg,intb)
{
registerintj,k,lo,hi,a;
registerint*p,*q;
@ -354,7 +354,7 @@ void alterneigh( int rad, int i, int r, int g, int b )
@@ -354,7 +354,7 @@ void alterneigh( int rad, int i, int r, int g, int b )
@ -1179,7 +1179,7 @@ byte *Image_FlipInternal( const byte *in, word *srcwidth, word *srcheight, int t
@@ -1179,7 +1179,7 @@ byte *Image_FlipInternal( const byte *in, word *srcwidth, word *srcheight, int t
@ -188,7 +188,7 @@ int MSG_SeekToBit( sizebuf_t *sb, int bitPos, int whence )
@@ -188,7 +188,7 @@ int MSG_SeekToBit( sizebuf_t *sb, int bitPos, int whence )
@ -105,7 +105,7 @@ To keep everything totally uniform, bounding boxes are turned into small
@@ -105,7 +105,7 @@ To keep everything totally uniform, bounding boxes are turned into small
@ -265,7 +265,7 @@ Get slot # and set client_t pointer for player, if possible
@@ -265,7 +265,7 @@ Get slot # and set client_t pointer for player, if possible
Wedon'tdothissearchona"reconnect, we just reuse the slot
@ -1389,7 +1389,7 @@ Called when a player connects to a server or respawns in
@@ -1389,7 +1389,7 @@ Called when a player connects to a server or respawns in
adeathmatch.
============
*/
voidSV_PutClientInServer(sv_client_t*cl)
staticvoidSV_PutClientInServer(sv_client_t*cl)
{
staticbytemsg_buf[MAX_INIT_MSG+0x200];// MAX_INIT_MSG + some space
@ -210,7 +210,7 @@ Goes directly to a given map without any savegame archiving.
@@ -210,7 +210,7 @@ Goes directly to a given map without any savegame archiving.
Fordevelopmentwork
==================
*/
voidSV_Map_f(void)
staticvoidSV_Map_f(void)
{
charmapname[MAX_QPATH];
@ -240,7 +240,7 @@ Lists maps according to given substring.
@@ -240,7 +240,7 @@ Lists maps according to given substring.
@ -488,7 +488,7 @@ for a few seconds to make sure any final reliable message gets resent
@@ -488,7 +488,7 @@ for a few seconds to make sure any final reliable message gets resent