mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Replace Hostility proto with Scala Hostility enum (#5438)
* Replace Hostility proto with Scala Hostility enum This removes direct proto imports from library/ for the Hostility type: - FactionUtils.hostilityStatus now returns Scala Hostility - ArmyStats.hostility now uses Scala Hostility type - AvailableAttackDecisionCommandFactory no longer imports proto - AvailableFreeForAllDecisionCommandFactory no longer imports proto - AttackDecisionCommandChooser uses Hostility.Enemy instead of proto - BattleFilter no longer needs protoToScalaHostility converter - AvailableCommandConverter uses HostilityConverter.toProto This completes Phase 8b of the deproto migration, reducing direct proto imports in library/ from 8 files to 4 (LLM prompt generators). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix AvailableCommandConverterTest to use Scala Hostility enum Update test to use net.eagle0.eagle.model.state.Hostility.Self instead of proto net.eagle0.common.hostility.Hostility.SELF_HOSTILITY. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# BUILD dependency baseline - updated Sun Jan 18 15:45:56 PST 2026
|
||||
# BUILD dependency baseline - updated Sun Jan 18 16:17:22 PST 2026
|
||||
# Do not increase these numbers - only decrease!
|
||||
library_proto_deps=167
|
||||
|
||||
Reference in New Issue
Block a user