mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 23:06:00 +00:00
rogueviz:: added CAP_RAY and CAP_SOLV guards
This commit is contained in:
@@ -71,13 +71,17 @@ auto geoslide(eGeometry g, char canvas, int jhole, int jblock) {
|
||||
if(sl2) {
|
||||
addMessage("Raycaster not implemented here.");
|
||||
}
|
||||
#if CAP_RAY
|
||||
else if(ray::want_use != 2) {
|
||||
ray::want_use = 2;
|
||||
ray::max_cells = 4096;
|
||||
addMessage("Using a raycaster.");
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
#if CAP_RAY
|
||||
ray::want_use = 0;
|
||||
#endif
|
||||
addMessage("Using primitives.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user