From 9a447b02546ca8162b17c9e7913d7532a46ae38a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 1 Mar 2023 02:16:10 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=83=88=20=EB=A9=94=EC=9D=B8=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=97=90=20=ED=84=B4=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EA=B8=B0(wip)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/PageFront.vue | 5 ++++- hwe/ts/v_front.ts | 3 ++- hwe/v_front.php | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hwe/ts/PageFront.vue b/hwe/ts/PageFront.vue index e96b7711..9620d5c8 100644 --- a/hwe/ts/PageFront.vue +++ b/hwe/ts/PageFront.vue @@ -70,7 +70,9 @@ @city-click="onCityClick" /> -
예턴
+
+ +
@@ -163,6 +165,7 @@ import type { MapResult, NationStaticItem } from "./defs"; import { formatTime } from "./util/formatTime"; import { calcTournamentTerm } from "./utilGame"; import MapViewer, { type CityPositionMap, type MapCityParsed, type MapCityParsedRaw } from "./components/MapViewer.vue"; +import PartialReservedCommand from "./PartialReservedCommand.vue"; const { serverName, serverNick, serverID } = staticValues; diff --git a/hwe/ts/v_front.ts b/hwe/ts/v_front.ts index 26fff4d2..f8af9d4d 100644 --- a/hwe/ts/v_front.ts +++ b/hwe/ts/v_front.ts @@ -4,9 +4,10 @@ import { auto500px } from './util/auto500px'; import { htmlReady } from './util/htmlReady'; import { insertCustomCSS } from './util/customCSS'; import PageFront from './PageFront.vue'; +import Multiselect from 'vue-multiselect'; auto500px(); htmlReady(() => { insertCustomCSS(); }); -createApp(PageFront).use(BootstrapVue3).use(BToastPlugin).mount('#app'); +createApp(PageFront).use(BootstrapVue3).use(BToastPlugin).component('v-multiselect', Multiselect).mount('#app'); diff --git a/hwe/v_front.php b/hwe/v_front.php index af0578b4..3e8ad753 100644 --- a/hwe/v_front.php +++ b/hwe/v_front.php @@ -36,6 +36,10 @@ $mapName = GameConst::$mapName; 'serverID' => UniqueConst::$serverID, 'mapName' => GameConst::$mapName, 'unitSet' => GameConst::$unitSet, + + 'maxTurn' => GameConst::$maxTurn, + 'maxPushTurn' => 12, + 'serverNow' => TimeUtil::now(false), ] ], false) ?>