mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
angle 0 elliminated
This commit is contained in:
@@ -55,15 +55,15 @@ With the advent of [fujinet](https://fujinet.online/) we are thinking about maki
|
||||
2022-11-07
|
||||
|
||||
Possibly the final single-player version of the game, unless our dear players find another breaking issue!
|
||||
* 5200 keypad works as it should. You can now press these finicky foils to your hearth's desire.
|
||||
* 5200 keypad works as it should. You can now press these finicky foils to your heart's desire.
|
||||
* "Unknown" type Robotanks were attacking with Nuclear Winter every time. Fixed!
|
||||
* One of variables was declared as a byte but used as a word which might cause some rare instabilities.
|
||||
* One of the variables was declared as a byte but used as a word that might cause some rare instabilities.
|
||||
* Page zero variables are cleared prior to the game start to eliminate rare issues in some software/hardware configurations.
|
||||
* The new version of music in NTSC eliminates issues with tempo (not that anyone but the artist noticed that, but still it is an improvement!)
|
||||
* You can now wrap around inventory and shop to faster access these options far down below.
|
||||
* Visual improvement of the main menu and fixed some color issues with the title headers.
|
||||
* Hovercraft was always flying to the top of the screen, it was not intended, it is now hovering just above the mountains!
|
||||
* The main menu does not blink now when changing options. This was a very minor thing but it bothered me to some extend. Fixing it required a complete rewrite of this portion of the menu.
|
||||
* The main menu does not blink now when changing options. This was a very minor thing but it bothered me to some extent. Fixing it required a complete rewrite of this portion of the menu.
|
||||
|
||||
|
||||
###### Version 1.17
|
||||
|
||||
+32
-18
@@ -2109,10 +2109,23 @@ YangleUnder90
|
||||
sta vy
|
||||
|
||||
lda #0 ; all arithmetic to zero
|
||||
sta vx+1
|
||||
sta vy+1
|
||||
sta fx
|
||||
sta fy
|
||||
sta vx+1
|
||||
sta vy+1
|
||||
|
||||
;; add 0.5 to vx and vy for better rounding
|
||||
;clc
|
||||
;lda vx
|
||||
;adc #128 ; 1/2
|
||||
;sta vx
|
||||
;scc:inc vx+1
|
||||
;
|
||||
;clc
|
||||
;lda vy
|
||||
;adc #128 ; 1/2
|
||||
;sta vy
|
||||
;scc:inc vy+1
|
||||
|
||||
; draw by vx vy
|
||||
; in each step
|
||||
@@ -2124,42 +2137,43 @@ YangleUnder90
|
||||
barrelLoop
|
||||
|
||||
lda goleft
|
||||
bne @+
|
||||
bne goright
|
||||
clc
|
||||
lda fx
|
||||
adc vx
|
||||
sta fx
|
||||
bcc @+
|
||||
lda xdraw
|
||||
adc #0
|
||||
adc vx+1
|
||||
sta xdraw
|
||||
lda xdraw+1
|
||||
adc #0
|
||||
sta xdraw+1
|
||||
jmp ybarrel
|
||||
bcc @+
|
||||
inc xdraw+1
|
||||
@
|
||||
jmp ybarrel
|
||||
goright
|
||||
sec
|
||||
lda fx
|
||||
sbc vx
|
||||
sta fx
|
||||
bcs @+
|
||||
lda xdraw
|
||||
sbc #0
|
||||
sbc vx+1
|
||||
sta xdraw
|
||||
lda xdraw+1
|
||||
sbc #0
|
||||
sta xdraw+1
|
||||
|
||||
bne @+
|
||||
dec xdraw+1
|
||||
@
|
||||
ybarrel
|
||||
sec
|
||||
lda fy
|
||||
sbc vy
|
||||
sta fy
|
||||
bcs @+
|
||||
lda ydraw
|
||||
sbc #0
|
||||
sbc vy+1
|
||||
sta ydraw
|
||||
lda ydraw+1
|
||||
sbc #0
|
||||
sta ydraw+1
|
||||
|
||||
bcs @+
|
||||
dec ydraw+1
|
||||
@
|
||||
jsr plot ;.MakePlot
|
||||
|
||||
dec yc
|
||||
|
||||
BIN
Binary file not shown.
+2
-3
@@ -1305,9 +1305,8 @@ pressedRight
|
||||
mva #sfx_set_power_2 sfx_effect
|
||||
mva #1 Erase
|
||||
jsr DrawTankNr.BarrelChange
|
||||
dec AngleTable,x
|
||||
lda AngleTable,x
|
||||
cmp #255 ; -1
|
||||
dec:lda AngleTable,x
|
||||
cmp #0
|
||||
jne BeforeFire
|
||||
lda #179
|
||||
sta AngleTable,x
|
||||
|
||||
Reference in New Issue
Block a user