Cleanups from pomac!
This commit is contained in:
parent
b0fc4a7b6e
commit
f327407bb8
36 changed files with 155 additions and 195 deletions
|
@ -1379,7 +1379,7 @@ void CM_TraceThroughPatchCollide( traceWork_t *tw, const struct patchCollide_s *
|
|||
float offset, enterFrac, leaveFrac, t;
|
||||
patchPlane_t *planes;
|
||||
facet_t *facet;
|
||||
float plane[4], bestplane[4];
|
||||
float plane[4] = {0, 0, 0, 0}, bestplane[4] = {0, 0, 0, 0};
|
||||
vec3_t startp, endp;
|
||||
#ifndef BSPC
|
||||
static cvar_t *cv;
|
||||
|
|
|
@ -100,7 +100,7 @@ qboolean com_fullyInitialized;
|
|||
char com_errorMessage[MAXPRINTMSG];
|
||||
|
||||
void Com_WriteConfig_f( void );
|
||||
void CIN_CloseAllVideos();
|
||||
void CIN_CloseAllVideos( void );
|
||||
|
||||
//============================================================================
|
||||
|
||||
|
|
|
@ -2699,7 +2699,7 @@ NOTE TTimo: the reordering that happens here is not reflected in the cvars (\cva
|
|||
this can lead to misleading situations, see https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=540
|
||||
================
|
||||
*/
|
||||
static void FS_ReorderPurePaks()
|
||||
static void FS_ReorderPurePaks( void )
|
||||
{
|
||||
searchpath_t *s;
|
||||
int i;
|
||||
|
|
|
@ -39,7 +39,7 @@ Handles byte ordering and avoids alignment errors
|
|||
|
||||
int oldsize = 0;
|
||||
|
||||
void MSG_initHuffman();
|
||||
void MSG_initHuffman( void );
|
||||
|
||||
void MSG_Init( msg_t *buf, byte *data, int length ) {
|
||||
if (!msgInit) {
|
||||
|
@ -1706,7 +1706,7 @@ int msg_hData[256] = {
|
|||
13504, // 255
|
||||
};
|
||||
|
||||
void MSG_initHuffman() {
|
||||
void MSG_initHuffman( void ) {
|
||||
int i,j;
|
||||
|
||||
msgInit = qtrue;
|
||||
|
|
|
@ -529,9 +529,9 @@ issues.
|
|||
|
||||
#define BASEGAME "baseq3"
|
||||
|
||||
qboolean FS_Initialized();
|
||||
qboolean FS_Initialized( void );
|
||||
|
||||
void FS_InitFilesystem (void);
|
||||
void FS_InitFilesystem ( void );
|
||||
void FS_Shutdown( qboolean closemfp );
|
||||
|
||||
qboolean FS_ConditionalRestart( int checksumFeed );
|
||||
|
@ -547,7 +547,7 @@ void FS_FreeFileList( char **list );
|
|||
|
||||
qboolean FS_FileExists( const char *file );
|
||||
|
||||
int FS_LoadStack();
|
||||
int FS_LoadStack( void );
|
||||
|
||||
int FS_GetFileList( const char *path, const char *extension, char *listbuf, int bufsize );
|
||||
int FS_GetModList( char *listbuf, int bufsize );
|
||||
|
@ -904,7 +904,7 @@ qboolean SV_GameCommand( void );
|
|||
// UI interface
|
||||
//
|
||||
qboolean UI_GameCommand( void );
|
||||
qboolean UI_usesUniqueCDKey();
|
||||
qboolean UI_usesUniqueCDKey(void);
|
||||
|
||||
/*
|
||||
==============================================================
|
||||
|
@ -1018,8 +1018,8 @@ void Sys_FreeFileList( char **list );
|
|||
void Sys_BeginProfiling( void );
|
||||
void Sys_EndProfiling( void );
|
||||
|
||||
qboolean Sys_LowPhysicalMemory();
|
||||
unsigned int Sys_ProcessorCount();
|
||||
qboolean Sys_LowPhysicalMemory( void );
|
||||
unsigned int Sys_ProcessorCount( void );
|
||||
|
||||
int Sys_MonkeyShouldBeSpanked( void );
|
||||
|
||||
|
|
|
@ -454,6 +454,8 @@ typedef struct {
|
|||
byte color[4];
|
||||
} drawVert_t;
|
||||
|
||||
#define drawVert_t_cleared(x) drawVert_t (x) = {{0, 0, 0}, {0, 0}, {0, 0}, {0, 0, 0}, {0, 0, 0, 0}}
|
||||
|
||||
typedef enum {
|
||||
MST_BAD,
|
||||
MST_PLANAR,
|
||||
|
|
|
@ -3034,7 +3034,7 @@ static int huft_build(uInt *b, uInt n, uInt s, const uInt *d, const uInt *e, inf
|
|||
uInt mask; /* (1 << w) - 1, to avoid cc -O bug on HP */
|
||||
register uInt *p; /* pointer into c[], b[], or v[] */
|
||||
inflate_huft *q; /* points to current table */
|
||||
struct inflate_huft_s r; /* table entry for structure assignment */
|
||||
struct inflate_huft_s r = {{{0, 0}}}; /* table entry for structure assignment */
|
||||
inflate_huft *u[BMAX]; /* table stack */
|
||||
register int w; /* bits before this table == (l * h) */
|
||||
uInt x[BMAX+1]; /* bit offsets, then code stack */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue