maug
Quick and dirty C mini-augmentation library.
|
RetroFlat platform definition header. More...
Go to the source code of this file.
Data Structures | |
struct | RETROFLAT_BITMAP |
Platform-specific bitmap structure. retroflat_bitmap_ok() can be used on a pointer to it to determine if a valid bitmap is loaded. More... | |
Macros | |
#define | retroflat_bitmap_ok(bitmap) |
Check to see if a bitmap is loaded. | |
#define | retroflat_screen_w() |
Get the current screen width in pixels. | |
#define | retroflat_screen_h() |
Get the current screen height in pixels. | |
#define | retroflat_screen_buffer() |
Get the direct screen buffer or the VDP buffer if a VDP is loaded. | |
#define | retroflat_quit(retval_in) |
This should be called in order to quit a program using RetroFlat. | |
#define | RETROFLAT_COLOR_BLACK 0 |
#define | RETROFLAT_COLOR_DARKBLUE 1 |
#define | RETROFLAT_COLOR_DARKGREEN 2 |
#define | RETROFLAT_COLOR_TEAL 3 |
#define | RETROFLAT_COLOR_DARKRED 4 |
#define | RETROFLAT_COLOR_VIOLET 5 |
#define | RETROFLAT_COLOR_BROWN 6 |
#define | RETROFLAT_COLOR_GRAY 7 |
#define | RETROFLAT_COLOR_DARKGRAY 8 |
#define | RETROFLAT_COLOR_BLUE 9 |
#define | RETROFLAT_COLOR_GREEN 10 |
#define | RETROFLAT_COLOR_CYAN 11 |
#define | RETROFLAT_COLOR_RED 12 |
#define | RETROFLAT_COLOR_MAGENTA 13 |
#define | RETROFLAT_COLOR_YELLOW 14 |
#define | RETROFLAT_COLOR_WHITE 15 |
#define | RETROFLAT_KEY_UP 0 |
#define | RETROFLAT_KEY_DOWN 0 |
#define | RETROFLAT_KEY_RIGHT 0 |
#define | RETROFLAT_KEY_LEFT 0 |
#define | RETROFLAT_KEY_A 0x41 |
#define | RETROFLAT_KEY_B 0x42 |
#define | RETROFLAT_KEY_C 0x43 |
#define | RETROFLAT_KEY_D 0x44 |
#define | RETROFLAT_KEY_E 0x45 |
#define | RETROFLAT_KEY_F 0x46 |
#define | RETROFLAT_KEY_G 0x47 |
#define | RETROFLAT_KEY_H 0x48 |
#define | RETROFLAT_KEY_I 0x49 |
#define | RETROFLAT_KEY_J 0x4a |
#define | RETROFLAT_KEY_K 0x4b |
#define | RETROFLAT_KEY_L 0x4c |
#define | RETROFLAT_KEY_M 0x4d |
#define | RETROFLAT_KEY_N 0x4e |
#define | RETROFLAT_KEY_O 0x4f |
#define | RETROFLAT_KEY_P 0x50 |
#define | RETROFLAT_KEY_Q 0x51 |
#define | RETROFLAT_KEY_R 0x52 |
#define | RETROFLAT_KEY_S 0x53 |
#define | RETROFLAT_KEY_T 0x54 |
#define | RETROFLAT_KEY_U 0x55 |
#define | RETROFLAT_KEY_V 0x56 |
#define | RETROFLAT_KEY_W 0x57 |
#define | RETROFLAT_KEY_X 0x58 |
#define | RETROFLAT_KEY_Y 0x59 |
#define | RETROFLAT_KEY_Z 0x60 |
#define | RETROFLAT_KEY_0 0x30 |
#define | RETROFLAT_KEY_1 0x31 |
#define | RETROFLAT_KEY_2 0x32 |
#define | RETROFLAT_KEY_3 0x33 |
#define | RETROFLAT_KEY_4 0x34 |
#define | RETROFLAT_KEY_5 0x35 |
#define | RETROFLAT_KEY_6 0x36 |
#define | RETROFLAT_KEY_7 0x37 |
#define | RETROFLAT_KEY_8 0x38 |
#define | RETROFLAT_KEY_9 0x39 |
#define | RETROFLAT_KEY_TAB 0 |
#define | RETROFLAT_KEY_SPACE 0 |
#define | RETROFLAT_KEY_ESC 0 |
#define | RETROFLAT_KEY_ENTER 0 |
#define | RETROFLAT_KEY_HOME 0 |
#define | RETROFLAT_KEY_END 0 |
#define | RETROFLAT_MOUSE_B_LEFT 0 |
#define | RETROFLAT_MOUSE_B_RIGHT 0 |
Typedefs | |
typedef int | RETROFLAT_COLOR_DEF |
RetroFlat platform definition header.
#define retroflat_quit | ( | retval_in | ) |
This should be called in order to quit a program using RetroFlat.
retval | The return value to pass back to the operating system. |
#define retroflat_screen_buffer | ( | ) |
Get the direct screen buffer or the VDP buffer if a VDP is loaded.