mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-21 19:44:04 +00:00
split namespace conformal into models and history
This commit is contained in:
18
quit.cpp
18
quit.cpp
@@ -147,7 +147,7 @@ hint hints[] = {
|
||||
dialog::addItem(XLAT("special display modes"), 'z');
|
||||
},
|
||||
[]() {
|
||||
pushScreen(conformal::model_menu);
|
||||
pushScreen(models::model_menu);
|
||||
}},
|
||||
|
||||
{
|
||||
@@ -212,15 +212,15 @@ hint hints[] = {
|
||||
popScreen();
|
||||
auto m = pmodel;
|
||||
pmodel = mdBand;
|
||||
int r = conformal::rotation;
|
||||
bool h = conformal::includeHistory;
|
||||
conformal::rotation = 0;
|
||||
conformal::includeHistory = true;
|
||||
conformal::create_playerpath();
|
||||
int r = models::rotation;
|
||||
bool h = history::includeHistory;
|
||||
models::rotation = 0;
|
||||
history::includeHistory = true;
|
||||
history::create_playerpath();
|
||||
cancel = [m,r,h] () {
|
||||
conformal::clear(); pmodel = m;
|
||||
conformal::rotation = r;
|
||||
conformal::includeHistory = h;
|
||||
history::clear(); pmodel = m;
|
||||
models::rotation = r;
|
||||
history::includeHistory = h;
|
||||
fullcenter(); };
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user