mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-11 03:34:07 +00:00
rogueviz::seuphorica:: clear memory
This commit is contained in:
parent
5cb12520c5
commit
e01002122d
@ -1317,6 +1317,14 @@ void seuphorica_menu() {
|
||||
void enable() {
|
||||
rogueviz::rv_hook(hooks_build_help, 100, [] { help = fix(seuphorica::rules); return true; });
|
||||
rogueviz::rv_hook(hooks_drawcell, 100, draw);
|
||||
rogueviz::rv_hook(hooks_clearmemory, 100, [] {
|
||||
board.clear();
|
||||
just_placed.clear();
|
||||
tile_orientation.clear();
|
||||
list_order.clear();
|
||||
distance_from_board.clear();
|
||||
distance_to.clear();
|
||||
});
|
||||
rogueviz::rv_change(showstartmenu, false);
|
||||
rogueviz::rv_change(mapeditor::drawplayer, false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user