mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
run clang format (#448)
* add linux clang format script * first shot at powershell * whoops * webrequest is slow, try webclient * just get the one file * simplify and maybe make it work? * whoops again * try a different suggestion * why is it always windows * again * try again * bit of path stuff * chmod +x * add action to check * fix workflow name * run clang format
This commit is contained in:
@@ -14,7 +14,6 @@ extern PlayState* gPlayState;
|
||||
|
||||
void RegisterTextBasedClock() {
|
||||
REGISTER_VB_SHOULD(GI_VB_PREVENT_CLOCK_DISPLAY, {
|
||||
|
||||
if (CVarGetInteger("gEnhancements.Graphics.ClockType", CLOCK_TYPE_ORIGINAL) == CLOCK_TYPE_TEXT_BASED) {
|
||||
*should = true;
|
||||
|
||||
@@ -29,11 +28,13 @@ void RegisterTextBasedClock() {
|
||||
(gPlayState->msgCtx.msgMode == MSGMODE_NONE) ||
|
||||
((gPlayState->msgCtx.currentTextId >= 0x100) && (gPlayState->msgCtx.currentTextId <= 0x200)) ||
|
||||
(gSaveContext.gameMode == GAMEMODE_END_CREDITS)) &&
|
||||
!FrameAdvance_IsEnabled(&gPlayState->state) && !Environment_IsTimeStopped() && (gSaveContext.save.day <= 3)) {
|
||||
!FrameAdvance_IsEnabled(&gPlayState->state) && !Environment_IsTimeStopped() &&
|
||||
(gSaveContext.save.day <= 3)) {
|
||||
|
||||
OPEN_DISPS(gPlayState->state.gfxCtx);
|
||||
|
||||
if ((gPlayState->pauseCtx.state == PAUSE_STATE_OFF) && (gPlayState->pauseCtx.debugEditor == DEBUG_EDITOR_NONE)) {
|
||||
if ((gPlayState->pauseCtx.state == PAUSE_STATE_OFF) &&
|
||||
(gPlayState->pauseCtx.debugEditor == DEBUG_EDITOR_NONE)) {
|
||||
Gfx_SetupDL39_Overlay(gPlayState->state.gfxCtx);
|
||||
|
||||
u16 curMinutes = (s32)TIME_TO_MINUTES_F(gSaveContext.save.time) % 60;
|
||||
|
||||
Reference in New Issue
Block a user