1
0
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:
Zeno Rogue
2019-08-10 00:58:50 +02:00
parent 6ed530c50c
commit 5ea055b39e
25 changed files with 999 additions and 1630 deletions

View File

@@ -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(); };
}
},