mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-25 07:20:09 +00:00
nilrider:: fixup to new levels
This commit is contained in:
parent
ffcf7853cb
commit
576e21ece9
@ -81,6 +81,8 @@ struct goal {
|
|||||||
goalchecker check;
|
goalchecker check;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
using surface_fun = std::function<ld(hyperpoint h)>;
|
||||||
|
|
||||||
struct level {
|
struct level {
|
||||||
string name;
|
string name;
|
||||||
char hotkey;
|
char hotkey;
|
||||||
@ -90,7 +92,7 @@ struct level {
|
|||||||
vector<string> map_tiles;
|
vector<string> map_tiles;
|
||||||
ld startx, starty;
|
ld startx, starty;
|
||||||
ld scale;
|
ld scale;
|
||||||
std::function<ld(hyperpoint h)> surface;
|
surface_fun surface;
|
||||||
|
|
||||||
bool initialized;
|
bool initialized;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user