|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Go to the source code of this file.
Macros | |
| #define | msin(angle) |
| #define | mcos(angle) |
Functions | |
| void | bkg_setup (void) |
| void | bkg_render (void) |
| void | setup_util_texture (void) |
| void | rotate (int zang, int xang, int yang, float *x, float *y, float *z) |
| void | draw_poly_mouse (int ptrx, int ptry, float alpha) |
| void | draw_poly_char (float x1, float y1, float z1, float a, float r, float g, float b, int c) |
| void | draw_poly_strf (float x1, float y1, float z1, float a, float r, float g, float b, char *fmt,...) |
| void | draw_poly_box (float x1, float y1, float x2, float y2, float z, float a1, float r1, float g1, float b1, float a2, float r2, float g2, float b2) |
| void | song_menu_render (void) |
Variables | |
| pvr_ptr_t | util_texture |
| pvr_poly_hdr_t | util_txr_hdr |
| #define mcos | ( | angle | ) |
| #define msin | ( | angle | ) |
| void bkg_render | ( | void | ) |
References ang, chktexture, cxt, draw_floor_poly(), draw_wall_poly(), PVR_FILTER_BILINEAR, PVR_LIST_OP_POLY, pvr_poly_compile(), pvr_poly_cxt_col(), pvr_poly_cxt_txr(), pvr_prim(), PVR_TXRFMT_NONTWIDDLED, and PVR_TXRFMT_RGB565.
Referenced by main().
| void bkg_setup | ( | void | ) |
References chktexture, pvr_mem_malloc(), texture, x, and y.
Referenced by main().
| void draw_poly_box | ( | float | x1, |
| float | y1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z, | ||
| float | a1, | ||
| float | r1, | ||
| float | g1, | ||
| float | b1, | ||
| float | a2, | ||
| float | r2, | ||
| float | g2, | ||
| float | b2 ) |
References pvr_vertex_t::argb, cxt, pvr_vertex_t::flags, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, PVR_LIST_TR_POLY, PVR_PACK_COLOR, pvr_poly_compile(), pvr_poly_cxt_col(), pvr_prim(), vert, pvr_vertex_t::x, pvr_vertex_t::y, pvr_vertex_t::z, and z.
Referenced by draw_listing(), main(), and song_menu_render().
| void draw_poly_char | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | a, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| int | c ) |
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_poly_strf().
| void draw_poly_mouse | ( | int | ptrx, |
| int | ptry, | ||
| float | alpha ) |
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(), pvr_vertex_t::u, util_txr_hdr, pvr_vertex_t::v, vert, pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by mouse_render().
| void draw_poly_strf | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | a, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| char * | fmt, | ||
| ... ) |
References draw_poly_char(), pvr_prim(), r, s, strbuf, and util_txr_hdr.
Referenced by draw_listing(), and main().
| void rotate | ( | int | zang, |
| int | xang, | ||
| int | yang, | ||
| float * | x, | ||
| float * | y, | ||
| float * | z ) |
| void setup_util_texture | ( | void | ) |
References bfont_draw(), cxt, mouse1_xpm, printf, PVR_FILTER_NONE, PVR_LIST_TR_POLY, pvr_mem_malloc(), pvr_poly_compile(), pvr_poly_cxt_txr(), PVR_TXRFMT_ARGB4444, PVR_TXRFMT_NONTWIDDLED, util_texture, util_txr_hdr, x, and y.
Referenced by main().
| void song_menu_render | ( | void | ) |
References check_inputs(), draw_listing(), draw_poly_box(), dthrob, filtinitted, framecnt, load_queued, load_song_list(), mut, mutex_lock(), mutex_unlock(), NULL, num_entries, snd_hook(), snd_stream_filter_add(), thd_create(), and throb.
Referenced by main().
|
extern |
Referenced by setup_util_texture().
|
extern |
Referenced by draw_poly_mouse(), draw_poly_strf(), and setup_util_texture().