- 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 |
||
|---|---|---|
| .. | ||
| build | ||
| combat | ||
| comms | ||
| config | ||
| dev | ||
| economy | ||
| entities | ||
| galaxy | ||
| mining | ||
| quests | ||
| reputation | ||
| research | ||
| save | ||
| scan | ||
| scenes | ||
| tether | ||
| ui | ||
| utils | ||
| vendor | ||
| vignettes | ||
| visuals | ||
| main.js | ||