mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
rogueviz:: made gobot compile without video
This commit is contained in:
parent
eb4b7177f3
commit
18247ec98f
@ -901,6 +901,7 @@ int rugArgs() {
|
|||||||
|
|
||||||
else if(argis("-go-save")) save_go();
|
else if(argis("-go-save")) save_go();
|
||||||
|
|
||||||
|
#if CAP_VIDEO
|
||||||
else if(argis("-go-video")) {
|
else if(argis("-go-video")) {
|
||||||
save_backup();
|
save_backup();
|
||||||
shift(); string s = args();
|
shift(); string s = args();
|
||||||
@ -918,6 +919,7 @@ int rugArgs() {
|
|||||||
delHook(anims::hooks_anim, a);
|
delHook(anims::hooks_anim, a);
|
||||||
undo();
|
undo();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
else return 1;
|
else return 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -234,7 +234,7 @@ struct hrmap_notknot : hrmap {
|
|||||||
heptagon* at(int x, int y, int z) {
|
heptagon* at(int x, int y, int z) {
|
||||||
dynamicval<eGeometry> g(geometry, base);
|
dynamicval<eGeometry> g(geometry, base);
|
||||||
dynamicval<hrmap*> m(currentmap, euc);
|
dynamicval<hrmap*> m(currentmap, euc);
|
||||||
euc::coord co = euc::basic_canonicalize({x, y, z});
|
euc::coord co = euc::basic_canonicalize(euc::coord{x, y, z});
|
||||||
|
|
||||||
return euc::get_at(co);
|
return euc::get_at(co);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user