|
Banjo API 1.0.0-rc.2
Low-level C99 game development API
|
Go to the source code of this file.
Data Structures | |
| struct | bj_tick_info |
Typedefs | |
| typedef struct bj_tick_info | bj_tick_info |
| typedef void *(* | bj_app_setup_fn) (struct bj_app *app, void *init_data) |
| typedef void(* | bj_app_step_fn) (struct bj_app *app, struct bj_tick_info tick, void *user_data) |
| typedef void(* | bj_app_fixed_step_fn) (struct bj_app *app, struct bj_tick_info tick, void *user_data) |
| typedef void(* | bj_app_teardown_fn) (struct bj_app *app, void *user_data) |
Functions | |
| void | bj_set_fixed_step_rate (struct bj_app *app, int hz) |
| int | bj_app_fixed_step_rate (const struct bj_app *app) |
| void | bj_set_frame_rate (struct bj_app *app, int hz) |
| int | bj_app_frame_rate (const struct bj_app *app) |
| int | bj_run_app (bj_app_setup_fn setup, bj_app_step_fn step, bj_app_fixed_step_fn fixed_step, bj_app_teardown_fn teardown, void *init_data) |
| void | bj_quit_app (struct bj_app *app, int exit_code) |
Application lifecycle: callback-driven setup, step, and teardown.
Definition in file app.h.