nilrider:: fixup to new levels

This commit is contained in:
Zeno Rogue 2022-08-14 19:24:33 +02:00
parent ffcf7853cb
commit 576e21ece9
1 changed files with 3 additions and 1 deletions

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;