CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM

This commit is contained in:
Zeno Rogue
2017-12-21 11:36:07 +01:00
parent d0a925a8ca
commit 57a5337b9f
9 changed files with 113 additions and 38 deletions
+6
View File
@@ -1097,10 +1097,12 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
if(euclid6) geometry = gNormal;
nontruncated = !nontruncated;
resetGeometry();
#if CAP_TEXTURE
if(texture::tstate == texture::tsActive)
texture::tstate = texture::tsAdjusting;
if(texture::tstate_max == texture::tsActive)
texture::tstate = texture::tsAdjusting;
#endif
}
if(switchWhat == 'g') {
if(geometry == targetgeometry) geometry = gNormal;
@@ -1109,8 +1111,12 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
if(nontruncated && euclid6) nontruncated = false;
resetGeometry();
#if CAP_TEXTURE
if(texture::tstate == texture::tsActive)
texture::tstate = texture::tsOff;
if(texture::tstate_max == texture::tsActive)
texture::tstate = texture::tsAdjusting;
#endif
}
if(switchWhat == 'y') {
yendor::on = !yendor::on;