|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include "gp.h"Functions | |
| void | bkg_setup (void) |
| static void | draw_floor_poly (void) |
| static void | draw_wall_poly (void) |
| void | bkg_render (void) |
Variables | |
| static int | ang = 0 |
| static pvr_ptr_t | chktexture |
| static float | horizon = 340.0f |
| 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().
|
static |
References ang, pvr_vertex_t::argb, pvr_vertex_t::flags, horizon, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, PVR_PACK_COLOR, pvr_prim(), rotate(), pvr_vertex_t::u, pvr_vertex_t::v, vert, pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by bkg_render().
|
static |
References pvr_vertex_t::argb, pvr_vertex_t::flags, horizon, pvr_vertex_t::oargb, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, PVR_PACK_COLOR, pvr_prim(), pvr_vertex_t::x, pvr_vertex_t::y, and pvr_vertex_t::z.
Referenced by bkg_render().
|
static |
Referenced by bkg_render(), and draw_floor_poly().
|
static |
Referenced by bkg_render(), and bkg_setup().
|
static |
Referenced by draw_floor_poly(), and draw_wall_poly().