Skip to content

Refactor province buildings#696

Open
wvpm wants to merge 1 commit intomasterfrom
refactor_province_buildings
Open

Refactor province buildings#696
wvpm wants to merge 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
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.

1 participant