This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> // OpenSiv3D v0.6.4 | |
template <class... Args> | |
class SivEvent | |
{ | |
Array<std::function<void(Args...)>> m_funcs; | |
public: | |
SivEvent() = default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#define NO_S3D_USING | |
//#define NOMINMAX | |
#include <Siv3D.hpp> // OpenSiv3D v0.4.3 | |
# if SIV3D_PLATFORM(WINDOWS) | |
# if SIV3D_BUILD_TYPE(DEBUG) | |
# pragma comment (lib, "Common-cpp/lib/Common-cpp_vc16_debug_windows_mt_x64") | |
# pragma comment (lib, "Photon-cpp/lib/Photon-cpp_vc16_debug_windows_mt_x64") | |
# pragma comment (lib, "LoadBalancing-cpp/lib/LoadBalancing-cpp_vc16_debug_windows_mt_x64") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> // OpenSiv3D v0.4.3 | |
/// <summary> | |
/// マスの状態 | |
/// </summary> | |
enum class CellState { | |
None, // 未入力 | |
Maru, // 丸 | |
Batsu // バツ | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <iostream> | |
#include <vector> | |
#include <array> | |
#include <numeric> | |
#include <iterator> | |
#include <random> | |
#include <fstream> | |
#include <bitset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define NO_S3D_USING | |
#include <Siv3D.hpp> // OpenSiv3D v0.4.3 | |
#include <LoadBalancing-cpp/inc/Client.h> | |
namespace makia::Photon { | |
/// <summary> | |
/// ExitGames::Common::JStringからs3d::Stringに変換する | |
/// </summary> | |
/// <param name="str">変換したい文字列</param> | |
/// <returns>s3d::Stringに変換した文字列</returns> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# include <Siv3D.hpp> // OpenSiv3D v0.4.2 | |
// | |
namespace s3d | |
{ | |
namespace Stat | |
{ | |
/// <summary> | |
/// 配列の要素数を求めます。 |