mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 15:21:44 +00:00
IOQ3 commit 2093
This commit is contained in:
parent
ab4afce653
commit
6611d258fe
2 changed files with 3 additions and 2 deletions
|
@ -2090,7 +2090,7 @@ void CG_UpdateMessageQueue(void);
|
||||||
void CG_AddMessage(const char* msg);
|
void CG_AddMessage(const char* msg);
|
||||||
|
|
||||||
void QDECL CG_Printf( const char *msg, ... ) __attribute__ ((format (printf, 1, 2)));
|
void QDECL CG_Printf( const char *msg, ... ) __attribute__ ((format (printf, 1, 2)));
|
||||||
void QDECL CG_Error( const char *msg, ... ) __attribute__ ((format (printf, 1, 2)));
|
void QDECL CG_Error( const char *msg, ... ) __attribute__ ((noreturn, format (printf, 1, 2)));
|
||||||
|
|
||||||
void CG_StartMusic(void);
|
void CG_StartMusic(void);
|
||||||
|
|
||||||
|
@ -2426,7 +2426,7 @@ void CG_CheckChangedPredictableEvents(playerState_t * ps);
|
||||||
void trap_Print(const char *fmt);
|
void trap_Print(const char *fmt);
|
||||||
|
|
||||||
// abort the game
|
// abort the game
|
||||||
void trap_Error(const char *fmt);
|
void trap_Error(const char *fmt) __attribute__((noreturn));
|
||||||
|
|
||||||
// milliseconds should only be used for performance tuning, never
|
// milliseconds should only be used for performance tuning, never
|
||||||
// for anything game related. Get time from the CG_DrawActiveFrame parameter
|
// for anything game related. Get time from the CG_DrawActiveFrame parameter
|
||||||
|
|
|
@ -54,6 +54,7 @@ void trap_Print(const char *fmt)
|
||||||
void trap_Error(const char *fmt)
|
void trap_Error(const char *fmt)
|
||||||
{
|
{
|
||||||
syscall(CG_ERROR, fmt);
|
syscall(CG_ERROR, fmt);
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int trap_Milliseconds(void)
|
int trap_Milliseconds(void)
|
||||||
|
|
Loading…
Reference in a new issue