mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
rogueviz::smoothcam:: edit the animation with the o-key
This commit is contained in:
parent
59783a1478
commit
58af5f156d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user