mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
weapons optimization
This commit is contained in:
+4
-4
@@ -152,7 +152,7 @@ LowResDistances ; coarse tank positions divided by 4 (to be in just one byte)
|
||||
;----------------------------------------------------
|
||||
TargetTankNr ; Target tank index (for AI routines)
|
||||
.DS 1
|
||||
SecondTryFlag ; For precize aiming AI
|
||||
SecondTryFlag ; For precise AI aiming
|
||||
.DS 1
|
||||
;----------------------------------------------------
|
||||
;Erase .DS 1 ; if 1 only mask of the character is printed
|
||||
@@ -273,9 +273,9 @@ temptankNr .DS 1
|
||||
; tables with indexes of weapons on the right lists
|
||||
; OK (2022) so, L1 is list of offensive weapons, L2 - defensive
|
||||
IndexesOfWeaponsL1
|
||||
.ds 8*5 ; max 40 offensive weapons. this is wrong, should be 48, still only 32 defined.
|
||||
.ds (last_offensive_____ - first_offensive____)
|
||||
IndexesOfWeaponsL2
|
||||
.ds 8*2 ; max 16 defensive weapons.
|
||||
.ds (last_defensive_____ - first_defensive____)
|
||||
;----------------------------------------------------
|
||||
|
||||
; variables storing amount of weapons on the first and second
|
||||
@@ -294,7 +294,7 @@ LastWeapon
|
||||
; and the cursor must be placed elsewhere
|
||||
.DS 1
|
||||
WhichList ; list currently on the screen
|
||||
; (0-offensive, 1-defensive)
|
||||
; (0-offensive, %10000000 - defensive (check with bit:bmi for defensives)
|
||||
.DS 1
|
||||
;OffsetDL1 .DS 1 ; offset of the list screen (how many lines)....
|
||||
|
||||
|
||||
Reference in New Issue
Block a user