mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
stick input print
Some checks are pending
Some checks are pending
This commit is contained in:
parent
6f48acd76c
commit
31f3c231e0
@ -92,10 +92,10 @@ void Display_DrawHelpAlert(void) {
|
||||
switch (centered) {
|
||||
case false:
|
||||
if (gTeamHelpActor->sfxSource[0] > 0.0f) {
|
||||
sp78 = 20.0f * OTRGetAspectRatio()-8;
|
||||
sp78 = 20.0f * OTRGetAspectRatio() - 8;
|
||||
sp74 = M_PI / 2;
|
||||
} else {
|
||||
sp78 = -20.0f * OTRGetAspectRatio()+8;
|
||||
sp78 = -20.0f * OTRGetAspectRatio() + 8;
|
||||
sp74 = -M_PI / 2;
|
||||
}
|
||||
Matrix_Push(&gGfxMatrix);
|
||||
@ -156,7 +156,7 @@ void Display_DrawHelpAlert(void) {
|
||||
case true:
|
||||
RCP_SetupDL(&gMasterDisp, SETUPDL_76_POINT);
|
||||
gDPSetPrimColor(gMasterDisp++, 0x00, 0x00, 255, 255, 0, 255);
|
||||
Graphics_DisplaySmallText(OTRGetRectDimensionFromLeftEdge(38.0f) , 106, 1.0f, 1.0f, "HELP!!");
|
||||
Graphics_DisplaySmallText(OTRGetRectDimensionFromLeftEdge(38.0f), 106, 1.0f, 1.0f, "HELP!!");
|
||||
Graphics_DisplaySmallText(OTRGetRectDimensionFromRightEdge(248), 106, 1.0f, 1.0f, "HELP!!");
|
||||
break;
|
||||
}
|
||||
@ -2015,6 +2015,17 @@ void Display_Update(void) {
|
||||
sPlayersVisible[gPlayerNum] = false;
|
||||
Matrix_Pop(&gGfxMatrix);
|
||||
|
||||
#if 0
|
||||
RCP_SetupDL(&gMasterDisp, SETUPDL_83);
|
||||
gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 0, 255);
|
||||
Graphics_DisplaySmallText(10, 210, 1.0f, 1.0f, "STICK_X:");
|
||||
Graphics_DisplaySmallNumber(60, 210, (int) ABS(gInputPress->stick_x));
|
||||
Graphics_DisplaySmallText(10, 220, 1.0f, 1.0f, "STICK_Y:");
|
||||
Graphics_DisplaySmallNumber(60, 220, (int) ABS(gInputPress->stick_y));
|
||||
if (gInputPress->stick_x < 0) Graphics_DisplaySmallText(110, 210, 1.0f, 1.0f, "NEG:");
|
||||
if (gInputPress->stick_y < 0) Graphics_DisplaySmallText(110, 220, 1.0f, 1.0f, "NEG:");
|
||||
#endif
|
||||
|
||||
// @port: @event: Call DisplayPostUpdateEvent
|
||||
CALL_EVENT(DisplayPostUpdateEvent);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user