Skip to content

Conversation

@Duwibi
Copy link
Contributor

@Duwibi Duwibi commented Dec 18, 2025

Description:

This PR fixes some small pixel errors on Pangaea and Britannia

Please complete the following:

  • I have added screenshots for all UI updates
  • I process any text displayed to the user through translateText() and I've added it to the en.json file
  • I have added relevant tests to the test directory
  • I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced

Please put your Discord username so you can be contacted if a bug or regression is found:

DISCORD_USERNAME
Nikola123

@Duwibi Duwibi requested a review from a team as a code owner December 18, 2025 21:05
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 18, 2025

Walkthrough

Two map manifest files receive numeric corrections to land tile counts. The Britannia map tile counts decreased across multiple scales, and Pangaea's primary map tile count decreased by one, reflecting data accuracy adjustments with no structural changes.

Changes

Cohort / File(s) Summary
Map manifest tile count corrections
resources/maps/britannia/manifest.json, resources/maps/pangaea/manifest.json
Updated num_land_tiles values: Britannia map decreased from 933706 to 933571; map16x from 55009 to 54975; map4x from 228914 to 228849. Pangaea map decreased from 420336 to 420335. All other manifest fields unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • Verify numeric corrections align with actual map tile data
  • Confirm no other manifest fields were inadvertently modified

Possibly related PRs

Suggested labels

Feature - Map

Suggested reviewers

  • evanpelle
  • scottanderson

Poem

🗺️ The tiles align, the counts ring true,
Britannia's math now shines anew—
Numbers dance in perfect rows,
Where every map's precision grows. ✨

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing map data for two specific maps (Britannia and Pangaea).
Description check ✅ Passed The description is related to the changeset, explaining that it fixes small pixel errors on the Pangaea and Britannia maps, which aligns with the numeric corrections in the manifest files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e55b792 and d975693.

⛔ Files ignored due to path filters (8)
  • map-generator/assets/maps/britannia/image.png is excluded by !**/*.png
  • map-generator/assets/maps/pangaea/PangaeaThumb.png is excluded by !**/*.png
  • map-generator/assets/maps/pangaea/image.png is excluded by !**/*.png
  • resources/maps/britannia/map.bin is excluded by !**/*.bin
  • resources/maps/britannia/map16x.bin is excluded by !**/*.bin
  • resources/maps/britannia/map4x.bin is excluded by !**/*.bin
  • resources/maps/pangaea/map.bin is excluded by !**/*.bin
  • resources/maps/pangaea/map4x.bin is excluded by !**/*.bin
📒 Files selected for processing (2)
  • resources/maps/britannia/manifest.json (1 hunks)
  • resources/maps/pangaea/manifest.json (1 hunks)
🔇 Additional comments (2)
resources/maps/pangaea/manifest.json (1)

4-4: Verify the land tile count correction is complete and consistent across scales.

The Pangaea main map num_land_tiles decreased by 1 (420336 → 420335), but the downsampled scales (map16x and map4x) remain unchanged. Confirm this is intentional—if a pixel was removed from the primary map, the derived scales may need adjustment depending on the pixel location and downsampling algorithm.

resources/maps/britannia/manifest.json (1)

4-4: Confirm numeric corrections are validated by tests.

The Britannia manifest shows consistent proportional decreases across all three resolution tiers (main map -135 tiles, map4x -65, map16x -34). While the scale ratios remain consistent, the PR description and checklist indicate incomplete testing. Ensure that:

  1. Tests exist to validate these num_land_tiles counts match the actual map data
  2. The pixel-level corrections have been verified against the updated map files
  3. The changes are reproducible and documented

The PR checklist shows unchecked items for tests and manual verification—please confirm these have been completed before merge.

Also applies to: 9-9, 14-14


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Duwibi Duwibi added this to the v28 milestone Dec 18, 2025
@evanpelle evanpelle modified the milestones: v28, v29 Dec 19, 2025
@evanpelle evanpelle merged commit f60aef6 into openfrontio:main Dec 19, 2025
18 of 26 checks passed
evanpelle pushed a commit that referenced this pull request Dec 22, 2025
## Description:
This PR fixes some small pixel errors on Pangaea and Britannia

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

DISCORD_USERNAME
Nikola123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants