mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
angle 0 is great again
This commit is contained in:
+1
-1
@@ -2111,7 +2111,7 @@ YangleUnder90
|
||||
lda #0 ; all arithmetic to zero
|
||||
sta vx+1
|
||||
sta vy+1
|
||||
; lda #128 ; ; add 0.5 to fx and fy (not vx and vx) for better rounding - it's my opinion (Pecus)
|
||||
lda #128 ; ; add 0.5 to fx and fy (not vx and vx) for better rounding - it's my opinion (Pecus)
|
||||
sta fx
|
||||
sta fy
|
||||
|
||||
|
||||
BIN
Binary file not shown.
+3
-3
@@ -1310,9 +1310,9 @@ pressedRight
|
||||
mva #1 Erase
|
||||
jsr DrawTankNr.BarrelChange
|
||||
dec:lda AngleTable,x
|
||||
cmp #0
|
||||
cmp #255 ; -1
|
||||
jne BeforeFire
|
||||
lda #179
|
||||
lda #180
|
||||
sta AngleTable,x
|
||||
jmp BeforeFire
|
||||
|
||||
@@ -1327,7 +1327,7 @@ CTRLPressedRight
|
||||
sta AngleTable,x
|
||||
cmp #4 ; smallest angle for speed rotating
|
||||
jcs BeforeFire
|
||||
lda #179
|
||||
lda #180
|
||||
sta AngleTable,x
|
||||
jmp BeforeFire
|
||||
|
||||
|
||||
Reference in New Issue
Block a user