1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-07 10:52:23 +00:00

changed chamfered to bitruncated

This commit is contained in:
Zeno Rogue
2018-01-06 22:34:03 +01:00
parent 1427147fbc
commit 5bf6d54c7d
40 changed files with 357 additions and 357 deletions

View File

@@ -373,7 +373,7 @@ bool apply(cell *c, const transmatrix &V, int col) {
typedef tuple<eGeometry, bool, char, int, eModel, ld, ld> texture_parameters;
static const auto current_texture_parameters = tie(geometry, nonchamfered, patterns::whichPattern, patterns::subpattern_flags, pmodel, vid.scale, vid.alpha);
static const auto current_texture_parameters = tie(geometry, nonbitrunc, patterns::whichPattern, patterns::subpattern_flags, pmodel, vid.scale, vid.alpha);
texture_parameters orig_texture_parameters;
@@ -661,7 +661,7 @@ patterns::patterninfo si_save;
saverlist texturesavers;
bool target_nonchamf;
bool target_nonbitru;
void init_textureconfig() {
texturesavers = move(savers);
@@ -679,7 +679,7 @@ void init_textureconfig() {
addsaver(vid.yposition, "Y position", 0);
addsaver(vid.xposition, "X position", 0);
addsaver(vid.camera_angle, "camera angle", 0);
addsaverenum(target_nonchamf, "chamfering", false);
addsaverenum(target_nonbitru, "bitruncated", false);
// ... geometry parameters
addsaver(patterns::whichPattern, "pattern", 0);
@@ -713,7 +713,7 @@ bool save_textureconfig() {
if(!f) return false;
targetgeometry = geometry;
target_nonchamf = nonchamfered;
target_nonbitru = nonbitrunc;
for(auto s: texturesavers) if(s->dosave())
fprintf(f, "%s=%s\n", s->name.c_str(), s->save().c_str());
@@ -742,7 +742,7 @@ bool load_textureconfig() {
return load_textureconfig();
}
if(nonchamfered != target_nonchamf) {
if(nonbitrunc != target_nonbitru) {
restartGame('7');
}
}