mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-21 00:22:29 +00:00
CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user