1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-29 19:45:14 +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

@@ -1060,7 +1060,7 @@ bool texture_config::load() {
if(!data.readtexture(texturename)) return false;
if(!data.loadTextureGL()) return false;
calcparam();
conformal::configure();
models::configure();
drawthemap();
config.tstate = config.tstate_max = tsActive;
string s = move(texture_tuner);
@@ -1582,7 +1582,7 @@ EX void drawLine(hyperpoint h1, hyperpoint h2, color_t col, int steps IS(10)) {
}
void texture_config::true_remap() {
conformal::configure();
models::configure();
drawthemap();
if(DIM == 3) return;
clear_texture_map();
@@ -1644,7 +1644,7 @@ void texture_config::remap() {
else if(tstate == tsAdjusting) {
printf("perform_mapping %d/%d\n", config.tstate, config.tstate_max);
calcparam();
conformal::configure();
models::configure();
drawthemap();
perform_mapping();
finish_mapping();