-
Notifications
You must be signed in to change notification settings - Fork 485
Move Map Generator into OpenFrontIO repo #1829
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
Conversation
Warning Rate limit exceeded@evanpelle has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 43 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (38)
📒 Files selected for processing (47)
WalkthroughAdds a Go-based map generator and CLI to produce map binaries, mini-maps, thumbnails, and manifests from assets. Introduces many new map data files, test maps, and a license/README. Updates package.json with a script. Adjusts several existing manifests (adds/removes/edits entries) and removes two legacy map manifests. Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as CLI (go run .)
participant Main as main.go
participant Loader as loadTerrainMaps
participant Worker as processMap
participant Gen as GenerateMap
participant FS as Filesystem
CLI->>Main: Start
Main->>Loader: loadTerrainMaps(maps)
loop for each map (goroutines)
Loader->>Worker: processMap(name, isTest)
Worker->>FS: Read assets/.../image.png, info.json
Worker->>Gen: GenerateMap(args)
Gen-->>Worker: MapResult (map, mini, thumbnail, counts, sizes)
Worker->>FS: Write map.bin, mini_map.bin, thumbnail.webp
Worker->>FS: Write manifest.json (with map/mini_map metadata)
end
Loader-->>Main: Done or error
Main-->>CLI: Print success or fatal error
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
ebd2ea5
to
2471660
Compare
2471660
to
31f306c
Compare
31f306c
to
64008a5
Compare
|
Description:
Describe the PR.
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
DISCORD_USERNAME