Preventing compilation of unused procedures.

This commit is contained in:
Pecusx
2022-08-10 19:58:07 +02:00
parent 054c5df5d7
commit 1f576a0c49
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -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
View File
@@ -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
View File
Binary file not shown.