1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 19:37:40 +00:00

rogueviz adjusted to the changes

This commit is contained in:
Zeno Rogue
2023-08-14 20:13:52 +02:00
parent beb679ccab
commit 07857e612a
14 changed files with 32 additions and 35 deletions

View File

@@ -453,10 +453,10 @@ void show() {
last_segment = -1;
test_t = 0;
dialog::editNumber(test_t, 0, 100, 0.1, 0, "enter the percentage", "");
dialog::reaction = [] {
dialog::get_di().reaction = [] {
handle_animation(test_t / 100);
};
dialog::extra_options = [] {
dialog::get_di().extra_options = [] {
dialog::addSelItem("current segment", its(last_segment), 'C');
dialog::addSelItem("current front", fts(c_front_dist), 'F');
dialog::addSelItem("current up", fts(c_up_dist), 'U');