mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 16:38:33 +00:00
+20472
File diff suppressed because one or more lines are too long
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"name": "Asia",
|
||||
"width": 2000,
|
||||
"height": 1200,
|
||||
"nations": [
|
||||
{
|
||||
"coordinates": [165, 422],
|
||||
"name": "Russia",
|
||||
"strength": 3,
|
||||
"flag": "ru"
|
||||
},
|
||||
{
|
||||
"coordinates": [83, 612],
|
||||
"name": "Türkiye",
|
||||
"strength": 2,
|
||||
"flag": "tr"
|
||||
},
|
||||
{
|
||||
"coordinates": [278, 789],
|
||||
"name": "Saudi Arabia",
|
||||
"strength": 1,
|
||||
"flag": "sa"
|
||||
},
|
||||
{
|
||||
"coordinates": [238, 907],
|
||||
"name": "Yemen",
|
||||
"strength": 2,
|
||||
"flag": "ye"
|
||||
},
|
||||
{
|
||||
"coordinates": [126, 710],
|
||||
"name": "Jordan",
|
||||
"strength": 3,
|
||||
"flag": "jo"
|
||||
},
|
||||
{
|
||||
"coordinates": [239, 689],
|
||||
"name": "Iraq",
|
||||
"strength": 3,
|
||||
"flag": "iq"
|
||||
},
|
||||
{
|
||||
"coordinates": [327, 655],
|
||||
"name": "Iran",
|
||||
"strength": 3,
|
||||
"flag": "ir"
|
||||
},
|
||||
{
|
||||
"coordinates": [594, 675],
|
||||
"name": "Pakistan",
|
||||
"strength": 3,
|
||||
"flag": "pk"
|
||||
},
|
||||
{
|
||||
"coordinates": [654, 745],
|
||||
"name": "India",
|
||||
"strength": 2,
|
||||
"flag": "in"
|
||||
},
|
||||
{
|
||||
"coordinates": [830, 808],
|
||||
"name": "Bangladesh",
|
||||
"strength": 1,
|
||||
"flag": "bd"
|
||||
},
|
||||
{
|
||||
"coordinates": [909, 845],
|
||||
"name": "Myanmar",
|
||||
"strength": 3,
|
||||
"flag": "mm"
|
||||
},
|
||||
{
|
||||
"coordinates": [1035, 845],
|
||||
"name": "Vietnam",
|
||||
"strength": 2,
|
||||
"flag": "vn"
|
||||
},
|
||||
{
|
||||
"coordinates": [980, 1055],
|
||||
"name": "Malaysia",
|
||||
"strength": 1,
|
||||
"flag": "my"
|
||||
},
|
||||
{
|
||||
"coordinates": [1046, 1170],
|
||||
"name": "Indonesia",
|
||||
"strength": 1,
|
||||
"flag": "id"
|
||||
},
|
||||
{
|
||||
"coordinates": [1129, 909],
|
||||
"name": "Philippines",
|
||||
"strength": 2,
|
||||
"flag": "ph"
|
||||
},
|
||||
{
|
||||
"coordinates": [1237, 791],
|
||||
"name": "Taiwan",
|
||||
"strength": 2,
|
||||
"flag": "tw"
|
||||
},
|
||||
{
|
||||
"coordinates": [1166, 661],
|
||||
"name": "China",
|
||||
"strength": 2,
|
||||
"flag": "cn"
|
||||
},
|
||||
{
|
||||
"coordinates": [1314, 639],
|
||||
"name": "South Korea",
|
||||
"strength": 3,
|
||||
"flag": "kr"
|
||||
},
|
||||
{
|
||||
"coordinates": [1485, 659],
|
||||
"name": "Japan",
|
||||
"strength": 1,
|
||||
"flag": "jp"
|
||||
},
|
||||
{
|
||||
"coordinates": [591, 492],
|
||||
"name": "Kazakhstan",
|
||||
"strength": 2,
|
||||
"flag": "kz"
|
||||
},
|
||||
{
|
||||
"coordinates": [546, 629],
|
||||
"name": "Tajikistan",
|
||||
"strength": 3,
|
||||
"flag": "tj"
|
||||
},
|
||||
{
|
||||
"coordinates": [1053, 528],
|
||||
"name": "Mongolia",
|
||||
"strength": 1,
|
||||
"flag": "mn"
|
||||
},
|
||||
{
|
||||
"coordinates": [243, 1067],
|
||||
"name": "Somolia",
|
||||
"strength": 1,
|
||||
"flag": "so"
|
||||
},
|
||||
{
|
||||
"coordinates": [61, 733],
|
||||
"name": "Egypt",
|
||||
"strength": 3,
|
||||
"flag": "eg"
|
||||
},
|
||||
{
|
||||
"coordinates": [59, 490],
|
||||
"name": "Ukraine",
|
||||
"strength": 2,
|
||||
"flag": "ua"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 832 KiB |
File diff suppressed because one or more lines are too long
@@ -12,6 +12,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
|
||||
Oceania: "Oceania",
|
||||
BlackSea: "Black Sea",
|
||||
Africa: "Africa",
|
||||
Asia: "Asia",
|
||||
};
|
||||
|
||||
@customElement("map-display")
|
||||
|
||||
@@ -5,6 +5,7 @@ import mena from "../../../resources/maps/Mena.png";
|
||||
import northAmerica from "../../../resources/maps/NorthAmerica.png";
|
||||
import blackSea from "../../../resources/maps/BlackSea.png";
|
||||
import africa from "../../../resources/maps/Africa.png";
|
||||
import asia from "../../../resources/maps/Asia.png";
|
||||
|
||||
import { GameMapType } from "../../core/game/Game";
|
||||
|
||||
@@ -24,6 +25,8 @@ export function getMapsImage(map: GameMapType): string {
|
||||
return blackSea;
|
||||
case GameMapType.Africa:
|
||||
return africa;
|
||||
case GameMapType.Asia:
|
||||
return asia;
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ export enum GameMapType {
|
||||
Oceania = "Oceania",
|
||||
BlackSea = "Black Sea",
|
||||
Africa = "Africa",
|
||||
Asia = "Asia",
|
||||
}
|
||||
|
||||
export enum GameType {
|
||||
|
||||
@@ -31,6 +31,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
|
||||
[GameMapType.Oceania]: "Oceania",
|
||||
[GameMapType.BlackSea]: "BlackSea",
|
||||
[GameMapType.Africa]: "Africa",
|
||||
[GameMapType.Asia]: "Asia",
|
||||
};
|
||||
|
||||
class GameMapLoader {
|
||||
|
||||
Reference in New Issue
Block a user