mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 11:00:34 +00:00
nilrider:: fixup to new levels
This commit is contained in:
parent
ffcf7853cb
commit
576e21ece9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user