mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 08:23:08 +00:00
cleanup mapeditor
This commit is contained in:
1 parent
4422b910c0
commit
4ec7652861
3 files changed
+26
-50
No files matched your search
@@ -7664,7 +7664,13 @@ EX void normalscreen() {
|
||||
describeMouseover();
|
||||
}
|
||||
|
||||
vector< function<void()> > screens = { normalscreen };
|
||||
EX vector< function<void()> > screens = { normalscreen };
|
||||
|
||||
#if HDR
|
||||
template<class T> void pushScreen(const T& x) { screens.push_back(x); }
|
||||
inline void popScreen() { if(isize(screens)>1) screens.pop_back(); }
|
||||
inline void popScreenAll() { while(isize(screens)>1) popScreen(); }
|
||||
#endif
|
||||
|
||||
EX int cmode;
|
||||
|
||||
|
||||
Reference in new issue
Block a user