Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other Tweaks #4765

Merged
merged 138 commits into from
Apr 10, 2024
Merged

Other Tweaks #4765

merged 138 commits into from
Apr 10, 2024

Conversation

geoffthemedio
Copy link
Member

...

@geoffthemedio geoffthemedio added component:internal The Issue/PR deals with any project component that has no explicit `component` label. category:tweak The PR contains insignificant code changes, like code style grooming or value tweaking. labels Oct 14, 2023
@geoffthemedio geoffthemedio force-pushed the scratch3 branch 16 times, most recently from 2df39a2 to 7e33ce1 Compare October 28, 2023 06:37
-treat fields as always visible on map when there is no client empire
-don't attempt to look up ALL_EMPIRES as an empire ID
…Strengths since it also provides monster info

-const
-grooming
…kades function

-move extracting blockading ships for empires into a separate GetBlockadingFleetsForEmpires function
-rename ServerApp::m_empire_vis_overrides to m_empire_fleet_combat_initiation_vis_overrides
-noexcept
-adjust logging formatting and add more debug logging for combat condition determination
-rename [Set/Apply]EmpireObjectVisibilityOverrides to [Set/Apply]ObjectVisibilityOverrides
-rename GetEmpiresPositionDetectionRanges to GetEmpiresAndNeutralPositionDetectionRanges
-pass ScriptingContext instead of just EmpireManager to ApplyEffectDerivedVisibilities and UpdateEmpireObjectVisibilities,
-pass raw pointers instead of shared_ptr
-const / grooming
-rename m_empire_object_visibility_overrides to m_fleet_blockade_ship_visibility_overrides
-rework CheckObjects with auto instead of explicit template parameter
-remove unneded empire_id parameter to GetEmpiresDetectionStrengths and GetEmpiresPositionsPotentiallyDetectableObjects
-set neutral travelled starlane endpoints as visible to neutrals (as for empires)
…stem

-log empires with any fleets present, along with those with armed aggressive/obstructive
…mbatInfo

-simplify combat visibility initialization code
-safety check
-tweak index / offset type
-log stacktrace if a current value variant has the wrong type
@geoffthemedio geoffthemedio merged commit 17cca5c into master Apr 10, 2024
15 of 16 checks passed
@geoffthemedio geoffthemedio deleted the scratch3 branch April 10, 2024 16:58
@geoffthemedio geoffthemedio added the status:merged All relevant commits of this PR were merged into the master development branch. label Apr 10, 2024
@Vezzra Vezzra added this to the v0.5.1 milestone Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:tweak The PR contains insignificant code changes, like code style grooming or value tweaking. component:internal The Issue/PR deals with any project component that has no explicit `component` label. status:merged All relevant commits of this PR were merged into the master development branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants