cpp: header: Add _INCLUDED to end of macron
This commit is contained in:
parent
d0507f6dbc
commit
a54545ecab
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DEBUG_H
|
#ifndef DEBUG_H_INCLUDED
|
||||||
#define DEBUG_H
|
#define DEBUG_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -39,4 +39,4 @@
|
||||||
#endif
|
#endif
|
||||||
#endif /* CSTYLE_DEBUG_OUTPUT */
|
#endif /* CSTYLE_DEBUG_OUTPUT */
|
||||||
|
|
||||||
#endif /* DEBUG_H */
|
#endif /* DEBUG_H_INCLUDED */
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HASH_MAP_H_
|
#ifndef HASH_MAP_H_INCLUDED
|
||||||
#define HASH_MAP_H_
|
#define HASH_MAP_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -282,4 +282,4 @@ private:
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // HASH_MAP_H_
|
#endif // HASH_MAP_H_INCLUDED
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HASH_NODE_H_
|
#ifndef HASH_NODE_H_INCLUDED
|
||||||
#define HASH_NODE_H_
|
#define HASH_NODE_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -213,4 +213,4 @@ private:
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HASH_NODE_H_
|
#endif // HASH_NODE_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPTION_H
|
#ifndef OPTION_H_INCLUDED
|
||||||
#define OPTION_H
|
#define OPTION_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -305,4 +305,4 @@ private:
|
||||||
|
|
||||||
extern GameOptions gameOptions;
|
extern GameOptions gameOptions;
|
||||||
|
|
||||||
#endif /* OPTION_H */
|
#endif /* OPTION_H_INCLUDED */
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef BUFFERED_FILE_H
|
#ifndef BUFFERED_FILE_H_INCLUDED
|
||||||
#define BUFFERED_FILE_H
|
#define BUFFERED_FILE_H_INCLUDED
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -48,4 +48,4 @@ public:
|
||||||
long long getFileSize();
|
long long getFileSize();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // BUFFERED_FILE_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef CYLCIC_ARRAY_H
|
#ifndef CYLCIC_ARRAY_H_INCLUDED
|
||||||
#define CYLCIC_ARRAY_H
|
#define CYLCIC_ARRAY_H_INCLUDED
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -46,4 +46,4 @@ public:
|
||||||
bool bytesAvailable();
|
bool bytesAvailable();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // CYLCIC_ARRAY_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef MILL_H
|
#ifndef MILL_H_INCLUDED
|
||||||
#define MILL_H
|
#define MILL_H_INCLUDED
|
||||||
|
|
||||||
#include "millAI.h"
|
#include "millAI.h"
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
@ -145,4 +145,4 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MILL_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef MUEHLE_AI_H
|
#ifndef MUEHLE_AI_H_INCLUDED
|
||||||
#define MUEHLE_AI_H
|
#define MUEHLE_AI_H_INCLUDED
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -111,4 +111,4 @@ public:
|
||||||
virtual void play(fieldStruct* theField, unsigned int* pushFrom, unsigned int* pushTo) = 0;
|
virtual void play(fieldStruct* theField, unsigned int* pushFrom, unsigned int* pushTo) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MUEHLE_AI_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
***************************************************************************************************************************/
|
***************************************************************************************************************************/
|
||||||
|
|
||||||
#ifndef MINIMAX_H
|
#ifndef MINIMAX_H_INCLUDED
|
||||||
#define MINIMAX_H
|
#define MINIMAX_H_INCLUDED
|
||||||
|
|
||||||
#include "Shlwapi.h"
|
#include "Shlwapi.h"
|
||||||
#include "bufferedFile.h"
|
#include "bufferedFile.h"
|
||||||
|
@ -827,4 +827,4 @@ private:
|
||||||
bool falseOrStop();
|
bool falseOrStop();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MINIMAX_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef MINIMAX_AI_H
|
#ifndef MINIMAX_AI_H_INCLUDED
|
||||||
#define MINIMAX_AI_H
|
#define MINIMAX_AI_H_INCLUDED
|
||||||
|
|
||||||
#include "millAI.h"
|
#include "millAI.h"
|
||||||
#include "miniMax.h"
|
#include "miniMax.h"
|
||||||
|
@ -142,4 +142,4 @@ public:
|
||||||
void setSearchDepth(unsigned int depth);
|
void setSearchDepth(unsigned int depth);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MINIMAX_AI_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef MINIMAXWIN_H
|
#ifndef MINIMAXWIN_H_INCLUDED
|
||||||
#define MINIMAXWIN_H
|
#define MINIMAXWIN_H_INCLUDED
|
||||||
|
|
||||||
// Windows Header Files:
|
// Windows Header Files:
|
||||||
#include "miniMax.h"
|
#include "miniMax.h"
|
||||||
|
@ -156,4 +156,4 @@ public:
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MINIMAXWIN_H_INCLUDED
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
|
#ifndef MINIMAX_RETROANALYSIS_H_INCLUDED
|
||||||
|
#define MINIMAX_RETROANALYSIS_H_INCLUDED
|
||||||
|
|
||||||
#include "miniMax.h"
|
#include "miniMax.h"
|
||||||
|
|
||||||
struct RetroAnalysisQueueState {
|
struct RetroAnalysisQueueState {
|
||||||
|
@ -65,4 +68,6 @@ struct AddNumSucceedersVars {
|
||||||
LONGLONG statesProcessed;
|
LONGLONG statesProcessed;
|
||||||
RetroAnalysisVars* retroVars;
|
RetroAnalysisVars* retroVars;
|
||||||
RetroAnalysisPredVars* predVars;
|
RetroAnalysisPredVars* predVars;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // MINIMAX_RETROANALYSIS_H_INCLUDED
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef PERFECT_H
|
#ifndef PERFECT_H_INCLUDED
|
||||||
#define PERFECT_H
|
#define PERFECT_H_INCLUDED
|
||||||
|
|
||||||
#include "mill.h"
|
#include "mill.h"
|
||||||
#include "perfectAI.h"
|
#include "perfectAI.h"
|
||||||
|
@ -22,4 +22,4 @@ Move perfect_search();
|
||||||
bool perfect_do_move(Move move);
|
bool perfect_do_move(Move move);
|
||||||
bool perfect_command(const char* cmd);
|
bool perfect_command(const char* cmd);
|
||||||
|
|
||||||
#endif
|
#endif // PERFECT_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef PERFECT_AI_H
|
#ifndef PERFECT_AI_H_INCLUDED
|
||||||
#define PERFECT_AI_H
|
#define PERFECT_AI_H_INCLUDED
|
||||||
|
|
||||||
#include "millAI.h"
|
#include "millAI.h"
|
||||||
#include "miniMax.h"
|
#include "miniMax.h"
|
||||||
|
@ -233,4 +233,4 @@ public:
|
||||||
bool testLayers(unsigned int startTestFromLayer, unsigned int endTestAtLayer);
|
bool testLayers(unsigned int startTestFromLayer, unsigned int endTestAtLayer);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // PERFECT_AI_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef RANDOM_AI_H
|
#ifndef RANDOM_AI_H_INCLUDED
|
||||||
#define RANDOM_AI_H
|
#define RANDOM_AI_H_INCLUDED
|
||||||
|
|
||||||
#include "millAI.h"
|
#include "millAI.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -23,4 +23,4 @@ public:
|
||||||
void play(fieldStruct* theField, unsigned int* pushFrom, unsigned int* pushTo);
|
void play(fieldStruct* theField, unsigned int* pushFrom, unsigned int* pushTo);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // RANDOM_AI_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef STRLIB_H
|
#ifndef STRLIB_H_INCLUDED
|
||||||
#define STRLIB_H
|
#define STRLIB_H_INCLUDED
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -46,4 +46,4 @@ public:
|
||||||
static int hiBit(unsigned int n);
|
static int hiBit(unsigned int n);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // STRLIB_H_INCLUDED
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
https://github.com/madweasel/Muehle
|
https://github.com/madweasel/Muehle
|
||||||
\*********************************************************************/
|
\*********************************************************************/
|
||||||
|
|
||||||
#ifndef THREADMANAGER_H
|
#ifndef THREADMANAGER_H_INCLUDED
|
||||||
#define THREADMANAGER_H
|
#define THREADMANAGER_H_INCLUDED
|
||||||
|
|
||||||
// standard library & win32 api
|
// standard library & win32 api
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
@ -139,4 +139,4 @@ public:
|
||||||
unsigned int executeParallelLoop(DWORD threadProc(void* pParameter, unsigned int index), void* pParameter, unsigned int parameterStructSize, unsigned int scheduleType, int initialValue, int finalValue, int inkrement);
|
unsigned int executeParallelLoop(DWORD threadProc(void* pParameter, unsigned int index), void* pParameter, unsigned int parameterStructSize, unsigned int scheduleType, int initialValue, int finalValue, int inkrement);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // THREADMANAGER_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RULE_H
|
#ifndef RULE_H_INCLUDED
|
||||||
#define RULE_H
|
#define RULE_H_INCLUDED
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
@ -87,4 +87,4 @@ extern const struct Rule RULES[N_RULES];
|
||||||
extern struct Rule rule;
|
extern struct Rule rule;
|
||||||
extern bool set_rule(int ruleIdx) noexcept;
|
extern bool set_rule(int ruleIdx) noexcept;
|
||||||
|
|
||||||
#endif /* RULE_H */
|
#endif /* RULE_H_INCLUDED */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STACK_H
|
#ifndef STACK_H_INCLUDED
|
||||||
#define STACK_H
|
#define STACK_H_INCLUDED
|
||||||
|
|
||||||
namespace Sanmill {
|
namespace Sanmill {
|
||||||
|
|
||||||
|
@ -133,4 +133,4 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // STACK_H
|
#endif // STACK_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STOPWATCH_H_
|
#ifndef STOPWATCH_H_INCLUDED
|
||||||
#define STOPWATCH_H_
|
#define STOPWATCH_H_INCLUDED
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
@ -113,4 +113,4 @@ auto sample(Func&& function) -> std::array<typename Clock::duration, N>
|
||||||
}
|
}
|
||||||
} /* namespace stopwatch */
|
} /* namespace stopwatch */
|
||||||
|
|
||||||
#endif // STOPWATCH_H_
|
#endif // STOPWATCH_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TEST_H
|
#ifndef TEST_H_INCLUDED
|
||||||
#define TEST_H
|
#define TEST_H_INCLUDED
|
||||||
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
|
@ -85,4 +85,4 @@ private:
|
||||||
QTimer* readMemoryTimer;
|
QTimer* readMemoryTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TEST_H
|
#endif // TEST_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BOARDITEM_H
|
#ifndef BOARDITEM_H_INCLUDED
|
||||||
#define BOARDITEM_H
|
#define BOARDITEM_H_INCLUDED
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
|
|
||||||
|
@ -70,4 +70,4 @@ private:
|
||||||
bool hasDiagonalLine { false };
|
bool hasDiagonalLine { false };
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BOARDITEM_H
|
#endif // BOARDITEM_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CLIENT_H
|
#ifndef CLIENT_H_INCLUDED
|
||||||
#define CLIENT_H
|
#define CLIENT_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -83,4 +83,4 @@ private:
|
||||||
|
|
||||||
#endif // NET_FIGHT_SUPPORT
|
#endif // NET_FIGHT_SUPPORT
|
||||||
|
|
||||||
#endif // CLIENT_H
|
#endif // CLIENT_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
* But it doesn't look good to use one scene class to do so many control module operations
|
* But it doesn't look good to use one scene class to do so many control module operations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GAME_H
|
#ifndef GAME_H_INCLUDED
|
||||||
#define GAME_H
|
#define GAME_H_INCLUDED
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -548,4 +548,4 @@ inline void Game::set_start_time(int time)
|
||||||
startTime = time;
|
startTime = time;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // GAME_H
|
#endif // GAME_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GAMESCENE_H
|
#ifndef GAMESCENE_H_INCLUDED
|
||||||
#define GAMESCENE_H
|
#define GAMESCENE_H_INCLUDED
|
||||||
|
|
||||||
#include <QGraphicsScene>
|
#include <QGraphicsScene>
|
||||||
|
|
||||||
|
@ -59,4 +59,4 @@ private:
|
||||||
BoardItem* board { nullptr };
|
BoardItem* board { nullptr };
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GAMESCENE_H
|
#endif // GAMESCENE_H_INCLUDED
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GAME_VIEW_H
|
#ifndef GAME_VIEW_H_INCLUDED
|
||||||
#define GAME_VIEW_H
|
#define GAME_VIEW_H_INCLUDED
|
||||||
|
|
||||||
#include <QGraphicsView>
|
#include <QGraphicsView>
|
||||||
|
|
||||||
|
@ -42,4 +42,4 @@ protected:
|
||||||
void resizeEvent(QResizeEvent* event) override;
|
void resizeEvent(QResizeEvent* event) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GAME_VIEW_H
|
#endif // GAME_VIEW_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GAMEWINDOW_H
|
#ifndef GAMEWINDOW_H_INCLUDED
|
||||||
#define GAMEWINDOW_H
|
#define GAMEWINDOW_H_INCLUDED
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -126,4 +126,4 @@ private:
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GAMEWINDOW_H
|
#endif // GAMEWINDOW_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GRAPHICSCONST
|
#ifndef GRAPHICSCONST_H_INCLUDED
|
||||||
#define GRAPHICSCONST
|
#define GRAPHICSCONST_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -32,4 +32,4 @@ constexpr short PIECE_SIZE = 56;
|
||||||
constexpr short LINE_INTERVAL = 72;
|
constexpr short LINE_INTERVAL = 72;
|
||||||
constexpr short LINE_WEIGHT = 3;
|
constexpr short LINE_WEIGHT = 3;
|
||||||
|
|
||||||
#endif // GRAPHICSCONST
|
#endif // GRAPHICSCONST_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MANUAL_LIST_VIEW_H
|
#ifndef MANUAL_LIST_VIEW_H_INCLUDED
|
||||||
#define MANUAL_LIST_VIEW_H
|
#define MANUAL_LIST_VIEW_H_INCLUDED
|
||||||
|
|
||||||
#include <QListView>
|
#include <QListView>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
@ -106,4 +106,4 @@ private:
|
||||||
bool newEmptyRow { false };
|
bool newEmptyRow { false };
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MANUAL_LIST_VIEW_H
|
#endif // MANUAL_LIST_VIEW_H_INCLUDED
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
This file is part of Sanmill.
|
This file is part of Sanmill.
|
||||||
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
Copyright (C) 2019-2021 The Sanmill developers (see AUTHORS file)
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PIECE_ITEM_H
|
#ifndef PIECE_ITEM_H_INCLUDED
|
||||||
#define PIECE_ITEM_H
|
#define PIECE_ITEM_H_INCLUDED
|
||||||
|
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -127,4 +127,4 @@ private:
|
||||||
QColor removeLineColor;
|
QColor removeLineColor;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PIECE_ITEM_H
|
#endif // PIECE_ITEM_H_INCLUDED
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SERVER_H
|
#ifndef SERVER_H_INCLUDED
|
||||||
#define SERVER_H
|
#define SERVER_H_INCLUDED
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
@ -68,4 +68,4 @@ private:
|
||||||
|
|
||||||
#endif // NET_FIGHT_SUPPORT
|
#endif // NET_FIGHT_SUPPORT
|
||||||
|
|
||||||
#endif // SERVER_H
|
#endif // SERVER_H_INCLUDED
|
||||||
|
|
Loading…
Reference in New Issue