![]() |
dsekai
World engine for retrocomputers.
|

Macros | |
| #define | ENGINE_TABLE(f) |
| #define | engines_active(state) |
| #define | ENGINES_SETUP_PROTOTYPES(idx, eng, prefix) |
| #define | ENGINES_INPUT_PROTOTYPES(idx, eng, prefix) |
| #define | ENGINES_ANIMATE_PROTOTYPES(idx, eng, prefix) |
| #define | ENGINES_DRAW_PROTOTYPES(idx, eng, prefix) |
| #define | ENGINES_SHUTDOWN_PROTOTYPES(idx, eng, prefix) |
Typedefs | |
| typedef int16_t(* | ENGINES_SETUP) (struct DSEKAI_STATE *state) |
| Sets up the current engine (allocates specific state, etc). | |
| typedef int16_t(* | ENGINES_INPUT) (INPUT_VAL in_char, int16_t click_x, int16_t click_y, struct DSEKAI_STATE *state) |
| Handles polled input according to the rules of the current engine. | |
| typedef void(* | ENGINES_ANIMATE) (struct DSEKAI_STATE *state) |
| Cycles animations and executes scripts relevant to the current engine. | |
| typedef void(* | ENGINES_DRAW) (struct DSEKAI_STATE *state) |
| Draws the engine sceen on-screen according to current state. | |
Variables | |
| RES_CONST char * | gc_engines_tokens [] |
| RES_CONST ENGINES_SETUP | gc_engines_setup [] |
| RES_CONST ENGINES_INPUT | gc_engines_input [] |
| RES_CONST ENGINES_ANIMATE | gc_engines_animate [] |
| RES_CONST ENGINES_DRAW | gc_engines_draw [] |
| #define ENGINE_TABLE | ( | f | ) |
| #define engines_active | ( | state | ) |
| #define ENGINES_ANIMATE_PROTOTYPES | ( | idx, | |
| eng, | |||
| prefix ) |
| #define ENGINES_DRAW_PROTOTYPES | ( | idx, | |
| eng, | |||
| prefix ) |
| #define ENGINES_INPUT_PROTOTYPES | ( | idx, | |
| eng, | |||
| prefix ) |
| #define ENGINES_SETUP_PROTOTYPES | ( | idx, | |
| eng, | |||
| prefix ) |
| #define ENGINES_SHUTDOWN_PROTOTYPES | ( | idx, | |
| eng, | |||
| prefix ) |
| typedef void(* ENGINES_ANIMATE) (struct DSEKAI_STATE *state) |
Cycles animations and executes scripts relevant to the current engine.
| state | Locked MEMORY_PTR for current DSEKAI_STATE. |
| typedef void(* ENGINES_DRAW) (struct DSEKAI_STATE *state) |
Draws the engine sceen on-screen according to current state.
| state | Locked MEMORY_PTR for current DSEKAI_STATE. |
| typedef int16_t(* ENGINES_INPUT) (INPUT_VAL in_char, int16_t click_x, int16_t click_y, struct DSEKAI_STATE *state) |
Handles polled input according to the rules of the current engine.
| in_char | Last char polled from user input. |
| state | Locked MEMORY_PTR for current DSEKAI_STATE. |
| typedef int16_t(* ENGINES_SETUP) (struct DSEKAI_STATE *state) |
Sets up the current engine (allocates specific state, etc).
| state | Locked MEMORY_PTR for current DSEKAI_STATE. |