Skip to content

Comments

Refactor province buildings#696

Merged
wvpm merged 1 commit intomasterfrom
refactor_province_buildings
Feb 14, 2026
Merged

Refactor province buildings#696
wvpm merged 1 commit intomasterfrom
refactor_province_buildings

Conversation

@wvpm
Copy link
Contributor

@wvpm wvpm commented Feb 13, 2026

Use typed indices to simplify the code.

Use infrastructure building type for infrastructure map mode instead of relying on building name "railroad".
I confirmed Victoria 2 works this way by swapping the types of fort and railroad.

Also adds hashing support to TypedIndices.

@wvpm wvpm force-pushed the refactor_province_buildings branch 2 times, most recently from 07b5473 to e5f8c81 Compare February 14, 2026 11:56
@wvpm wvpm marked this pull request as ready for review February 14, 2026 11:56
@wvpm wvpm force-pushed the refactor_province_buildings branch from e5f8c81 to c9a437f Compare February 14, 2026 11:59
@wvpm wvpm enabled auto-merge February 14, 2026 12:55
@wvpm wvpm force-pushed the refactor_province_buildings branch from 6d97d9b to e49fd41 Compare February 14, 2026 15:46
@wvpm wvpm force-pushed the refactor_province_buildings branch from d637c96 to b1b8bf8 Compare February 14, 2026 15:47
@wvpm wvpm merged commit 14e8fa1 into master Feb 14, 2026
16 checks passed
@Spartan322 Spartan322 deleted the refactor_province_buildings branch February 14, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants