mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 16:37:40 +00:00
more intuitive file dialogs; texture config saving
This commit is contained in:
3
hyper.h
3
hyper.h
@@ -569,6 +569,7 @@ extern bool mousepressed, anyshiftclick;
|
||||
extern string help;
|
||||
|
||||
typedef function<void()> reaction_t;
|
||||
typedef function<bool()> bool_reaction_t;
|
||||
|
||||
extern reaction_t help_delegate;
|
||||
|
||||
@@ -1173,7 +1174,7 @@ namespace dialog {
|
||||
extern int dialogflags;
|
||||
extern int dcenter;
|
||||
|
||||
void openFileDialog(string& filename, string fcap, string ext);
|
||||
void openFileDialog(string& filename, string fcap, string ext, bool_reaction_t action);
|
||||
|
||||
extern string infix;
|
||||
bool hasInfix(const string &s);
|
||||
|
Reference in New Issue
Block a user