mirror of
https://github.com/blendogames/quadrilateralcowboy.git
synced 2024-11-28 23:02:06 +00:00
Revert "Remove id_attribute entries from framework/Common.h"
This reverts commit 86872eedc2
.
This commit is contained in:
parent
2489c8a5e8
commit
bcb493732a
1 changed files with 6 additions and 6 deletions
|
@ -165,20 +165,20 @@ public:
|
||||||
virtual void SetRefreshOnPrint( bool set ) = 0;
|
virtual void SetRefreshOnPrint( bool set ) = 0;
|
||||||
|
|
||||||
// Prints message to the console, which may cause a screen update if com_refreshOnPrint is set.
|
// Prints message to the console, which may cause a screen update if com_refreshOnPrint is set.
|
||||||
virtual void Printf( const char *fmt, ... ) = 0;
|
virtual void Printf( const char *fmt, ... )id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Same as Printf, with a more usable API - Printf pipes to this.
|
// Same as Printf, with a more usable API - Printf pipes to this.
|
||||||
virtual void VPrintf( const char *fmt, va_list arg ) = 0;
|
virtual void VPrintf( const char *fmt, va_list arg ) = 0;
|
||||||
|
|
||||||
// Prints message that only shows up if the "developer" cvar is set,
|
// Prints message that only shows up if the "developer" cvar is set,
|
||||||
// and NEVER forces a screen update, which could cause reentrancy problems.
|
// and NEVER forces a screen update, which could cause reentrancy problems.
|
||||||
virtual void DPrintf( const char *fmt, ... ) = 0;
|
virtual void DPrintf( const char *fmt, ... ) id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Prints WARNING %s message and adds the warning message to a queue for printing later on.
|
// Prints WARNING %s message and adds the warning message to a queue for printing later on.
|
||||||
virtual void Warning( const char *fmt, ... ) = 0;
|
virtual void Warning( const char *fmt, ... ) id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Prints WARNING %s message in yellow that only shows up if the "developer" cvar is set.
|
// Prints WARNING %s message in yellow that only shows up if the "developer" cvar is set.
|
||||||
virtual void DWarning( const char *fmt, ...) = 0;
|
virtual void DWarning( const char *fmt, ...) id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Prints all queued warnings.
|
// Prints all queued warnings.
|
||||||
virtual void PrintWarnings( void ) = 0;
|
virtual void PrintWarnings( void ) = 0;
|
||||||
|
@ -188,11 +188,11 @@ public:
|
||||||
|
|
||||||
// Issues a C++ throw. Normal errors just abort to the game loop,
|
// Issues a C++ throw. Normal errors just abort to the game loop,
|
||||||
// which is appropriate for media or dynamic logic errors.
|
// which is appropriate for media or dynamic logic errors.
|
||||||
virtual void Error( const char *fmt, ... ) = 0;
|
virtual void Error( const char *fmt, ... ) id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Fatal errors quit all the way to a system dialog box, which is appropriate for
|
// Fatal errors quit all the way to a system dialog box, which is appropriate for
|
||||||
// static internal errors or cases where the system may be corrupted.
|
// static internal errors or cases where the system may be corrupted.
|
||||||
virtual void FatalError( const char *fmt, ... ) = 0;
|
virtual void FatalError( const char *fmt, ... ) id_attribute((format(printf,2,3))) = 0;
|
||||||
|
|
||||||
// Returns a pointer to the dictionary with language specific strings.
|
// Returns a pointer to the dictionary with language specific strings.
|
||||||
virtual const idLangDict * GetLanguageDict( void ) = 0;
|
virtual const idLangDict * GetLanguageDict( void ) = 0;
|
||||||
|
|
Loading…
Reference in a new issue