1
This commit is contained in:
parent
307acaca54
commit
236a7cb919
@ -234,6 +234,34 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
METAMGR_READ_STR(mini_room_ai, "");
|
||||||
|
std::vector<std::string> tmpstrings;
|
||||||
|
a8::Split(MetaMgr::Instance()->mini_room_ai, tmpstrings, '|');
|
||||||
|
for (auto& str : tmpstrings) {
|
||||||
|
MetaMgr::Instance()->mini_room_ai_weights.push_back
|
||||||
|
(
|
||||||
|
a8::XValue(str).GetInt()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (MetaMgr::Instance()->mini_room_ai_weights.size() != 8) {
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{
|
||||||
|
METAMGR_READ_STR(normal_room_ai, "");
|
||||||
|
std::vector<std::string> tmpstrings;
|
||||||
|
a8::Split(MetaMgr::Instance()->mini_room_ai, tmpstrings, '|');
|
||||||
|
for (auto& str : tmpstrings) {
|
||||||
|
MetaMgr::Instance()->normal_room_ai_weights.push_back
|
||||||
|
(
|
||||||
|
a8::XValue(str).GetInt()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (MetaMgr::Instance()->normal_room_ai_weights.size() != 8) {
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
METAMGR_READ(level1room_shua_robot_min_time, 5);
|
METAMGR_READ(level1room_shua_robot_min_time, 5);
|
||||||
METAMGR_READ(level1room_shua_robot_max_time, 7);
|
METAMGR_READ(level1room_shua_robot_max_time, 7);
|
||||||
|
@ -91,8 +91,10 @@ class MetaMgr : public a8::Singleton<MetaMgr>
|
|||||||
int level0room_robot_autodie_distance = 0;
|
int level0room_robot_autodie_distance = 0;
|
||||||
std::set<int> level0room_spec_things_set;
|
std::set<int> level0room_spec_things_set;
|
||||||
std::vector<int> level0room_spec_airdrops;
|
std::vector<int> level0room_spec_airdrops;
|
||||||
std::vector<int> mini_room_ai;
|
std::vector<int> mini_room_ai_weights;
|
||||||
std::vector<int> normal_room_ai;
|
std::vector<int> normal_room_ai_weights;
|
||||||
|
std::string mini_room_ai;
|
||||||
|
std::string normal_room_ai;
|
||||||
|
|
||||||
int level1room_shua_robot_min_time = 0;
|
int level1room_shua_robot_min_time = 0;
|
||||||
int level1room_shua_robot_max_time = 0;
|
int level1room_shua_robot_max_time = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user