diff --git a/engine/cdll_int.h b/engine/cdll_int.h index c7b04fcf..df72fef8 100644 --- a/engine/cdll_int.h +++ b/engine/cdll_int.h @@ -112,6 +112,7 @@ typedef struct hud_player_info_s struct screenfade_s; struct tagPOINT; +struct event_args_s; typedef struct cl_enginefuncs_s { diff --git a/engine/common/common.h b/engine/common/common.h index 484c0e95..38d8a179 100644 --- a/engine/common/common.h +++ b/engine/common/common.h @@ -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 diff --git a/engine/eiface.h b/engine/eiface.h index e9cee4a6..8182110a 100644 --- a/engine/eiface.h +++ b/engine/eiface.h @@ -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 diff --git a/engine/server/sv_init.c b/engine/server/sv_init.c index d02dc485..f24eb596 100644 --- a/engine/server/sv_init.c +++ b/engine/server/sv_init.c @@ -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 ); -} \ No newline at end of file +} diff --git a/engine/server/sv_log.c b/engine/server/sv_log.c index fa02154a..f21d29f5 100644 --- a/engine/server/sv_log.c +++ b/engine/server/sv_log.c @@ -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; -} \ No newline at end of file +}