From 53916f9aba7fcd5a4b57ec4fbe64aa31dbe57786 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Wed, 20 Jan 2021 01:17:40 +0800 Subject: [PATCH] perfect: Rename minMax functions (3) --- src/perfect/miniMax.h | 4 ++-- src/perfect/miniMaxWin.h | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/perfect/miniMax.h b/src/perfect/miniMax.h index e37eb860..6f601e81 100644 --- a/src/perfect/miniMax.h +++ b/src/perfect/miniMax.h @@ -104,8 +104,8 @@ database: The database contains the arrays with the short knot values and the /*** Klassen ***************************************************************************************************************************/ class MiniMax { - friend class miniMaxWinInspectDb; - friend class miniMaxWinCalcDb; + friend class MiniMaxWinInspectDb; + friend class MiniMaxWinCalcDb; public: diff --git a/src/perfect/miniMaxWin.h b/src/perfect/miniMaxWin.h index 972152dd..4aa8a41a 100644 --- a/src/perfect/miniMaxWin.h +++ b/src/perfect/miniMaxWin.h @@ -16,7 +16,7 @@ #include #include -class miniMaxGuiField +class MiniMaxGuiField { public: virtual void setAlignment(wildWeasel::alignment &newAlignment) @@ -35,7 +35,7 @@ public: | ------------------------------------- --------------------------------- | | | | | | | | | | | | | -| | pTreeViewInspect | | miniMaxGuiField | | +| | pTreeViewInspect | | MiniMaxGuiField | | | | | | | | | | | | | | | | | | | | @@ -55,13 +55,13 @@ public: | | -----------------------------------------------------------------------------------*/ -class miniMaxWinInspectDb +class MiniMaxWinInspectDb { protected: // General Variables MiniMax *pMiniMax = nullptr; // pointer to perfect AI class granting the access to the database - miniMaxGuiField *pGuiField = nullptr; + MiniMaxGuiField *pGuiField = nullptr; bool showingInspectionControls = false; unsigned int curShowedLayer = 0; // current showed layer MiniMax::StateNumberVarType curShowedState = 0; // current showed state @@ -70,8 +70,8 @@ protected: public: // Constructor / destructor - miniMaxWinInspectDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amInspectDb, wildWeasel::font2D *font, wildWeasel::texture *textureLine, miniMaxGuiField &guiField); - ~miniMaxWinInspectDb(); + MiniMaxWinInspectDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amInspectDb, wildWeasel::font2D *font, wildWeasel::texture *textureLine, MiniMaxGuiField &guiField); + ~MiniMaxWinInspectDb(); // Generals Functions bool createControls(); @@ -107,7 +107,7 @@ public: | ------------------- ----------------- ---------------- --------------- | -----------------------------------------------------------------------------------*/ -class miniMaxWinCalcDb +class MiniMaxWinCalcDb { protected: @@ -151,8 +151,8 @@ protected: public: // Constructor / destructor - miniMaxWinCalcDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amCalculation, wildWeasel::font2D *font, wildWeasel::texture *textureLine); - ~miniMaxWinCalcDb(); + MiniMaxWinCalcDb(wildWeasel::masterMind *ww, MiniMax *pMiniMax, wildWeasel::alignment &amCalculation, wildWeasel::font2D *font, wildWeasel::texture *textureLine); + ~MiniMaxWinCalcDb(); // Generals Functions bool createControls();