1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 04:13:03 +00:00

nilrider:: records and currentscores

This commit is contained in:
Zeno Rogue
2022-05-06 16:06:17 +02:00
parent aec4f78ac6
commit 09266b3059
3 changed files with 34 additions and 5 deletions

View File

@@ -102,6 +102,11 @@ void level::init() {
println(hlog, "start.where = ", start.where);
println(hlog, "current.where = ", current.where, " : ", format("%p", &current));
int qgoals = isize(goals);
records[0].resize(qgoals, 0);
records[1].resize(qgoals, 0);
current_score.resize(qgoals, 0);
/* start facing slightly to the right from the slope */
for(auto b: {true, false}) while(true) {
auto c = start;