Skip to content

Commit

Permalink
what is the purpouse of that code? nobody even calls it
Browse files Browse the repository at this point in the history
  • Loading branch information
32th-System committed Jul 10, 2022
1 parent 24c8a65 commit ebd1c9f
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 111 deletions.
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_alcostg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ namespace Alcostg {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

int mState = 0;
__declspec(noinline) int State()
{
Expand Down
8 changes: 0 additions & 8 deletions thprac/src/thprac/thprac_th07.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ namespace TH07 {
SINGLETON(THGuiPrac);
public:

void SetDiffculty(int rank)
{
mDiffculty = rank;
}
int GetStage()
{
return *mStage;
}
__declspec(noinline) void State(int state)
{
int oldRank = mDiffculty;
Expand Down
8 changes: 0 additions & 8 deletions thprac/src/thprac/thprac_th08.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,6 @@ namespace TH08 {
SINGLETON(THGuiPrac);
public:

void SetDiffculty(int rank)
{
mDiffculty = rank;
}
int GetStage()
{
return *mStage;
}
__declspec(noinline) void State(int state)
{
int gaugeType = 0;
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ namespace TH11 {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
uint32_t mainShot;
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ namespace TH12 {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
switch (state) {
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th128.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ namespace TH128 {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
switch (state) {
Expand Down
52 changes: 0 additions & 52 deletions thprac/src/thprac/thprac_th13.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,58 +136,6 @@ namespace TH13 {
break;
}
}

bool LoadParam(std::string& json)
{
ParseJsonNoReset();

ForceJsonValue(game, "th13");
GetJsonValueAlt(mode, *mMode, Int);
GetJsonValueAlt(stage, *mStage, Int);
GetJsonValueAlt(warp, *mWarp, Int);
GetJsonValueAlt(section, *mSection, Int);
GetJsonValueAlt(phase, *mPhase, Int);
GetJsonValueAlt(chapter, *mChapter, Int);

GetJsonValueAlt(score, *mScore, Int64);
GetJsonValueAlt(life, *mLife, Int);
GetJsonValueAlt(extend, *mExtend, Int);
GetJsonValueAlt(life_fragment, *mLifeFragment, Int);
GetJsonValueAlt(bomb, *mBomb, Int);
GetJsonValueAlt(bomb_fragment, *mBombFragment, Int);
GetJsonValueAlt(power, *mPower, Int);
GetJsonValueAlt(value, *mValue, Int);
GetJsonValueAlt(graze, *mGraze, Int);
GetJsonValueAlt(trance_meter, *mTranceMeter, Int);

return true;
}
std::string GetParam()
{
CreateJson();

AddJsonValueEx(version, GetVersionStr(), jalloc);
AddJsonValueEx(game, "th13", jalloc);
AddJsonValueEx(mode, *mMode);
AddJsonValueEx(stage, *mStage);
AddJsonValueEx(warp, *mWarp);
AddJsonValueEx(section, *mSection);
AddJsonValueEx(phase, *mPhase);
AddJsonValueEx(chapter, *mChapter);

AddJsonValueEx(score, *mScore);
AddJsonValueEx(life, *mLife);
AddJsonValueEx(extend, *mExtend);
AddJsonValueEx(life_fragment, *mLifeFragment);
AddJsonValueEx(bomb, *mBomb);
AddJsonValueEx(bomb_fragment, *mBombFragment);
AddJsonValueEx(power, *mPower);
AddJsonValueEx(value, *mValue);
AddJsonValueEx(graze, *mGraze);
AddJsonValueEx(trance_meter, *mTranceMeter);

ReturnJson();
}
protected:
virtual void OnLocaleChange() override
{
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th14.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ namespace TH14 {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
switch (state) {
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th15.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ namespace TH15 {
SINGLETON(THGuiPrac)
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
switch (state) {
Expand Down
5 changes: 0 additions & 5 deletions thprac/src/thprac/thprac_th16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ namespace TH16 {
SINGLETON(THGuiPrac);
public:

int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
switch (state) {
Expand Down
4 changes: 0 additions & 4 deletions thprac/src/thprac/thprac_th17.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ namespace TH17 {
}
SINGLETON(THGuiPrac);
public:
int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
Expand Down
4 changes: 0 additions & 4 deletions thprac/src/thprac/thprac_th18.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ namespace TH18 {
SINGLETON(THGuiPrac);

public:
int GetStage()
{
return *mStage;
}

__declspec(noinline) void State(int state)
{
Expand Down

0 comments on commit ebd1c9f

Please sign in to comment.