mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Statusbar display improvements - robo-tanks.
This commit is contained in:
+2
-2
@@ -405,9 +405,9 @@ RoboTanks
|
||||
; robotanks shoot here
|
||||
jsr ArtificialIntelligence
|
||||
jsr PutTankNameOnScreen
|
||||
jsr DisplayStatus
|
||||
ldx TankNr
|
||||
jsr MoveBarrelToNewPosition
|
||||
;jsr DisplayStatus ;all digital values like force, angle, wind, etc. (but it is done in MoveBarrelToNewPosition proc)
|
||||
lda kbcode
|
||||
cmp #28 ; ESC
|
||||
bne @+
|
||||
@@ -1147,7 +1147,7 @@ LimitForce
|
||||
.proc MoveBarrelToNewPosition
|
||||
jsr DrawTankNr
|
||||
ldx TankNr
|
||||
jsr DisplayStatus
|
||||
jsr DisplayStatus.displayAngle
|
||||
ldx TankNr
|
||||
lda NewAngle
|
||||
cmp AngleTable,x
|
||||
|
||||
Reference in New Issue
Block a user