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

renamed 'truncated' to 'chamfered'

This commit is contained in:
Zeno Rogue
2018-01-04 18:39:04 +01:00
parent f3cf1e06bf
commit 495dbba809
40 changed files with 351 additions and 351 deletions

View File

@@ -367,7 +367,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, nontruncated, patterns::whichPattern, patterns::subpattern_flags, pmodel, vid.scale, vid.alpha);
static const auto current_texture_parameters = tie(geometry, nonchamfered, patterns::whichPattern, patterns::subpattern_flags, pmodel, vid.scale, vid.alpha);
texture_parameters orig_texture_parameters;
@@ -655,7 +655,7 @@ patterns::patterninfo si_save;
saverlist texturesavers;
bool target_nontrunc;
bool target_nonchamf;
void init_textureconfig() {
texturesavers = move(savers);
@@ -673,7 +673,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_nontrunc, "chamfering", false);
addsaverenum(target_nonchamf, "chamfering", false);
// ... geometry parameters
addsaver(patterns::whichPattern, "pattern", 0);
@@ -707,7 +707,7 @@ bool save_textureconfig() {
if(!f) return false;
targetgeometry = geometry;
target_nontrunc = nontruncated;
target_nonchamf = nonchamfered;
for(auto s: texturesavers) if(s->dosave())
fprintf(f, "%s=%s\n", s->name.c_str(), s->save().c_str());
@@ -736,7 +736,7 @@ bool load_textureconfig() {
return load_textureconfig();
}
if(nontruncated != target_nontrunc) {
if(nonchamfered != target_nonchamf) {
restartGame('7');
}
}