mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Preventing compilation of unused procedures.
This commit is contained in:
@@ -488,7 +488,7 @@ skipThisPlayer
|
|||||||
.endp
|
.endp
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
.proc FindBestTarget2
|
.proc FindBestTarget2
|
||||||
; find farthest tank neighbour
|
; find nearest tank neighbour
|
||||||
; X - shooting tank number
|
; X - shooting tank number
|
||||||
; returns target tank number in Y and
|
; returns target tank number in Y and
|
||||||
; direcion of shoot in A (0 - left, >0 - right)
|
; direcion of shoot in A (0 - left, >0 - right)
|
||||||
@@ -542,6 +542,7 @@ skipThisPlayer
|
|||||||
lda tempor2
|
lda tempor2
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
/*
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
.proc FindBestTarget1
|
.proc FindBestTarget1
|
||||||
; find farthest tank neighbour
|
; find farthest tank neighbour
|
||||||
@@ -598,6 +599,7 @@ skipThisPlayer
|
|||||||
lda tempor2
|
lda tempor2
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
*/
|
||||||
;----------------------------------------------
|
;----------------------------------------------
|
||||||
.proc TakeAim
|
.proc TakeAim
|
||||||
; targeting the tank number TargetTankNr (and Y)
|
; targeting the tank number TargetTankNr (and Y)
|
||||||
|
|||||||
+2
-2
@@ -1431,7 +1431,7 @@ EndDrawing
|
|||||||
|
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
; ****************************************************
|
/*
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
.proc calculatemountains0
|
.proc calculatemountains0
|
||||||
; Only for testing - makes ground flat (0 pixels)
|
; Only for testing - makes ground flat (0 pixels)
|
||||||
@@ -1456,7 +1456,7 @@ SetYofNextTank
|
|||||||
bpl SetYofNextTank
|
bpl SetYofNextTank
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
; ****************************************************
|
*/
|
||||||
|
|
||||||
; -----------------------------------------
|
; -----------------------------------------
|
||||||
.proc unPlot
|
.proc unPlot
|
||||||
|
|||||||
BIN
Binary file not shown.
Reference in New Issue
Block a user