Skip to content

Commit

Permalink
fix reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ssccinng committed Aug 9, 2024
1 parent f8d4375 commit 47c9c3c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ extern "C" DECLSPEC_EXPORT char *__cdecl TetrisAI(int overfield[], int field[],
return result_buffer[player];
}

m_tetris::TetrisThreadEngine<rule_toj::TetrisRule, ai_zzz::Botris, search_aspin::Search> botris_ai;
std::unique_ptr<m_tetris::TetrisThreadEngine<rule_toj::TetrisRule, ai_zzz::Botris_PC, search_aspin::Search>> botris_pc;
m_tetris::TetrisThreadEngine<rule_botris::TetrisRule, ai_zzz::Botris, search_aspin::Search> botris_ai;
std::unique_ptr<m_tetris::TetrisThreadEngine<rule_botris::TetrisRule, ai_zzz::Botris_PC, search_aspin::Search>> botris_pc;



Expand Down
2 changes: 2 additions & 0 deletions tetris_ai_dll.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<ClInclude Include="src\chash_set.h" />
<ClInclude Include="src\integer_utils.h" />
<ClInclude Include="src\rule_asrs.h" />
<ClInclude Include="src\rule_botris.h" />
<ClInclude Include="src\search_aspin.h" />
<ClInclude Include="src\search_path.h" />
<ClInclude Include="src\search_simple.h" />
Expand Down Expand Up @@ -56,6 +57,7 @@
<ClCompile Include="src\dllmain.c" />
<ClCompile Include="src\integer_utils.cpp" />
<ClCompile Include="src\rule_asrs.cpp" />
<ClCompile Include="src\rule_botris.cpp" />
<ClCompile Include="src\search_aspin.cpp" />
<ClCompile Include="src\search_path.cpp" />
<ClCompile Include="src\search_simple.cpp" />
Expand Down
9 changes: 9 additions & 0 deletions tetris_ai_dll.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<Filter>rules\asrs</Filter>
</ClCompile>
<ClCompile Include="src\search_aspin.cpp" />
<ClCompile Include="src\rule_botris.cpp">
<Filter>rules\botris</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\rule_srs.h">
Expand Down Expand Up @@ -147,6 +150,9 @@
<Filter>rules\asrs</Filter>
</ClInclude>
<ClInclude Include="src\search_aspin.h" />
<ClInclude Include="src\rule_botris.h">
<Filter>rules\botris</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="rules">
Expand Down Expand Up @@ -218,6 +224,9 @@
<Filter Include="rules\asrs">
<UniqueIdentifier>{5864e945-6fe6-4921-873a-12cc8a4ce444}</UniqueIdentifier>
</Filter>
<Filter Include="rules\botris">
<UniqueIdentifier>{21f7a0ad-0726-4fe1-b279-2877c1aab6bc}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<Natvis Include="src\chash.natvis">
Expand Down

0 comments on commit 47c9c3c

Please sign in to comment.