Cleanups from pomac!
This commit is contained in:
parent
b0fc4a7b6e
commit
f327407bb8
36 changed files with 155 additions and 195 deletions
|
@ -175,7 +175,7 @@ extern int CL_ScaledMilliseconds(void);
|
|||
//
|
||||
// Returns: Nothing
|
||||
//-----------------------------------------------------------------------------
|
||||
static void RllSetupTable()
|
||||
static void RllSetupTable( void )
|
||||
{
|
||||
int z;
|
||||
|
||||
|
@ -1106,7 +1106,7 @@ static void RoQPrepMcomp( long xoff, long yoff )
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
static void initRoQ()
|
||||
static void initRoQ( void )
|
||||
{
|
||||
if (currentHandle < 0) return;
|
||||
|
||||
|
@ -1140,7 +1140,7 @@ static byte* RoQFetchInterlaced( byte *source ) {
|
|||
return cinTable[currentHandle].buf2;
|
||||
}
|
||||
*/
|
||||
static void RoQReset() {
|
||||
static void RoQReset( void ) {
|
||||
|
||||
if (currentHandle < 0) return;
|
||||
|
||||
|
|
|
@ -507,8 +507,8 @@ void CL_InitUI( void );
|
|||
void CL_ShutdownUI( void );
|
||||
int Key_GetCatcher( void );
|
||||
void Key_SetCatcher( int catcher );
|
||||
void LAN_LoadCachedServers();
|
||||
void LAN_SaveServersToCache();
|
||||
void LAN_LoadCachedServers( void );
|
||||
void LAN_SaveServersToCache( void );
|
||||
|
||||
|
||||
//
|
||||
|
|
|
@ -36,7 +36,7 @@ void S_Play_f(void);
|
|||
void S_SoundList_f(void);
|
||||
void S_Music_f(void);
|
||||
|
||||
void S_Update_();
|
||||
void S_Update_( void );
|
||||
void S_StopAllSounds(void);
|
||||
void S_UpdateBackgroundTrack( void );
|
||||
|
||||
|
@ -193,7 +193,7 @@ void S_ChannelFree(channel_t *v) {
|
|||
freelist = (channel_t*)v;
|
||||
}
|
||||
|
||||
channel_t* S_ChannelMalloc() {
|
||||
channel_t* S_ChannelMalloc( void ) {
|
||||
channel_t *v;
|
||||
if (freelist == NULL) {
|
||||
return NULL;
|
||||
|
@ -204,7 +204,7 @@ channel_t* S_ChannelMalloc() {
|
|||
return v;
|
||||
}
|
||||
|
||||
void S_ChannelSetup() {
|
||||
void S_ChannelSetup( void ) {
|
||||
channel_t *p, *q;
|
||||
|
||||
// clear all the sounds so they don't
|
||||
|
|
|
@ -167,13 +167,13 @@ extern cvar_t *s_separation;
|
|||
qboolean S_LoadSound( sfx_t *sfx );
|
||||
|
||||
void SND_free(sndBuffer *v);
|
||||
sndBuffer* SND_malloc();
|
||||
void SND_setup();
|
||||
sndBuffer* SND_malloc( void );
|
||||
void SND_setup( void );
|
||||
|
||||
void S_PaintChannels(int endtime);
|
||||
|
||||
void S_memoryLoad(sfx_t *sfx);
|
||||
portable_samplepair_t *S_GetRawSamplePointer();
|
||||
portable_samplepair_t *S_GetRawSamplePointer( void );
|
||||
|
||||
// spatializes a channel
|
||||
void S_Spatialize(channel_t *ch);
|
||||
|
@ -188,7 +188,7 @@ void S_AdpcmGetSamples(sndBuffer *chunk, short *to);
|
|||
#define SENTINEL_MULAW_ZERO_RUN 127
|
||||
#define SENTINEL_MULAW_FOUR_BIT_RUN 126
|
||||
|
||||
void S_FreeOldestSound();
|
||||
void S_FreeOldestSound( void );
|
||||
|
||||
#define NXStream byte
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue