World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
void * | alloca (unsigned) |
char * | alloca () |
Basic data types | |
enum | SDL_bool { SDL_FALSE = 0, SDL_TRUE = 1 } |
typedef int | SDL_bool |
typedef int8_t | Sint8 |
typedef uint8_t | Uint8 |
typedef int16_t | Sint16 |
typedef uint16_t | Uint16 |
typedef int32_t | Sint32 |
typedef uint32_t | Uint32 |
typedef int64_t | Sint64 |
typedef uint64_t | Uint64 |
typedef void *(SDLCALL * | SDL_malloc_func) (size_t size) |
typedef void *(SDLCALL * | SDL_calloc_func) (size_t nmemb, size_t size) |
typedef void *(SDLCALL * | SDL_realloc_func) (void *mem, size_t size) |
typedef void(SDLCALL * | SDL_free_func) (void *mem) |
typedef struct _SDL_iconv_t * | SDL_iconv_t |
DECLSPEC void *SDLCALL | SDL_malloc (size_t size) |
DECLSPEC void *SDLCALL | SDL_calloc (size_t nmemb, size_t size) |
DECLSPEC void *SDLCALL | SDL_realloc (void *mem, size_t size) |
DECLSPEC void SDLCALL | SDL_free (void *mem) |
DECLSPEC void SDLCALL | SDL_GetMemoryFunctions (SDL_malloc_func *malloc_func, SDL_calloc_func *calloc_func, SDL_realloc_func *realloc_func, SDL_free_func *free_func) |
Get the current set of SDL memory functions. Подробнее... | |
DECLSPEC int SDLCALL | SDL_SetMemoryFunctions (SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func) |
Replace SDL's memory allocation functions with a custom set. Подробнее... | |
DECLSPEC int SDLCALL | SDL_GetNumAllocations (void) |
Get the number of outstanding (unfreed) allocations. Подробнее... | |
DECLSPEC char *SDLCALL | SDL_getenv (const char *name) |
DECLSPEC int SDLCALL | SDL_setenv (const char *name, const char *value, int overwrite) |
DECLSPEC void SDLCALL | SDL_qsort (void *base, size_t nmemb, size_t size, int(*compare)(const void *, const void *)) |
DECLSPEC int SDLCALL | SDL_abs (int x) |
DECLSPEC int SDLCALL | SDL_isdigit (int x) |
DECLSPEC int SDLCALL | SDL_isspace (int x) |
DECLSPEC int SDLCALL | SDL_isupper (int x) |
DECLSPEC int SDLCALL | SDL_islower (int x) |
DECLSPEC int SDLCALL | SDL_toupper (int x) |
DECLSPEC int SDLCALL | SDL_tolower (int x) |
DECLSPEC void *SDLCALL | SDL_memset (SDL_OUT_BYTECAP(len) void *dst, int c, size_t len) |
SDL_FORCE_INLINE void | SDL_memset4 (void *dst, Uint32 val, size_t dwords) |
DECLSPEC void *SDLCALL | SDL_memcpy (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len) |
DECLSPEC void *SDLCALL | SDL_memmove (SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len) |
DECLSPEC int SDLCALL | SDL_memcmp (const void *s1, const void *s2, size_t len) |
DECLSPEC size_t SDLCALL | SDL_wcslen (const wchar_t *wstr) |
DECLSPEC size_t SDLCALL | SDL_wcslcpy (SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen) |
DECLSPEC size_t SDLCALL | SDL_wcslcat (SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen) |
DECLSPEC wchar_t *SDLCALL | SDL_wcsdup (const wchar_t *wstr) |
DECLSPEC wchar_t *SDLCALL | SDL_wcsstr (const wchar_t *haystack, const wchar_t *needle) |
DECLSPEC int SDLCALL | SDL_wcscmp (const wchar_t *str1, const wchar_t *str2) |
DECLSPEC int SDLCALL | SDL_wcsncmp (const wchar_t *str1, const wchar_t *str2, size_t maxlen) |
DECLSPEC size_t SDLCALL | SDL_strlen (const char *str) |
DECLSPEC size_t SDLCALL | SDL_strlcpy (SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen) |
DECLSPEC size_t SDLCALL | SDL_utf8strlcpy (SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes) |
DECLSPEC size_t SDLCALL | SDL_strlcat (SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen) |
DECLSPEC char *SDLCALL | SDL_strdup (const char *str) |
DECLSPEC char *SDLCALL | SDL_strrev (char *str) |
DECLSPEC char *SDLCALL | SDL_strupr (char *str) |
DECLSPEC char *SDLCALL | SDL_strlwr (char *str) |
DECLSPEC char *SDLCALL | SDL_strchr (const char *str, int c) |
DECLSPEC char *SDLCALL | SDL_strrchr (const char *str, int c) |
DECLSPEC char *SDLCALL | SDL_strstr (const char *haystack, const char *needle) |
DECLSPEC char *SDLCALL | SDL_strtokr (char *s1, const char *s2, char **saveptr) |
DECLSPEC size_t SDLCALL | SDL_utf8strlen (const char *str) |
DECLSPEC char *SDLCALL | SDL_itoa (int value, char *str, int radix) |
DECLSPEC char *SDLCALL | SDL_uitoa (unsigned int value, char *str, int radix) |
DECLSPEC char *SDLCALL | SDL_ltoa (long value, char *str, int radix) |
DECLSPEC char *SDLCALL | SDL_ultoa (unsigned long value, char *str, int radix) |
DECLSPEC char *SDLCALL | SDL_lltoa (Sint64 value, char *str, int radix) |
DECLSPEC char *SDLCALL | SDL_ulltoa (Uint64 value, char *str, int radix) |
DECLSPEC int SDLCALL | SDL_atoi (const char *str) |
DECLSPEC double SDLCALL | SDL_atof (const char *str) |
DECLSPEC long SDLCALL | SDL_strtol (const char *str, char **endp, int base) |
DECLSPEC unsigned long SDLCALL | SDL_strtoul (const char *str, char **endp, int base) |
DECLSPEC Sint64 SDLCALL | SDL_strtoll (const char *str, char **endp, int base) |
DECLSPEC Uint64 SDLCALL | SDL_strtoull (const char *str, char **endp, int base) |
DECLSPEC double SDLCALL | SDL_strtod (const char *str, char **endp) |
DECLSPEC int SDLCALL | SDL_strcmp (const char *str1, const char *str2) |
DECLSPEC int SDLCALL | SDL_strncmp (const char *str1, const char *str2, size_t maxlen) |
DECLSPEC int SDLCALL | SDL_strcasecmp (const char *str1, const char *str2) |
DECLSPEC int SDLCALL | SDL_strncasecmp (const char *str1, const char *str2, size_t len) |
DECLSPEC int SDLCALL | SDL_sscanf (const char *text, SDL_SCANF_FORMAT_STRING const char *fmt,...) SDL_SCANF_VARARG_FUNC(2) |
DECLSPEC int SDLCALL | SDL_vsscanf (const char *text, const char *fmt, va_list ap) |
DECLSPEC int SDLCALL | SDL_snprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(3) |
DECLSPEC int SDLCALL | SDL_vsnprintf (SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap) |
DECLSPEC double SDLCALL | SDL_acos (double x) |
DECLSPEC float SDLCALL | SDL_acosf (float x) |
DECLSPEC double SDLCALL | SDL_asin (double x) |
DECLSPEC float SDLCALL | SDL_asinf (float x) |
DECLSPEC double SDLCALL | SDL_atan (double x) |
DECLSPEC float SDLCALL | SDL_atanf (float x) |
DECLSPEC double SDLCALL | SDL_atan2 (double x, double y) |
DECLSPEC float SDLCALL | SDL_atan2f (float x, float y) |
DECLSPEC double SDLCALL | SDL_ceil (double x) |
DECLSPEC float SDLCALL | SDL_ceilf (float x) |
DECLSPEC double SDLCALL | SDL_copysign (double x, double y) |
DECLSPEC float SDLCALL | SDL_copysignf (float x, float y) |
DECLSPEC double SDLCALL | SDL_cos (double x) |
DECLSPEC float SDLCALL | SDL_cosf (float x) |
DECLSPEC double SDLCALL | SDL_exp (double x) |
DECLSPEC float SDLCALL | SDL_expf (float x) |
DECLSPEC double SDLCALL | SDL_fabs (double x) |
DECLSPEC float SDLCALL | SDL_fabsf (float x) |
DECLSPEC double SDLCALL | SDL_floor (double x) |
DECLSPEC float SDLCALL | SDL_floorf (float x) |
DECLSPEC double SDLCALL | SDL_fmod (double x, double y) |
DECLSPEC float SDLCALL | SDL_fmodf (float x, float y) |
DECLSPEC double SDLCALL | SDL_log (double x) |
DECLSPEC float SDLCALL | SDL_logf (float x) |
DECLSPEC double SDLCALL | SDL_log10 (double x) |
DECLSPEC float SDLCALL | SDL_log10f (float x) |
DECLSPEC double SDLCALL | SDL_pow (double x, double y) |
DECLSPEC float SDLCALL | SDL_powf (float x, float y) |
DECLSPEC double SDLCALL | SDL_scalbn (double x, int n) |
DECLSPEC float SDLCALL | SDL_scalbnf (float x, int n) |
DECLSPEC double SDLCALL | SDL_sin (double x) |
DECLSPEC float SDLCALL | SDL_sinf (float x) |
DECLSPEC double SDLCALL | SDL_sqrt (double x) |
DECLSPEC float SDLCALL | SDL_sqrtf (float x) |
DECLSPEC double SDLCALL | SDL_tan (double x) |
DECLSPEC float SDLCALL | SDL_tanf (float x) |
DECLSPEC SDL_iconv_t SDLCALL | SDL_iconv_open (const char *tocode, const char *fromcode) |
DECLSPEC int SDLCALL | SDL_iconv_close (SDL_iconv_t cd) |
DECLSPEC size_t SDLCALL | SDL_iconv (SDL_iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
DECLSPEC char *SDLCALL | SDL_iconv_string (const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft) |
SDL_FORCE_INLINE void * | SDL_memcpy4 (SDL_OUT_BYTECAP(dwords *4) void *dst, SDL_IN_BYTECAP(dwords *4) const void *src, size_t dwords) |
This is a general header that includes C language support.
См. определение в файле SDL_stdinc.h
typedef int SDL_bool |
См. определение в файле SDL_stdinc.h строка 159
См. определение в файле SDL_stdinc.h строка 173
См. определение в файле SDL_stdinc.h строка 179
См. определение в файле SDL_stdinc.h строка 185
См. определение в файле SDL_stdinc.h строка 191
См. определение в файле SDL_stdinc.h строка 197
См. определение в файле SDL_stdinc.h строка 203
См. определение в файле SDL_stdinc.h строка 210
См. определение в файле SDL_stdinc.h строка 216
См. определение в файле SDL_stdinc.h строка 366
См. определение в файле SDL_stdinc.h строка 367
См. определение в файле SDL_stdinc.h строка 368
См. определение в файле SDL_stdinc.h строка 369
typedef struct _SDL_iconv_t* SDL_iconv_t |
См. определение в файле SDL_stdinc.h строка 556
enum SDL_bool |
Элементы перечислений | |
---|---|
SDL_FALSE | |
SDL_TRUE |
См. определение в файле SDL_stdinc.h строка 161
void* alloca | ( | unsigned | ) |
char* alloca | ( | ) |
DECLSPEC void SDLCALL SDL_GetMemoryFunctions | ( | SDL_malloc_func * | malloc_func, |
SDL_calloc_func * | calloc_func, | ||
SDL_realloc_func * | realloc_func, | ||
SDL_free_func * | free_func | ||
) |
Get the current set of SDL memory functions.
DECLSPEC int SDLCALL SDL_SetMemoryFunctions | ( | SDL_malloc_func | malloc_func, |
SDL_calloc_func | calloc_func, | ||
SDL_realloc_func | realloc_func, | ||
SDL_free_func | free_func | ||
) |
Replace SDL's memory allocation functions with a custom set.
DECLSPEC int SDLCALL SDL_GetNumAllocations | ( | void | ) |
Get the number of outstanding (unfreed) allocations.
DECLSPEC char* SDLCALL SDL_getenv | ( | const char * | name | ) |
DECLSPEC int SDLCALL SDL_setenv | ( | const char * | name, |
const char * | value, | ||
int | overwrite | ||
) |
DECLSPEC void SDLCALL SDL_qsort | ( | void * | base, |
size_t | nmemb, | ||
size_t | size, | ||
int(*)(const void *, const void *) | compare | ||
) |
DECLSPEC int SDLCALL SDL_abs | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_isdigit | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_isspace | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_isupper | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_islower | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_toupper | ( | int | x | ) |
DECLSPEC int SDLCALL SDL_tolower | ( | int | x | ) |
См. определение в файле SDL_stdinc.h строка 423
DECLSPEC void* SDLCALL SDL_memmove | ( | SDL_OUT_BYTECAP(len) void * | dst, |
SDL_IN_BYTECAP(len) const void * | src, | ||
size_t | len | ||
) |
DECLSPEC size_t SDLCALL SDL_wcslen | ( | const wchar_t * | wstr | ) |
DECLSPEC size_t SDLCALL SDL_wcslcpy | ( | SDL_OUT_Z_CAP(maxlen) wchar_t * | dst, |
const wchar_t * | src, | ||
size_t | maxlen | ||
) |
DECLSPEC size_t SDLCALL SDL_wcslcat | ( | SDL_INOUT_Z_CAP(maxlen) wchar_t * | dst, |
const wchar_t * | src, | ||
size_t | maxlen | ||
) |
DECLSPEC wchar_t* SDLCALL SDL_wcsdup | ( | const wchar_t * | wstr | ) |
DECLSPEC wchar_t* SDLCALL SDL_wcsstr | ( | const wchar_t * | haystack, |
const wchar_t * | needle | ||
) |
DECLSPEC int SDLCALL SDL_wcscmp | ( | const wchar_t * | str1, |
const wchar_t * | str2 | ||
) |
DECLSPEC int SDLCALL SDL_wcsncmp | ( | const wchar_t * | str1, |
const wchar_t * | str2, | ||
size_t | maxlen | ||
) |
DECLSPEC size_t SDLCALL SDL_strlen | ( | const char * | str | ) |
DECLSPEC size_t SDLCALL SDL_strlcpy | ( | SDL_OUT_Z_CAP(maxlen) char * | dst, |
const char * | src, | ||
size_t | maxlen | ||
) |
DECLSPEC size_t SDLCALL SDL_utf8strlcpy | ( | SDL_OUT_Z_CAP(dst_bytes) char * | dst, |
const char * | src, | ||
size_t | dst_bytes | ||
) |
DECLSPEC size_t SDLCALL SDL_strlcat | ( | SDL_INOUT_Z_CAP(maxlen) char * | dst, |
const char * | src, | ||
size_t | maxlen | ||
) |
DECLSPEC char* SDLCALL SDL_strdup | ( | const char * | str | ) |
DECLSPEC char* SDLCALL SDL_strrev | ( | char * | str | ) |
DECLSPEC char* SDLCALL SDL_strupr | ( | char * | str | ) |
DECLSPEC char* SDLCALL SDL_strlwr | ( | char * | str | ) |
DECLSPEC char* SDLCALL SDL_strchr | ( | const char * | str, |
int | c | ||
) |
DECLSPEC char* SDLCALL SDL_strrchr | ( | const char * | str, |
int | c | ||
) |
DECLSPEC char* SDLCALL SDL_strstr | ( | const char * | haystack, |
const char * | needle | ||
) |
DECLSPEC char* SDLCALL SDL_strtokr | ( | char * | s1, |
const char * | s2, | ||
char ** | saveptr | ||
) |
DECLSPEC size_t SDLCALL SDL_utf8strlen | ( | const char * | str | ) |
DECLSPEC char* SDLCALL SDL_itoa | ( | int | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC char* SDLCALL SDL_uitoa | ( | unsigned int | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC char* SDLCALL SDL_ltoa | ( | long | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC char* SDLCALL SDL_ultoa | ( | unsigned long | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC char* SDLCALL SDL_lltoa | ( | Sint64 | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC char* SDLCALL SDL_ulltoa | ( | Uint64 | value, |
char * | str, | ||
int | radix | ||
) |
DECLSPEC int SDLCALL SDL_atoi | ( | const char * | str | ) |
DECLSPEC double SDLCALL SDL_atof | ( | const char * | str | ) |
DECLSPEC long SDLCALL SDL_strtol | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
DECLSPEC unsigned long SDLCALL SDL_strtoul | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
DECLSPEC Sint64 SDLCALL SDL_strtoll | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
DECLSPEC Uint64 SDLCALL SDL_strtoull | ( | const char * | str, |
char ** | endp, | ||
int | base | ||
) |
DECLSPEC double SDLCALL SDL_strtod | ( | const char * | str, |
char ** | endp | ||
) |
DECLSPEC int SDLCALL SDL_strcmp | ( | const char * | str1, |
const char * | str2 | ||
) |
DECLSPEC int SDLCALL SDL_strncmp | ( | const char * | str1, |
const char * | str2, | ||
size_t | maxlen | ||
) |
DECLSPEC int SDLCALL SDL_strcasecmp | ( | const char * | str1, |
const char * | str2 | ||
) |
DECLSPEC int SDLCALL SDL_strncasecmp | ( | const char * | str1, |
const char * | str2, | ||
size_t | len | ||
) |
DECLSPEC int SDLCALL SDL_sscanf | ( | const char * | text, |
SDL_SCANF_FORMAT_STRING const char * | fmt, | ||
... | |||
) |
DECLSPEC int SDLCALL SDL_vsscanf | ( | const char * | text, |
const char * | fmt, | ||
va_list | ap | ||
) |
DECLSPEC int SDLCALL SDL_snprintf | ( | SDL_OUT_Z_CAP(maxlen) char * | text, |
size_t | maxlen, | ||
SDL_PRINTF_FORMAT_STRING const char * | fmt, | ||
... | |||
) |
DECLSPEC int SDLCALL SDL_vsnprintf | ( | SDL_OUT_Z_CAP(maxlen) char * | text, |
size_t | maxlen, | ||
const char * | fmt, | ||
va_list | ap | ||
) |
DECLSPEC double SDLCALL SDL_acos | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_acosf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_asin | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_asinf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_atan | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_atanf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_atan2 | ( | double | x, |
double | y | ||
) |
DECLSPEC float SDLCALL SDL_atan2f | ( | float | x, |
float | y | ||
) |
DECLSPEC double SDLCALL SDL_ceil | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_ceilf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_copysign | ( | double | x, |
double | y | ||
) |
DECLSPEC float SDLCALL SDL_copysignf | ( | float | x, |
float | y | ||
) |
DECLSPEC double SDLCALL SDL_cos | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_cosf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_exp | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_expf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_fabs | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_fabsf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_floor | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_floorf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_fmod | ( | double | x, |
double | y | ||
) |
DECLSPEC float SDLCALL SDL_fmodf | ( | float | x, |
float | y | ||
) |
DECLSPEC double SDLCALL SDL_log | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_logf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_log10 | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_log10f | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_pow | ( | double | x, |
double | y | ||
) |
DECLSPEC float SDLCALL SDL_powf | ( | float | x, |
float | y | ||
) |
DECLSPEC double SDLCALL SDL_scalbn | ( | double | x, |
int | n | ||
) |
DECLSPEC float SDLCALL SDL_scalbnf | ( | float | x, |
int | n | ||
) |
DECLSPEC double SDLCALL SDL_sin | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_sinf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_sqrt | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_sqrtf | ( | float | x | ) |
DECLSPEC double SDLCALL SDL_tan | ( | double | x | ) |
DECLSPEC float SDLCALL SDL_tanf | ( | float | x | ) |
DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open | ( | const char * | tocode, |
const char * | fromcode | ||
) |
DECLSPEC int SDLCALL SDL_iconv_close | ( | SDL_iconv_t | cd | ) |
DECLSPEC size_t SDLCALL SDL_iconv | ( | SDL_iconv_t | cd, |
const char ** | inbuf, | ||
size_t * | inbytesleft, | ||
char ** | outbuf, | ||
size_t * | outbytesleft | ||
) |
DECLSPEC char* SDLCALL SDL_iconv_string | ( | const char * | tocode, |
const char * | fromcode, | ||
const char * | inbuf, | ||
size_t | inbytesleft | ||
) |
This function converts a string between encodings in one pass, returning a string that must be freed with SDL_free() or NULL on error.
SDL_FORCE_INLINE void* SDL_memcpy4 | ( | SDL_OUT_BYTECAP(dwords *4) void * | dst, |
SDL_IN_BYTECAP(dwords *4) const void * | src, | ||
size_t | dwords | ||
) |