|
|
|
@ -43,6 +43,8 @@ u_long *curOT; |
|
|
|
// Scale X coordinates to correct the aspect ratio for the chosen resolution |
|
|
|
VECTOR aspect_scale = { SCREENWIDTH * ONE / 320, ONE, ONE }; |
|
|
|
|
|
|
|
u_short polyCount; |
|
|
|
|
|
|
|
void display_init() |
|
|
|
{ |
|
|
|
// This not only resets the GPU but it also installs the library's |
|
|
|
@ -146,6 +148,7 @@ void display_start() |
|
|
|
ClearOTagR(curOT, OTLEN); |
|
|
|
|
|
|
|
mem_prim_reset(db); |
|
|
|
polyCount = 0; |
|
|
|
|
|
|
|
gte_SetBackColor(48, 48, 48); // Ambient light color |
|
|
|
gte_SetColorMatrix(&light_cols); // Light color (up to three different lights) |
|
|
|
|