1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 19:54:47 +00:00

arb:: added a comment explaining the meaning of slided

This commit is contained in:
Zeno Rogue 2022-04-24 21:37:59 +02:00
parent b09646f01c
commit 87f1c9f972

View File

@ -127,10 +127,13 @@ struct arbi_tiling {
}; };
#endif #endif
/** currently loaded tiling */
EX arbi_tiling current; EX arbi_tiling current;
/** is the currently displayed map current or slided */
EX bool using_slided; EX bool using_slided;
/** for real-valued sliders, current is the tiling used by the map, while slided is the tiling used for the display */
EX arbi_tiling slided; EX arbi_tiling slided;
EX bool in_slided() { return in() && using_slided; } EX bool in_slided() { return in() && using_slided; }