mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
moved cname() to sag
This commit is contained in:
parent
57eff8bc97
commit
220d23124b
@ -1162,12 +1162,6 @@ namespace rvtour {
|
||||
|
||||
using namespace tour;
|
||||
|
||||
string cname() {
|
||||
if(euclid) return "coord-6.txt";
|
||||
if(PURE) return "coord-7.txt";
|
||||
return "coord-67.txt";
|
||||
}
|
||||
|
||||
template<class T> function<void(presmode)> roguevizslide(char c, const T& t) {
|
||||
return [c,t] (presmode mode) {
|
||||
patterns::canvasback = 0x101010;
|
||||
|
@ -543,6 +543,12 @@ bool turn(int delta) {
|
||||
// shmup::pc[0]->rebase();
|
||||
}
|
||||
|
||||
string cname() {
|
||||
if(euclid) return "coord-6.txt";
|
||||
if(PURE) return "coord-7.txt";
|
||||
return "coord-67.txt";
|
||||
}
|
||||
|
||||
int ah = addHook(hooks_args, 100, readArgs)
|
||||
+ addHook(shmup::hooks_turn, 100, turn)
|
||||
+ addHook(rogueviz::hooks_close, 100, [] { sag::sagedges.clear(); })
|
||||
|
Loading…
Reference in New Issue
Block a user