mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 00:47:40 +00:00
svg::render now accepts a function to draw something else
This commit is contained in:
2
hyper.h
2
hyper.h
@@ -1673,7 +1673,7 @@ namespace svg {
|
||||
void text(int x, int y, int size, const string& str, bool frame, int col, int align);
|
||||
extern bool in;
|
||||
extern const string *link;
|
||||
void render(const char *fname = NULL);
|
||||
void render(const char *fname = NULL, const function<void()>& what = drawfullmap);
|
||||
}
|
||||
|
||||
extern int sightrange_bonus, genrange_bonus, gamerange_bonus;
|
||||
|
Reference in New Issue
Block a user