mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-17 01:22:32 +00:00
IOQ3 commit 2099
This commit is contained in:
parent
959ab669e6
commit
1eca7608b6
4 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue