Commit bc7d3a9e authored by VanillaSalt's avatar VanillaSalt

remove unused variables

parent 6287c583
...@@ -16,7 +16,6 @@ bool ReplayMode::is_paused = false; ...@@ -16,7 +16,6 @@ bool ReplayMode::is_paused = false;
bool ReplayMode::is_swaping = false; bool ReplayMode::is_swaping = false;
bool ReplayMode::exit_pending = false; bool ReplayMode::exit_pending = false;
int ReplayMode::skip_turn = 0; int ReplayMode::skip_turn = 0;
wchar_t ReplayMode::event_string[256];
bool ReplayMode::StartReplay(int skipturn) { bool ReplayMode::StartReplay(int skipturn) {
skip_turn = skipturn; skip_turn = skipturn;
......
...@@ -19,7 +19,7 @@ private: ...@@ -19,7 +19,7 @@ private:
static bool is_swaping; static bool is_swaping;
static bool exit_pending; static bool exit_pending;
static int skip_turn; static int skip_turn;
static wchar_t event_string[256];
public: public:
static Replay cur_replay; static Replay cur_replay;
......
...@@ -10,7 +10,6 @@ namespace ygo { ...@@ -10,7 +10,6 @@ namespace ygo {
long SingleMode::pduel = 0; long SingleMode::pduel = 0;
bool SingleMode::is_closing = false; bool SingleMode::is_closing = false;
bool SingleMode::is_continuing = false; bool SingleMode::is_continuing = false;
wchar_t SingleMode::event_string[256];
bool SingleMode::StartPlay() { bool SingleMode::StartPlay() {
Thread::NewThread(SinglePlayThread, 0); Thread::NewThread(SinglePlayThread, 0);
......
...@@ -13,8 +13,7 @@ private: ...@@ -13,8 +13,7 @@ private:
static long pduel; static long pduel;
static bool is_closing; static bool is_closing;
static bool is_continuing; static bool is_continuing;
static wchar_t event_string[256];
public: public:
static bool StartPlay(); static bool StartPlay();
static void StopPlay(bool is_exiting = false); static void StopPlay(bool is_exiting = false);
......
Subproject commit 998ee3c363d24d8cbf45329b3f2fc17b562b4f95 Subproject commit 76442092e35ac6cbb3487aee4a6183312a2f36ab
Subproject commit 0923b804caf9e9c4cb9154f6f35e6e2bef34dcb3 Subproject commit 45397d1c05a9283517ef0736c16f36c8882fe5d2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment