orbit/data
Brian Fertig 5890e93cde Enforce on-screen rule for combat engagement and hits
- Add inView() pure geometry helper to test if a craft's visual circle is at least partly within the camera's visible rect
- Gate enemy fire, auto-fire target selection, currentTarget lock, and bullet collision checks behind craftVisible() so off-screen hostiles hold lances, can't be engaged, and are immune to tracers until they fly into view
- Extend pickTarget() with an optional qualifies predicate to narrow the candidate pool (used for the on-screen rule)
- Document the rule in data/combat.json and CombatSystem class comments
2026-09-17 18:12:58 -06:00
..
research
…
actionbar.json
…
asteroids.json
…
builds.json
…
combat.json Enforce on-screen rule for combat engagement and hits 2026-09-17 18:12:58 -06:00
comms.json Add combat comms, block jump/landing during fights, and retime pirate am 2026-09-17 17:18:53 -06:00
creditshud.json
…
economy.json
…
factions.json
…
galaxy.json
…
game.json
…
gates.json Add combat comms, block jump/landing during fights, and retime pirate am 2026-09-17 17:18:53 -06:00
goods.json
…
landing.json Add combat comms, block jump/landing during fights, and retime pirate am 2026-09-17 17:18:53 -06:00
manifest.json
…
map.json
…
menu.json
…
mineralhud.json
…
music.json
…
naming.json
…
planets.json
…
quests.json Add combat comms, block jump/landing during fights, and retime pirate am 2026-09-17 17:18:53 -06:00
reputation.json
…
research.json
…
save.json
…
scan.json
…
settlements.json
…
sfx.json
…
ship.json
…
shopui.json
…
signalCompass.json
…
stations.json
…
systems.json
…
tether.json
…
theme.json
…
vignettes.json
…