1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

rogueviz::kohonen::clear (not used yet)

This commit is contained in:
Zeno Rogue 2018-07-09 18:56:27 +02:00
parent c42fb45fca
commit e6bdfcc94f
2 changed files with 17 additions and 0 deletions

View File

@ -1374,6 +1374,22 @@ auto hooks = addHook(hooks_args, 100, readArgs);
#endif
auto hooks2 = addHook(hooks_frame, 50, levelline::draw);
void clear() {
printf("clearing Kohonen...\n");
data.clear();
sample_vdata_id.clear();
colnames.clear();
weights.clear();
net.clear();
whowon.clear();
samples_to_show.clear();
scc.clear();
bdiffs.clear();
bids.clear();
bdiffn.clear();
}
}}
namespace rogueviz {

View File

@ -91,6 +91,7 @@ namespace rogueviz {
void steps();
void showMenu();
bool handleMenu(int sym, int uni);
void clear();
}
namespace staircase {