mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 09:16:04 +01:00
Fix implicit function declaration. Fix struct declaration in parameter list
This commit is contained in:
parent
fd1f0e685a
commit
b7622e6009
@ -112,6 +112,7 @@ typedef struct hud_player_info_s
|
||||
|
||||
struct screenfade_s;
|
||||
struct tagPOINT;
|
||||
struct event_args_s;
|
||||
|
||||
typedef struct cl_enginefuncs_s
|
||||
{
|
||||
|
@ -1084,6 +1084,14 @@ void ID_Init( void );
|
||||
const char *ID_GetMD5( void );
|
||||
void GAME_EXPORT ID_SetCustomClientID( const char *id );
|
||||
|
||||
//
|
||||
// sequence.c
|
||||
//
|
||||
typedef struct sequenceEntry_ sequenceEntry_s;
|
||||
typedef struct sentenceEntry_ sentenceEntry_s;
|
||||
sequenceEntry_s *Sequence_Get( const char *fileName, const char *entryName );
|
||||
sentenceEntry_s *Sequence_PickSentence( const char *groupName, int pickMethod, int *picked );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -97,6 +97,7 @@ typedef struct
|
||||
typedef unsigned long CRC32_t;
|
||||
|
||||
typedef struct delta_s delta_t;
|
||||
struct entity_state_s;
|
||||
|
||||
// Engine hands this to DLLs for functionality callbacks
|
||||
typedef struct enginefuncs_s
|
||||
|
@ -16,6 +16,7 @@ GNU General Public License for more details.
|
||||
#include "common.h"
|
||||
#include "server.h"
|
||||
#include "net_encode.h"
|
||||
#include "library.h"
|
||||
|
||||
int SV_UPDATE_BACKUP = SINGLEPLAYER_BACKUP;
|
||||
|
||||
@ -945,4 +946,4 @@ State machine exec changelevel path
|
||||
void SV_ExecChangeLevel( void )
|
||||
{
|
||||
SV_ChangeLevel( GameState->loadGame, GameState->levelName, GameState->landmarkName, GameState->backgroundMap );
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ void Log_Printf( const char *fmt, ... )
|
||||
}
|
||||
}
|
||||
|
||||
static void Log_PrintServerCvar( const char *var_name, const char *var_value, const char *unused2, void *unused3 )
|
||||
static void Log_PrintServerCvar( const char *var_name, const char *var_value, void *unused2, void *unused3 )
|
||||
{
|
||||
Log_Printf( "Server cvar \"%s\" = \"%s\"\n", var_name, var_value );
|
||||
}
|
||||
@ -190,4 +190,4 @@ qboolean SV_ServerLog_f( sv_client_t *cl )
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user