1
This commit is contained in:
parent
d3a67f2018
commit
cdf7bdab85
@ -67,40 +67,7 @@ namespace mt
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if 0
|
. }
|
||||||
{
|
|
||||||
std::vector<std::string> strings;
|
|
||||||
a8::Split(round_score(), strings, '|');
|
|
||||||
for (std::string& str : strings) {
|
|
||||||
_round_score.push_back(a8::XValue(str).GetInt());
|
|
||||||
}
|
|
||||||
if (_round_score.size() != _waves.size()) {
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{
|
|
||||||
if (id() == kDestoryMode) {
|
|
||||||
std::vector<std::string> strings;
|
|
||||||
a8::Split(next_door(), strings, '|');
|
|
||||||
for (auto& str : strings) {
|
|
||||||
std::vector<std::string> strings2;
|
|
||||||
a8::Split(str, strings2, ':');
|
|
||||||
if (strings2.size() < 2) {
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
glm::vec3 v;
|
|
||||||
v.x = a8::XValue(strings2[0]).GetDouble();
|
|
||||||
v.y = 0.0f;
|
|
||||||
v.y = a8::XValue(strings2[1]).GetDouble();
|
|
||||||
_next_door.push_back(v);
|
|
||||||
}
|
|
||||||
if (_next_door.size() + 1 != _waves.size()) {
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
int PveGeminiMode::CalcStar(int score) const
|
int PveGeminiMode::CalcStar(int score) const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user