Refactor Time System: Introduce TimeState struct and modularize RunClock

This commit is contained in:
scawful
2025-11-22 19:10:15 -05:00
parent 52a5ed4b02
commit 93bd42be8b
10 changed files with 665 additions and 655 deletions

View File

@@ -58,7 +58,7 @@ PlaytimeLabel:
Menu_DrawHourDigit:
{
SEP #$30
LDA.l $7EE000
LDA.l TimeState.Hours
ASL A : ASL A
TAX
REP #$30
@@ -71,7 +71,7 @@ Menu_DrawHourDigit:
Menu_DrawMinuteDigit:
{
SEP #$30
LDA.l $7EE001
LDA.l TimeState.Minutes
ASL A : ASL A
TAX
REP #$30