orx
1.14
Portable Game Engine
|
#include <stddef.h>
Go to the source code of this file.
Macros | |
#define | __orx32__ |
#define | __orxLITTLE_ENDIAN__ |
#define | __orxX86__ |
#define | orxALIGN(VALUE, BLOCK_SIZE) (((orxUPTR)(VALUE) + ((orxUPTR)(BLOCK_SIZE) - 1)) & (~((orxUPTR)(BLOCK_SIZE) - 1))) |
#define | orxALIGN16(VALUE) orxALIGN(VALUE, 16) |
#define | orxALIGN32(VALUE) orxALIGN(VALUE, 32) |
#define | orxALIGN64(VALUE) orxALIGN(VALUE, 64) |
#define | orxALIGN8(VALUE) orxALIGN(VALUE, 8) |
#define | orxANSI_KC_MARKER '\x1b' |
#define | orxANSI_KZ_COLOR_BG_BLACK "\x1b[40m" |
#define | orxANSI_KZ_COLOR_BG_BLUE "\x1b[44m" |
#define | orxANSI_KZ_COLOR_BG_CYAN "\x1b[46m" |
#define | orxANSI_KZ_COLOR_BG_DEFAULT "\x1b[49m" |
#define | orxANSI_KZ_COLOR_BG_GREEN "\x1b[42m" |
#define | orxANSI_KZ_COLOR_BG_MAGENTA "\x1b[45m" |
#define | orxANSI_KZ_COLOR_BG_RED "\x1b[41m" |
#define | orxANSI_KZ_COLOR_BG_WHITE "\x1b[47m" |
#define | orxANSI_KZ_COLOR_BG_YELLOW "\x1b[43m" |
#define | orxANSI_KZ_COLOR_BLINK_OFF "\x1b[25m" |
#define | orxANSI_KZ_COLOR_BLINK_ON "\x1b[5m" |
#define | orxANSI_KZ_COLOR_BOLD_OFF "\x1b[22m" |
#define | orxANSI_KZ_COLOR_BOLD_ON "\x1b[1m" |
#define | orxANSI_KZ_COLOR_FG_BLACK "\x1b[30m" |
#define | orxANSI_KZ_COLOR_FG_BLUE "\x1b[34m" |
#define | orxANSI_KZ_COLOR_FG_CYAN "\x1b[36m" |
#define | orxANSI_KZ_COLOR_FG_DEFAULT "\x1b[39m" |
#define | orxANSI_KZ_COLOR_FG_GREEN "\x1b[32m" |
#define | orxANSI_KZ_COLOR_FG_MAGENTA "\x1b[35m" |
#define | orxANSI_KZ_COLOR_FG_RED "\x1b[31m" |
#define | orxANSI_KZ_COLOR_FG_WHITE "\x1b[37m" |
#define | orxANSI_KZ_COLOR_FG_YELLOW "\x1b[33m" |
#define | orxANSI_KZ_COLOR_INVERSE_OFF "\x1b[27m" |
#define | orxANSI_KZ_COLOR_INVERSE_ON "\x1b[7m" |
#define | orxANSI_KZ_COLOR_ITALICS_OFF "\x1b[23m" |
#define | orxANSI_KZ_COLOR_ITALICS_ON "\x1b[3m" |
#define | orxANSI_KZ_COLOR_RESET "\x1b[0m" |
#define | orxANSI_KZ_COLOR_STRIKETHROUGH_OFF "\x1b[29m" |
#define | orxANSI_KZ_COLOR_STRIKETHROUGH_ON "\x1b[9m" |
#define | orxANSI_KZ_COLOR_UNDERLINE_OFF "\x1b[24m" |
#define | orxANSI_KZ_COLOR_UNDERLINE_ON "\x1b[4m" |
#define | orxARRAY_GET_ITEM_COUNT(ARRAY) (sizeof(ARRAY) / sizeof(ARRAY[0])) |
#define | orxDLLAPI orxIMPORT orxDLLEXPORT /* Compiling orx library => API needs to be exported */ |
#define | orxFLAG_GET(X, M) ((X) & (M)) |
#define | orxFLAG_SET(X, A, R) |
#define | orxFLAG_SWAP(X, S) ((X) ^= (S)) |
#define | orxFLAG_TEST(X, F) (((X) & (F)) != 0) |
#define | orxFLAG_TEST_ALL(X, F) (((X) & (F)) == (F)) |
#define | orxIMPORT |
#define | orxSTRUCT_GET_FROM_FIELD(TYPE, FIELD, POINTER) ((TYPE *)((orxU8 *)(POINTER) - offsetof(TYPE, FIELD))) |