From a856fe190507f0af1c1d21340ed0a738bde830c7 Mon Sep 17 00:00:00 2001 From: bbaa Date: Thu, 16 Apr 2020 16:20:47 +0800 Subject: [PATCH] V2.2 --- Setting.env | 3 +++ game1_dev.bat | 16 ++++++++++------ var/.gitkeep | 0 ...\210\346\234\254\350\256\260\345\275\225.txt" | 1 + .../AI\346\265\213\350\257\2254GIF/Players.csv" | 4 ++++ .../AI\346\265\213\350\257\2254GIF/main.map" | 10 ++++++++++ 6 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 Setting.env delete mode 100644 var/.gitkeep create mode 100644 "\350\207\252\345\256\232\345\205\263\345\215\241/AI\346\265\213\350\257\2254GIF/Players.csv" create mode 100644 "\350\207\252\345\256\232\345\205\263\345\215\241/AI\346\265\213\350\257\2254GIF/main.map" diff --git a/Setting.env b/Setting.env new file mode 100644 index 0000000..0b4fda2 --- /dev/null +++ b/Setting.env @@ -0,0 +1,3 @@ +寻路方式=BFS +QuickBFS=Enable +#自定义分辨率=960 625 \ No newline at end of file diff --git a/game1_dev.bat b/game1_dev.bat index d302da7..e022666 100644 --- a/game1_dev.bat +++ b/game1_dev.bat @@ -3,7 +3,9 @@ @echo off 2>nul 3>nul mode con cols=120 lines=48 setlocal enabledelayedexpansion -Set 寻路方式=BFS +for /f "eol=# delims== Tokens=1-2" %%i in (Setting.env) do ( + Set "%%i=%%j" +) Set SettingDFS_DebugMode=1|| REM 1显示搜索过程0不显示 if !SettingDFS_DebugMode!==1 ( set SettingDFS_Mode=Main @@ -83,13 +85,16 @@ cls Set image=draw cover 0 0 Set /p map=