KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
ta.c File Reference
#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
 

Function Documentation

◆ check_start()

int check_start ( void )

◆ draw_frame()

◆ draw_one_poly()

◆ main()

int main ( int argc,
char ** argv )

◆ move_polys()

void move_polys ( void )

References polys.

Referenced by draw_frame().

Variable Documentation

◆ color

◆ dcolor

int dcolor = 5

Referenced by draw_frame().

◆ polys

polyplace_t polys[12]
Initial value:
= {
{ 16.0f, 0.0f, 10.0f, 3.0f, 5.0f },
{ 300.0f, 0.0f, 11.0f, 0.0f, 6.0f },
{ 624.0f, 0.0f, 12.0f, -3.0f, 7.0f },
{ 24.0f, 300.0f, 13.0f, 3.0f, -7.0f },
{ 340.0f, 300.0f, 14.0f, 0.0f, -6.0f },
{ 616.0f, 300.0f, 15.0f, -3.0f, -5.0f },
{ 0.0f, 16.0f, 16.0f, 5.0f, 3.0f },
{ 0.0f, 220.0f, 17.0f, 6.0f, 0.0f },
{ 0.0f, 364.0f, 18.0f, 7.0f, -3.0f },
{ 480.0f, 24.0f, 19.0f, -7.0f, 3.0f },
{ 480.0f, 260.0f, 20.0f, -6.0f, 0.0f },
{ 480.0f, 356.0f, 21.0f, -5.0f, -3.0f },
}

Referenced by draw_frame(), and move_polys().

◆ pvr_params

pvr_init_params_t pvr_params
Initial value:
= {
64 * 1024, 0, 0, 0, 0, 0
}
#define PVR_BINSIZE_16
16-word (64-byte) length
Definition pvr.h:978
#define PVR_BINSIZE_0
0-length (disables the list)
Definition pvr.h:976

Referenced by main().