26 short* unk_first_gfx_ptr;
31 if (unk_first_gfx_ptr != 0x0) {
32 *unk_first_gfx_ptr = (short)primitive;
33 *(
char *)(unk_first_gfx_ptr + 1) = (char)((
uint)primitive >> 0x10);
36 local_gfx_ptrs[1] = (
int*)primitive;
57 if ((timer % 32) < 16)
66 if (leftOrRightArrow < 2) {
94void DrawTextbox(
int xBound1,
int xBound2,
int yBound1,
int yBound2)
100 ptr_prim->
tag = 0x5000000;
117 DrawLine(xBound1,yBound1,xBound2,yBound1);
118 DrawLine(xBound2,yBound1,xBound2,yBound2);
119 DrawLine(xBound2,yBound2,xBound1,yBound2);
120 DrawLine(xBound1,yBound2,xBound1,yBound1);
void PrimitiveAlphaHack(void *param_1, int param_2, int param_3, short colorSpace, int param_5)
This is a weird hack that seems to be related to transparency for primitaves? Address: 0x80060670.
void DrawLine(int point1X, int point1Y, int point2X, int point2Y)
Draws a golden line to the screen Address: 0x8001844c.
int * _ptr_primitivesArray
int * _ptr_arrayGraphicsRelatedPointers
void memset(void *str, int c, int n)
void DrawArrow(HudMobyInfo *hudMobyInfo, uint timer, int leftOrRightArrow)
Draws a blinking arrow facing left or right.
void DrawTextbox(int xBound1, int xBound2, int yBound1, int yBound2)
Draws a black textbox with a gold border. You can specify the bounds.
void DrawPrimitive(void *primitive)
Draws a ps1 primitive to the screen.
void Vec3Copy(int *dst, int *src)
Copies the 'src' Vector to the 'dst' Vector.
This is the main moby/object struct.
struct Vec2_u16 point4Pos
struct Vec2_u16 point1Pos
struct Vec2_u16 point3Pos
struct Vec2_u16 point2Pos