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

subcategory 'hyperbolic geometry and data'

This commit is contained in:
Zeno Rogue 2020-04-07 14:07:41 +02:00
parent 776364a2aa
commit 72f84a1cf7
2 changed files with 10 additions and 8 deletions

View File

@ -560,10 +560,11 @@ int ah = addHook(hooks_args, 100, readArgs)
dialog::addSelItem(XLAT("SAG mode"), sag::sagmodes[sag::sagmode], 'm');
dialog::add_action([] { sag::sagmode = sag::eSagmode( (1+sag::sagmode) % 3 ); });
})
+ addHook(rvtour::hooks_build_rvtour, 100, [] (vector<tour::slide>& v) {
+ addHook(rvtour::hooks_build_rvtour, 120, [] (vector<tour::slide>& v) {
using namespace rvtour;
string sagf = "hyperbolic geometry and data/SAG/";
v.push_back(
slide{"Roguelikes", 63, LEGAL::UNLIMITED | QUICKGEO,
slide{sagf+"Roguelikes", 63, LEGAL::UNLIMITED | QUICKGEO,
"A visualization of roguelikes, based on discussion on /r/reddit. "
"See: http://www.roguetemple.com/z/hyper/reddit.php",
roguevizslide('0', [] () {
@ -584,7 +585,7 @@ int ah = addHook(hooks_args, 100, readArgs)
})
}
);
v.push_back(slide {"Programming languages of GitHub", 64, LEGAL::UNLIMITED | QUICKGEO,
v.push_back(slide {sagf+"Programming languages of GitHub", 64, LEGAL::UNLIMITED | QUICKGEO,
"A visualization of programming languages.",
roguevizslide('0', [] () {
rogueviz::dftcolor = 0x282828FF;
@ -605,7 +606,7 @@ int ah = addHook(hooks_args, 100, readArgs)
})
});
v.push_back(slide {"Boardgames", 62, LEGAL::UNLIMITED | QUICKGEO,
v.push_back(slide {sagf+"Boardgames", 62, LEGAL::UNLIMITED | QUICKGEO,
"A visualization of board games, based on discussions on Reddit.",
roguevizslide('0', [] () {
rogueviz::dftcolor = 0x282828FF;

View File

@ -121,12 +121,13 @@ int readArgs() {
return 0;
}
int ah = addHook(hooks_args, 100, readArgs)
+ addHook(rvtour::hooks_build_rvtour, 100, [] (vector<tour::slide>& v) {
int ah = addHook(hooks_args, 120, readArgs)
+ addHook(rvtour::hooks_build_rvtour, 120, [] (vector<tour::slide>& v) {
using namespace rvtour;
v.push_back(
tour::slide{"Tree of Life", 61, LEGAL::UNLIMITED | QUICKGEO,
"Not described.",
tour::slide{"hyperbolic geometry and data/Tree of Life", 61, LEGAL::UNLIMITED | QUICKGEO,
"Hyperbolic geometry is much better than the Euclidean geometry at visualizing large trees and other hierarchical structures. "
"Here we visualize the data from the Tree of Life project.",
roguevizslide('0', [] () {