1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

nilrider:: fixup to new levels

This commit is contained in:
Zeno Rogue 2022-08-14 19:24:33 +02:00
parent ffcf7853cb
commit 576e21ece9

View File

@ -81,6 +81,8 @@ struct goal {
goalchecker check;
};
using surface_fun = std::function<ld(hyperpoint h)>;
struct level {
string name;
char hotkey;
@ -90,7 +92,7 @@ struct level {
vector<string> map_tiles;
ld startx, starty;
ld scale;
std::function<ld(hyperpoint h)> surface;
surface_fun surface;
bool initialized;