|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Functions | |
| int | zlib_getlength (char *) |
| void | back_init (void) |
| void | font_init (void) |
| void | text_init (void) |
| void | draw_back (void) |
| void | draw_char (float x1, float y1, float z1, float a, float r, float g, float b, int c, float xs, float ys) |
| void | draw_string (float x, float y, float z, float a, float r, float g, float b, char *str, float xs, float ys) |
| void | draw_frame (void) |
| int | main (int argc, char **argv) |
Variables | |
| char | wfont [] |
| pvr_ptr_t | font_tex |
| pvr_ptr_t | back_tex |
| char * | data |
| int | y = 0 |
| void back_init | ( | void | ) |
References back_tex, and pvr_mem_malloc().
Referenced by main().
| void draw_back | ( | void | ) |
References pvr_vertex_t::argb, back_tex, cxt, pvr_vertex_t::flags, hdr, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, PVR_FILTER_BILINEAR, PVR_LIST_OP_POLY, PVR_PACK_COLOR, pvr_poly_compile(), pvr_poly_cxt_txr(), pvr_prim(), PVR_TXRFMT_RGB565, pvr_vertex_t::u, pvr_vertex_t::v, vert, pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by draw_frame().
| void draw_char | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | a, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| int | c, | ||
| float | xs, | ||
| float | ys ) |
References pvr_vertex_t::argb, pvr_vertex_t::flags, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, PVR_PACK_COLOR, pvr_prim(), r, pvr_vertex_t::u, pvr_vertex_t::v, vert, pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by draw_string().
| void draw_frame | ( | void | ) |
References data, draw_back(), draw_string(), pvr_list_begin(), pvr_list_finish(), PVR_LIST_OP_POLY, PVR_LIST_TR_POLY, pvr_scene_begin(), pvr_scene_finish(), pvr_wait_ready(), and y.
Referenced by main().
| void draw_string | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | a, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| char * | str, | ||
| float | xs, | ||
| float | ys ) |
References cxt, draw_char(), font_tex, hdr, PVR_FILTER_BILINEAR, PVR_LIST_TR_POLY, pvr_poly_compile(), pvr_poly_cxt_txr(), pvr_prim(), PVR_TXRFMT_ARGB4444, r, x, y, and z.
Referenced by draw_frame().
| void font_init | ( | void | ) |
References font_tex, pvr_mem_malloc(), pvr_txr_load_ex(), PVR_TXRLOAD_16BPP, wfont, x, and y.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
References back_init(), CONT_START, data, done, draw_frame(), font_init(), free(), MAPLE_FOREACH_BEGIN, MAPLE_FOREACH_END, MAPLE_FUNC_CONTROLLER, pvr_init_defaults(), and text_init().
| void text_init | ( | void | ) |
References data, malloc(), printf, and zlib_getlength().
Referenced by main().
|
extern |
Referenced by text_init().
| pvr_ptr_t back_tex |
Referenced by back_init(), and draw_back().
| char* data |
Referenced by draw_frame(), main(), and text_init().
| pvr_ptr_t font_tex |
Referenced by draw_string(), and font_init().
|
extern |
Referenced by font_init().
| int y = 0 |
Referenced by draw_frame(), draw_plane(), draw_string(), and font_init().