|
Banjo API 1.1.0-alpha
Low-level C99 game development API
|
#include <banjo/app.h>#include <banjo/main.h>#include <banjo/bitmap.h>#include <banjo/event.h>#include <banjo/log.h>#include <banjo/memory.h>#include <banjo/system.h>#include <banjo/window.h>Go to the source code of this file.
Macros | |
| #define | WINDOW_W 800 |
| #define | WINDOW_H 600 |
Functions | |
| static void | on_draw (struct bj_window *w, struct bj_render_target *target, const struct bj_rect *dirty, void *user_data) |
| static void * | setup (struct bj_app *app, void *init_data) |
| static void | step (struct bj_app *app, struct bj_tick_info tick, void *user_data) |
| static void | teardown (struct bj_app *app, void *user_data) |
| int | main (int argc, char *argv[]) |
Variables | |
| bj_window * | window = 0 |
| bj_bitmap * | bmp_rendering = 0 |
| #define WINDOW_H 600 |
Definition at line 22 of file bitmap_blit.c.
Referenced by draw(), setup(), setup(), setup(), setup(), and setup().
| #define WINDOW_W 800 |
Definition at line 21 of file bitmap_blit.c.
Referenced by setup(), setup(), setup(), setup(), and setup().
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 121 of file bitmap_blit.c.
|
static |
Definition at line 32 of file bitmap_blit.c.
Referenced by setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), and setup().
|
static |
Definition at line 42 of file bitmap_blit.c.
|
static |
Definition at line 105 of file bitmap_blit.c.
|
static |
Definition at line 114 of file bitmap_blit.c.
| bj_bitmap* bmp_rendering = 0 |
Definition at line 25 of file bitmap_blit.c.
Referenced by on_draw(), on_draw(), on_draw(), setup(), setup(), setup(), teardown(), teardown(), and teardown().
| bj_window* window = 0 |
Definition at line 24 of file bitmap_blit.c.
Referenced by bj_close_on_escape(), bj_destroy_window(), bj_get_key(), bj_get_window_flags(), bj_get_window_size(), bj_invalidate_rect(), bj_invalidate_window(), bj_is_window_fullscreen(), bj_push_button_event(), bj_push_cursor_event(), bj_push_enter_event(), bj_push_key_event(), bj_set_draw_callback(), bj_set_resize_callback(), bj_set_window_draw_callback(), bj_set_window_fullscreen(), bj_set_window_resize_callback(), bj_set_window_should_close(), bj_should_close_window(), bj_unbind_window(), bj_window_enter_fullscreen(), bj_window_flags(), bj_window_has_flag(), bj_window_is_fullscreen(), bj_window_is_key_pressed(), bj_window_leave_fullscreen(), bj_window_should_close(), bj_window_size(), on_draw(), regenerate(), roll(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), setup(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), step(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), teardown(), and teardown().