|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
| #define | TWIDTAB(x) |
| #define | TWIDOUT(x, y) |
Functions | |
| void | hsv_spectrum (float w, float *r, float *g, float *b) |
| void | plasma_init (void) |
| void | plasma_drawtex (void) |
| int | check_start (void) |
| void | pvr_setup (void) |
| void | do_frame (void) |
| int | main (int argc, char **argv) |
Variables | |
| static float | scols [8][3] |
| short | pcos [512] |
| short | psin [512] |
| short | xang |
| short | yang |
| short | xamp |
| short | yamp |
| float | hsv |
| pvr_poly_hdr_t | hdr [2] |
| pvr_ptr_t | txr [2] |
| uint16_t * | txr_buf [2] |
| int | txr_cur |
| #define TWIDTAB | ( | x | ) |
| int check_start | ( | void | ) |
References CONT_START, MAPLE_FOREACH_BEGIN, MAPLE_FOREACH_END, and MAPLE_FUNC_CONTROLLER.
Referenced by main().
| void do_frame | ( | void | ) |
References pvr_vertex_t::argb, pvr_vertex_t::flags, hdr, hsv, hsv_spectrum(), pvr_vertex_t::oargb, plasma_drawtex(), PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, pvr_list_begin(), pvr_list_finish(), PVR_LIST_OP_POLY, PVR_PACK_COLOR, pvr_prim(), pvr_scene_begin(), pvr_scene_finish(), pvr_wait_ready(), r, txr_cur, pvr_vertex_t::u, pvr_vertex_t::v, vert, vid_border_color(), pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by main().
| void hsv_spectrum | ( | float | w, |
| float * | r, | ||
| float * | g, | ||
| float * | b ) |
Referenced by do_frame().
| int main | ( | int | argc, |
| char ** | argv ) |
References check_start(), do_frame(), plasma_init(), and pvr_setup().
| void plasma_drawtex | ( | void | ) |
| void plasma_init | ( | void | ) |
| void pvr_setup | ( | void | ) |
References aligned_alloc(), cxt, hdr, PVR_FILTER_BILINEAR, pvr_init_defaults(), PVR_LIST_OP_POLY, pvr_mem_malloc(), pvr_poly_compile(), pvr_poly_cxt_txr(), pvr_set_bg_color(), PVR_TXRFMT_RGB565, txr, txr_buf, and txr_cur.
Referenced by main().
| pvr_poly_hdr_t hdr[2] |
Referenced by do_frame(), and pvr_setup().
| float hsv |
Referenced by do_frame(), and plasma_init().
| short pcos[512] |
Referenced by plasma_drawtex(), and plasma_init().
| short psin[512] |
Referenced by plasma_drawtex(), and plasma_init().
|
static |
Referenced by hsv_spectrum().
| pvr_ptr_t txr[2] |
Referenced by plasma_drawtex(), and pvr_setup().
| uint16_t* txr_buf[2] |
Referenced by plasma_drawtex(), and pvr_setup().
| int txr_cur |
Referenced by do_frame(), plasma_drawtex(), and pvr_setup().
| short xamp |
Referenced by plasma_drawtex(), and plasma_init().
| short xang |
Referenced by plasma_drawtex(), plasma_init(), and rotate().
| short yamp |
Referenced by plasma_drawtex(), and plasma_init().
| short yang |
Referenced by plasma_drawtex(), plasma_init(), and rotate().