mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 13:29:48 +00:00
77 lines
1.2 KiB
C++
77 lines
1.2 KiB
C++
#include "screen.h"
|
|
|
|
|
|
EXPORT bool gScreenTarget;
|
|
|
|
|
|
EXPORT CVector gTargetRelated;
|
|
EXPORT u16 gTargetOne;
|
|
EXPORT u16 gTargetTwo;
|
|
|
|
EXPORT i32 gCircularFadeRelated;
|
|
EXPORT i32 gCircularFadeRelatedOne;
|
|
EXPORT i32 gCircularFadeRelatedTwo;
|
|
|
|
EXPORT u8 gCircularFadeRelatedThree;
|
|
EXPORT u8 gCircularFadeRelatedFour;
|
|
|
|
|
|
// @SMALLTODO
|
|
void Screen_DrawArrow(void)
|
|
{
|
|
printf("Screen_DrawArrow(void)");
|
|
}
|
|
|
|
// @MEDIUMTODO
|
|
void Screen_DrawTarget(void)
|
|
{
|
|
printf("Screen_DrawTarget(void)");
|
|
}
|
|
|
|
// @MEDIUMTODO
|
|
void Screen_SepiaFade(void)
|
|
{
|
|
printf("Screen_SepiaFade(void)");
|
|
}
|
|
|
|
// @Ok
|
|
void Screen_SetTarget(
|
|
CVector *a1,
|
|
u16 a2,
|
|
i16 a3)
|
|
{
|
|
gTargetRelated = *a1;
|
|
gTargetOne = a2;
|
|
gTargetTwo = a3;
|
|
}
|
|
|
|
// @Ok
|
|
void Screen_StartCircularFadeIn(i32,i32 a2)
|
|
{
|
|
gCircularFadeRelated = 32;
|
|
gCircularFadeRelatedOne = 0;
|
|
gCircularFadeRelatedTwo = a2 << 12;
|
|
|
|
gCircularFadeRelatedThree = 1;
|
|
gCircularFadeRelatedFour = 0;
|
|
}
|
|
|
|
// @SMALLTODO
|
|
void Screen_UpdateFades(void)
|
|
{
|
|
printf("Screen_UpdateFades(void)");
|
|
}
|
|
|
|
// @MEDIUMTODO
|
|
void screen_DrawCircularFade(void)
|
|
{
|
|
printf("screen_DrawCircularFade(void)");
|
|
}
|
|
|
|
// @NotOk
|
|
// Globals
|
|
void Screen_TargetOn(bool value)
|
|
{
|
|
gScreenTarget = value;
|
|
}
|