1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

rogueviz::smoothcam:: edit the animation with the o-key

This commit is contained in:
Zeno Rogue 2021-04-07 18:07:55 +02:00
parent 59783a1478
commit 58af5f156d

View File

@ -534,6 +534,7 @@ void enable() {
rogueviz::rv_hook(hooks_postoptimize, 75, analyze_view_post);
rogueviz::rv_hook(anims::hooks_anim, 100, handle_animation0);
rogueviz::rv_hook(hooks_drawcell, 100, draw_labels);
rogueviz::rv_hook(hooks_o_key, 190, [] (o_funcs& v) { v.push_back(named_dialog("smoothcam", show)); });
rogueviz::rv_hook(mapstream::hooks_savemap, 100, [] (fhstream& f) {
f.write<int>(17);
hwrite(f, anims);