generate mini map offline and load it from binary. this reduces loading time by 30-40%

This commit is contained in:
evanpelle
2024-12-25 11:27:36 -08:00
parent 933d32e2af
commit 111775a3f4
15 changed files with 611 additions and 304 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export const devConfig = new class extends DefaultConfig {
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
const oldCost = info.cost
// info.cost = (p: Player) => oldCost(p) / 10000
info.cost = (p: Player) => oldCost(p) / 10000
return info
}