World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
54 #define SDL_MAX_LOG_MESSAGE 4096
140 extern DECLSPEC
void SDLCALL
SDL_Log(SDL_PRINTF_FORMAT_STRING
const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
145 extern DECLSPEC
void SDLCALL
SDL_LogVerbose(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
150 extern DECLSPEC
void SDLCALL
SDL_LogDebug(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
155 extern DECLSPEC
void SDLCALL
SDL_LogInfo(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
160 extern DECLSPEC
void SDLCALL
SDL_LogWarn(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
165 extern DECLSPEC
void SDLCALL
SDL_LogError(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
170 extern DECLSPEC
void SDLCALL
SDL_LogCritical(
int category, SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
177 SDL_PRINTF_FORMAT_STRING const
char *fmt, ...) SDL_PRINTF_VARARG_FUNC(3);
184 const
char *fmt, va_list ap);
DECLSPEC void SDLCALL SDL_Log(SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO.
DECLSPEC void SDLCALL SDL_LogDebug(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_DEBUG.
DECLSPEC void SDLCALL SDL_LogSetAllPriority(SDL_LogPriority priority)
Set the priority of all log categories.
SDL_LogCategory
The predefined log categories.
DECLSPEC void SDLCALL SDL_LogSetPriority(int category, SDL_LogPriority priority)
Set the priority of a particular log category.
@ SDL_LOG_PRIORITY_CRITICAL
@ SDL_LOG_CATEGORY_CUSTOM
@ SDL_LOG_CATEGORY_RESERVED4
GLuint GLsizei const GLchar * message
@ SDL_LOG_CATEGORY_RESERVED9
@ SDL_LOG_CATEGORY_RESERVED8
DECLSPEC void SDLCALL SDL_LogVerbose(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_VERBOSE.
DECLSPEC void SDLCALL SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list ap)
Log a message with the specified category and priority.
DECLSPEC void SDLCALL SDL_LogWarn(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_WARN.
@ SDL_LOG_CATEGORY_ASSERT
DECLSPEC void SDLCALL SDL_LogError(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_ERROR.
DECLSPEC void SDLCALL SDL_LogGetOutputFunction(SDL_LogOutputFunction *callback, void **userdata)
Get the current log output function.
@ SDL_LOG_CATEGORY_APPLICATION
DECLSPEC void SDLCALL SDL_LogMessage(int category, SDL_LogPriority priority, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(3)
Log a message with the specified category and priority.
DECLSPEC SDL_LogPriority SDLCALL SDL_LogGetPriority(int category)
Get the priority of a particular log category.
@ SDL_LOG_CATEGORY_RESERVED7
@ SDL_LOG_CATEGORY_RESERVED3
@ SDL_LOG_CATEGORY_RESERVED5
@ SDL_LOG_CATEGORY_RESERVED6
@ SDL_LOG_PRIORITY_VERBOSE
@ SDL_LOG_CATEGORY_SYSTEM
DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata)
This function allows you to replace the default log output function with one of your own.
@ SDL_LOG_CATEGORY_RESERVED1
DECLSPEC void SDLCALL SDL_LogResetPriorities(void)
Reset all priorities to default.
DECLSPEC void SDLCALL SDL_LogCritical(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_CRITICAL.
@ SDL_LOG_CATEGORY_RENDER
void(SDLCALL * SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message)
The prototype for the log output function.
@ SDL_LOG_CATEGORY_RESERVED2
@ SDL_LOG_CATEGORY_RESERVED10
SDL_LogPriority
The predefined log priorities.
DECLSPEC void SDLCALL SDL_LogInfo(int category, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(2)
Log a message with SDL_LOG_PRIORITY_INFO.