maug
Quick and dirty C mini-augmentation library.
|
Abstraction layer header for retro systems. More...
Topics | |
RetroFlat Example | |
An extremely simple single-file annotated example program written with the RetroFlat API. | |
RetroFlat Compilation | |
Makefile examples and compiler considerations for using RetroFlat. | |
Maug_retroflt_color | |
RetroFlat API Return Values | |
Standardized return values from RetroFlat API functions. | |
RetroFlat Drawing API | |
Functions for drawing primitives on-screen. | |
Global Flags | |
Flags that may be present on RETROFLAT_STATE::retroflat_flags. | |
RetroFlat Message API | |
These flags can be passed to retroflat_message() to indicate the type of message being conveyed. | |
RetroFlat VDP API | |
Video Display Processor tools for modifying display output. | |
RetroFlat Bitmap API | |
Tools for loading bitmaps from disk and drawing them on-screen. | |
RetroFlat Assets API | |
Functions and macros for handling graphical asset files. | |
RetroFlat Input API | |
Functions and constants for polling and interpreting user input. | |
RetroFlat Direction API | |
Macros and constants for definition cardinal directions in screen and world space. | |
Files | |
file | retroflt.h |
Abstraction layer header for retro systems. | |
Macros | |
#define | RETROFLAT_BITMAP_TRACE_LVL 0 |
#define | RETROFLAT_KB_TRACE_LVL 0 |
#define | RETROFLAT_DEFAULT_SCREEN_W 320 |
#define | RETROFLAT_DEFAULT_SCREEN_H 200 |
#define | retroflat_on_resize(w, h) |
#define | retroflat_wait_for_frame() |
#define | retroflat_is_waiting_for_frame() |
#define | retroflat_bitmap_has_flags(bmp, f) |
Typedefs | |
typedef MERROR_RETVAL(* | retroflat_proc_resize_t) (uint16_t new_w, uint16_t new_h, void *data) |
typedef void(* | retroflat_loop_iter) (void *data) |
Prototype for the main loop function passed to retroflat_loop(). | |
#define | RETROSND_ARGS_FLAG_LIST_DEVS 0x01 |
Abstraction layer header for retro systems.
#define retroflat_bitmap_has_flags | ( | bmp, | |
f ) |
#define retroflat_is_waiting_for_frame | ( | ) |
#define retroflat_on_resize | ( | w, | |
h ) |
#define retroflat_wait_for_frame | ( | ) |