IOQ3 commit 2099

This commit is contained in:
Richard Allen 2011-08-03 18:49:19 +00:00
parent 959ab669e6
commit 1eca7608b6
4 changed files with 5 additions and 3 deletions

View file

@ -1297,7 +1297,7 @@ void CheckTeamLeader(int team);
void G_RunThink(gentity_t * ent);
void QDECL G_LogPrintf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void SendScoreboardMessageToAllClients(void);
void QDECL G_Printf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void QDECL G_Error( const char *fmt, ... ) __attribute__ ((noreturn, format (printf, 1, 2)));
void QDECL G_Error( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
//Elder: added
@ -1546,7 +1546,7 @@ extern vmCvar_t g_RQ3_maxClientVotes;
extern vmCvar_t g_RQ3_giveMeWhatsMine;
void trap_Printf(const char *fmt);
void trap_Error(const char *fmt);
void trap_Error(const char *fmt) __attribute__((noreturn));
int trap_Milliseconds(void);
// JBravo: adding missing trap
int trap_RealTime(qtime_t *qtime);

View file

@ -50,6 +50,7 @@ void trap_Printf(const char *fmt)
void trap_Error(const char *fmt)
{
syscall(G_ERROR, fmt);
exit(1);
}
int trap_Milliseconds(void)

View file

@ -1119,7 +1119,7 @@ void UI_SPSkillMenu_Cache(void);
// ui_syscalls.c
//
void trap_Print(const char *string);
void trap_Error(const char *string);
void trap_Error(const char *string) __attribute__((noreturn));
int trap_Milliseconds(void);
void trap_Cvar_Register(vmCvar_t * vmCvar, const char *varName, const char *defaultValue, int flags);
void trap_Cvar_Update(vmCvar_t * vmCvar);

View file

@ -52,6 +52,7 @@ void trap_Print(const char *string)
void trap_Error(const char *string)
{
syscall(UI_ERROR, string);
exit(1);
}
int trap_Milliseconds(void)