1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 22:36:02 +00:00

moved the remaining slides away from rogueviz.cpp

This commit is contained in:
Zeno Rogue
2020-03-29 13:52:10 +02:00
parent 505046e32f
commit 4384f65962
5 changed files with 101 additions and 81 deletions

View File

@@ -119,7 +119,28 @@ int readArgs() {
return 0;
}
int ah = addHook(hooks_args, 100, readArgs);
int ah = addHook(hooks_args, 100, readArgs)
+ addHook(rvtour::hooks_build_rvtour, 100, [] (vector<tour::slide>& v) {
using namespace rvtour;
v.push_back(
tour::slide{"Tree of Life", 61, LEGAL::UNLIMITED | QUICKGEO,
"Not described.",
roguevizslide('0', [] () {
rogueviz::dftcolor = 0x206020FF;
rogueviz::showlabels = true;
rogueviz::on = true;
gmatrix.clear();
drawthemap();
gmatrix0 = gmatrix;
rogueviz::tree::read(RVPATH "treeoflife/tol.txt");
})}
);
});
#endif
}