From 47c9c3cf301fbdb14f1152044835673027094612 Mon Sep 17 00:00:00 2001 From: scixing Date: Fri, 9 Aug 2024 11:36:13 +0800 Subject: [PATCH] fix reset --- src/ai.cpp | 4 ++-- tetris_ai_dll.vcxproj | 2 ++ tetris_ai_dll.vcxproj.filters | 9 +++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/ai.cpp b/src/ai.cpp index 826e80d..9368c45 100644 --- a/src/ai.cpp +++ b/src/ai.cpp @@ -330,8 +330,8 @@ extern "C" DECLSPEC_EXPORT char *__cdecl TetrisAI(int overfield[], int field[], return result_buffer[player]; } -m_tetris::TetrisThreadEngine botris_ai; -std::unique_ptr> botris_pc; +m_tetris::TetrisThreadEngine botris_ai; +std::unique_ptr> botris_pc; diff --git a/tetris_ai_dll.vcxproj b/tetris_ai_dll.vcxproj index 7b65ac4..65ff3df 100644 --- a/tetris_ai_dll.vcxproj +++ b/tetris_ai_dll.vcxproj @@ -29,6 +29,7 @@ + @@ -56,6 +57,7 @@ + diff --git a/tetris_ai_dll.vcxproj.filters b/tetris_ai_dll.vcxproj.filters index e896d9d..9fa0c59 100644 --- a/tetris_ai_dll.vcxproj.filters +++ b/tetris_ai_dll.vcxproj.filters @@ -68,6 +68,9 @@ rules\asrs + + rules\botris + @@ -147,6 +150,9 @@ rules\asrs + + rules\botris + @@ -218,6 +224,9 @@ {5864e945-6fe6-4921-873a-12cc8a4ce444} + + {21f7a0ad-0726-4fe1-b279-2877c1aab6bc} +