1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

rogueviz::kohonen::coloring_3d now via rv_hook

This commit is contained in:
Zeno Rogue 2021-03-31 12:25:25 +02:00
parent 03f55aa372
commit e5b87a1a36

View File

@ -399,8 +399,6 @@ bool coloring_3d(cell *c, const shiftmatrix& V) {
return false;
}
int khd = addHook(hooks_drawcell, 100, coloring_3d);
// traditionally Gaussian blur is used in the Kohonen algoritm
// but it does not seem to make much sense in hyperbolic geometry
// especially wrapped one.
@ -1776,7 +1774,7 @@ void initialize_rv() {
rv_hook(shmup::hooks_turn, 100, turn);
rv_hook(rogueviz::hooks_rvmenu, 100, showMenu);
rv_hook(hooks_readcolor, 100, kohonen_color);
// rv_hook(mine::hooks_mark, 50, mark);
rv_hook(hooks_drawcell, 100, coloring_3d);
}
}