mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-24 23:23:04 +00:00
add compact map option (#2095)
## Description: Create mini map option <img width="741" height="234" alt="Screenshot 2025-09-25 at 4 47 47 PM" src="https://github.com/user-attachments/assets/6c442698-8e3b-44d5-b07e-c4f0a916c3bc" /> ## 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: evan
This commit is contained in:
@@ -28,8 +28,8 @@ export class FetchGameMapLoader implements GameMapLoader {
|
||||
|
||||
const mapData = {
|
||||
mapBin: () => this.loadBinaryFromUrl(this.url(fileName, "map.bin")),
|
||||
miniMapBin: () =>
|
||||
this.loadBinaryFromUrl(this.url(fileName, "mini_map.bin")),
|
||||
map4xBin: () => this.loadBinaryFromUrl(this.url(fileName, "map4x.bin")),
|
||||
map16xBin: () => this.loadBinaryFromUrl(this.url(fileName, "map16x.bin")),
|
||||
manifest: () => this.loadJsonFromUrl(this.url(fileName, "manifest.json")),
|
||||
webpPath: async () => this.url(fileName, "thumbnail.webp"),
|
||||
} satisfies MapData;
|
||||
|
||||
Reference in New Issue
Block a user