mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 19:07:40 +00:00
major cleanup of texture remapping
This commit is contained in:
@@ -801,10 +801,6 @@ int celldist(cell *c, bool alts) {
|
||||
eGeometry orig_geometry;
|
||||
|
||||
void start_game_on_created_map() {
|
||||
#if CAP_TEXTURE
|
||||
auto old_tstate = texture::config.tstate;
|
||||
auto old_tstate_max = texture::config.tstate_max;
|
||||
#endif
|
||||
popScreen();
|
||||
for(hrmap *& hm : allmaps) if(hm == base) hm = NULL;
|
||||
stop_game();
|
||||
@@ -815,9 +811,6 @@ void start_game_on_created_map() {
|
||||
need_reset_geometry = true;
|
||||
gridmaking = false;
|
||||
start_game();
|
||||
#if CAP_TEXTURE
|
||||
texture::config.remap(old_tstate, old_tstate_max);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool save_map(const string& fname) {
|
||||
|
||||
Reference in New Issue
Block a user