mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
Clear variables optimisation and better text screen init
This commit is contained in:
-15
@@ -925,8 +925,6 @@ deletePtr = temp
|
||||
jsr WeaponCleanup
|
||||
|
||||
|
||||
mva #TextBackgroundColor colpf2s
|
||||
mva #TextForegroundColor colpf3s
|
||||
mva #>WeaponFont chbas
|
||||
|
||||
;parameter for old plot (unPlot) max 5 points
|
||||
@@ -964,19 +962,6 @@ MakeTanksVisible
|
||||
dex
|
||||
bpl MakeTanksVisible
|
||||
|
||||
|
||||
ldx #0
|
||||
txa
|
||||
ClearResults
|
||||
sta ResultsTable,x
|
||||
sta DirectHitsL,x
|
||||
sta DirectHitsH,x
|
||||
sta EarnedMoneyL,x
|
||||
sta EarnedMoneyH,x
|
||||
inx
|
||||
cpx #MaxPlayers
|
||||
bne ClearResults
|
||||
|
||||
mva #1 CurrentRoundNr ;we start from round 1
|
||||
mva #6 NTSCcounter
|
||||
|
||||
|
||||
BIN
Binary file not shown.
+5
-1
@@ -22,7 +22,11 @@
|
||||
; ora #$02 ; normal screen width
|
||||
lda #%00110010 ; normal screen width, DL on, P/M off
|
||||
sta dmactls
|
||||
|
||||
jsr PMoutofScreen
|
||||
mva #TextBackgroundColor colpf2s
|
||||
mva #TextForegroundColor colpf3s
|
||||
mva #$ca colpf1s
|
||||
|
||||
VDLI DLIinterruptText.DLIinterruptNone ; jsr SetDLI for text screen without DLIs
|
||||
|
||||
mva #0 OptionsY
|
||||
|
||||
Reference in New Issue
Block a user