|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <kos.h>Functions | |
| int | check_start (void) |
| void | move_polys (void) |
| void | draw_one_poly (polyplace_t *p) |
| void | draw_frame (void) |
| int | main (int argc, char **argv) |
Variables | |
| polyplace_t | polys [12] |
| uint32_t | color = 0 |
| int | dcolor = 5 |
| pvr_init_params_t | pvr_params |
| int check_start | ( | void | ) |
References cont_state_t::buttons, CONT_START, maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, and printf.
Referenced by main().
| void draw_frame | ( | void | ) |
References color, cxt, dcolor, draw_one_poly(), move_polys(), polys, pvr_list_begin(), pvr_list_finish(), PVR_LIST_OP_POLY, pvr_poly_compile(), pvr_poly_cxt_col(), pvr_prim(), pvr_scene_begin(), pvr_scene_finish(), and pvr_wait_ready().
Referenced by main().
| void draw_one_poly | ( | polyplace_t * | p | ) |
References pvr_vertex_t::argb, pvr_vertex_t::flags, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, pvr_prim(), 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().
| int main | ( | int | argc, |
| char ** | argv ) |
References check_start(), draw_frame(), pvr_init(), pvr_params, pvr_set_bg_color(), and pvr_shutdown().
| void move_polys | ( | void | ) |
References polys.
Referenced by draw_frame().
| uint32_t color = 0 |
Referenced by draw_directory_contents(), draw_directory_selector(), draw_frame(), draw_gl_cube(), draw_instructions(), draw_instructions(), draw_pvr_line(), drawcube(), drawwave(), font_draw_char(), font_draw_string(), generate_texture(), glDrawQuads(), loadtxr(), main(), poly_pnt(), prompt_message(), PVR_TextureFormat(), render_bouncing_cube(), RenderCallback(), setup_vertices(), and SetVertex3tc().
| int dcolor = 5 |
Referenced by draw_frame().
| polyplace_t polys[12] |
Referenced by draw_frame(), and move_polys().
| pvr_init_params_t pvr_params |
Referenced by main().