|
libtcod
|
C types for console functions. More...
Go to the source code of this file.
Classes | |
| struct | TCOD_key_t |
| Libtcod key event data, as a keycode or text character. More... | |
Macros | |
| #define | TCOD_KEY_TEXT_SIZE 32 |
Typedefs | |
| typedef enum TCOD_keycode_t | TCOD_keycode_t |
| Libtcod specific codes representing keys on the keyboard. | |
| typedef struct TCOD_key_t | TCOD_key_t |
| Libtcod key event data, as a keycode or text character. | |
| typedef enum TCOD_chars_t | TCOD_DEPRECATED_ENUM = 196 |
| Non-standard special character codes. | |
| typedef enum TCOD_renderer_t | TCOD_renderer_t |
| Libtcod rendering modes. | |
Enumerations | |
| enum | TCOD_keycode_t { TCODK_NONE , TCODK_ESCAPE , TCODK_BACKSPACE , TCODK_TAB , TCODK_ENTER , TCODK_SHIFT , TCODK_CONTROL , TCODK_ALT , TCODK_PAUSE , TCODK_CAPSLOCK , TCODK_PAGEUP , TCODK_PAGEDOWN , TCODK_END , TCODK_HOME , TCODK_UP , TCODK_LEFT , TCODK_RIGHT , TCODK_DOWN , TCODK_PRINTSCREEN , TCODK_INSERT , TCODK_DELETE , TCODK_LWIN , TCODK_RWIN , TCODK_APPS , TCODK_0 , TCODK_1 , TCODK_2 , TCODK_3 , TCODK_4 , TCODK_5 , TCODK_6 , TCODK_7 , TCODK_8 , TCODK_9 , TCODK_KP0 , TCODK_KP1 , TCODK_KP2 , TCODK_KP3 , TCODK_KP4 , TCODK_KP5 , TCODK_KP6 , TCODK_KP7 , TCODK_KP8 , TCODK_KP9 , TCODK_KPADD , TCODK_KPSUB , TCODK_KPDIV , TCODK_KPMUL , TCODK_KPDEC , TCODK_KPENTER , TCODK_F1 , TCODK_F2 , TCODK_F3 , TCODK_F4 , TCODK_F5 , TCODK_F6 , TCODK_F7 , TCODK_F8 , TCODK_F9 , TCODK_F10 , TCODK_F11 , TCODK_F12 , TCODK_NUMLOCK , TCODK_SCROLLLOCK , TCODK_SPACE , TCODK_CHAR , TCODK_TEXT } |
| Libtcod specific codes representing keys on the keyboard. More... | |
| enum | TCOD_chars_t |
| Non-standard special character codes. More... | |
| enum | TCOD_key_status_t { TCOD_KEY_PRESSED = 1 , TCOD_KEY_RELEASED = 2 } |
| Bitwise flags used for functions such as TCOD_console_check_for_keypress() This was replaced by the equivalent values of TCOD_event_t. | |
| enum | TCOD_font_flags_t { TCOD_FONT_LAYOUT_ASCII_INCOL = 1 , TCOD_FONT_LAYOUT_ASCII_INROW = 2 , TCOD_FONT_TYPE_GREYSCALE = 4 , TCOD_FONT_TYPE_GRAYSCALE = 4 , TCOD_FONT_LAYOUT_TCOD = 8 , TCOD_FONT_LAYOUT_CP437 = 16 } |
| These font flags can be OR'd together into a bit-field and passed to TCOD_console_set_custom_font. More... | |
| enum | TCOD_renderer_t { TCOD_RENDERER_GLSL , TCOD_RENDERER_OPENGL , TCOD_RENDERER_SDL , TCOD_RENDERER_SDL2 , TCOD_RENDERER_OPENGL2 , TCOD_RENDERER_XTERM , TCOD_NB_RENDERERS } |
| Libtcod rendering modes. More... | |
C types for console functions.
| @ TCOD_DEPRECATED_ENUM = 196 |
Non-standard special character codes.
| typedef struct TCOD_key_t TCOD_key_t |
Libtcod key event data, as a keycode or text character.
| typedef enum TCOD_keycode_t TCOD_keycode_t |
Libtcod specific codes representing keys on the keyboard.
When no key was pressed (see checkForEvent) : TCOD_NONE (NoKey)
Special keys:
Numeric keys:
Any other (printable) key:
Codes starting with TCODK_KP represents keys on the numeric keypad (if available).
| enum TCOD_chars_t |
Non-standard special character codes.
| enum TCOD_font_flags_t |
These font flags can be OR'd together into a bit-field and passed to TCOD_console_set_custom_font.
| enum TCOD_keycode_t |
Libtcod specific codes representing keys on the keyboard.
When no key was pressed (see checkForEvent) : TCOD_NONE (NoKey)
Special keys:
Numeric keys:
Any other (printable) key:
Codes starting with TCODK_KP represents keys on the numeric keypad (if available).
| enum TCOD_renderer_t |
Libtcod rendering modes.