mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 21:34:20 +02:00
Different shape of Heavy Shield
This commit is contained in:
+28
-10
@@ -684,11 +684,11 @@ NoPlayerMissile
|
|||||||
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
|
; in xdraw, ydraw we have coordinates left LOWER corner of Tank char
|
||||||
lda ActiveDefenceWeapon,x
|
lda ActiveDefenceWeapon,x
|
||||||
cmp #ind_Shield_________ ; one shot shield
|
cmp #ind_Shield_________ ; one shot shield
|
||||||
beq ShieldDraw
|
beq DrawTankShield
|
||||||
cmp #ind_Force_Shield___ ; shield with energy and parachute
|
cmp #ind_Force_Shield___ ; shield with energy and parachute
|
||||||
beq ShieldDraw
|
beq DrawTankShield
|
||||||
cmp #ind_Heavy_Shield___ ; shield with energy
|
cmp #ind_Heavy_Shield___ ; shield with energy
|
||||||
beq ShieldDraw
|
beq DrawTankShieldBold
|
||||||
cmp #ind_Auto_Defense___ ; Auto Defence
|
cmp #ind_Auto_Defense___ ; Auto Defence
|
||||||
beq DrawTankShieldWihHorns
|
beq DrawTankShieldWihHorns
|
||||||
cmp #ind_Mag_Deflector__ ; Mag Deflector
|
cmp #ind_Mag_Deflector__ ; Mag Deflector
|
||||||
@@ -696,15 +696,14 @@ NoPlayerMissile
|
|||||||
cmp #ind_White_Flag_____ ; White Flag
|
cmp #ind_White_Flag_____ ; White Flag
|
||||||
beq DrawTankFlag
|
beq DrawTankFlag
|
||||||
bne NoShieldDraw
|
bne NoShieldDraw
|
||||||
ShieldDraw
|
DrawTankShield
|
||||||
jsr DrawTankShield.DrawInPosition
|
jmp DrawTankShield.DrawInPosition
|
||||||
NoShieldDraw
|
|
||||||
DoNotDrawTankNr
|
|
||||||
rts
|
|
||||||
DrawTankShieldWihHorns
|
DrawTankShieldWihHorns
|
||||||
jsr DrawTankShield.DrawInPosition
|
jsr DrawTankShield.DrawInPosition
|
||||||
jsr DrawTankShieldHorns
|
jmp DrawTankShieldHorns
|
||||||
rts
|
DrawTankShieldBold
|
||||||
|
jsr DrawTankShield.DrawInPosition
|
||||||
|
jmp DrawTankShieldBoldLine
|
||||||
DrawTankFlag
|
DrawTankFlag
|
||||||
lda #$5E ; flag symbol
|
lda #$5E ; flag symbol
|
||||||
sta CharCode
|
sta CharCode
|
||||||
@@ -717,6 +716,8 @@ DrawTankFlag
|
|||||||
lda XtanksTableH,x
|
lda XtanksTableH,x
|
||||||
sta xdraw+1
|
sta xdraw+1
|
||||||
jsr TypeChar
|
jsr TypeChar
|
||||||
|
NoShieldDraw
|
||||||
|
DoNotDrawTankNr
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
|
||||||
@@ -823,6 +824,23 @@ ShieldVisible
|
|||||||
jsr plot
|
jsr plot
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
;--------------------------------------------------
|
||||||
|
.proc DrawTankShieldBoldLine
|
||||||
|
; use only directly after DrawTankShield
|
||||||
|
; this proc draws bold top on shield.
|
||||||
|
; Symbol of ablative shield ? :)
|
||||||
|
;--------------------------------------------------
|
||||||
|
sbw xdraw #$04 ; 5 pixels left
|
||||||
|
sbw ydraw #$0a ; 10 pixels up
|
||||||
|
; draw additional top horizontal line of shield ( _ )
|
||||||
|
mva #6 temp
|
||||||
|
@
|
||||||
|
jsr plot
|
||||||
|
.nowarn dew xdraw
|
||||||
|
dec temp
|
||||||
|
bne @-
|
||||||
|
rts
|
||||||
|
.endp
|
||||||
|
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc drawmountains
|
.proc drawmountains
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user