1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 06:45:59 +00:00

gamescreen updated in rogueviz

This commit is contained in:
Zeno Rogue
2022-07-05 16:03:12 +02:00
parent 80cc89f6eb
commit b2fb02f863
26 changed files with 39 additions and 37 deletions

View File

@@ -141,7 +141,7 @@ transmatrix try_harder_relative_matrix(cell *at, cell *from) {
void edit_segment(int aid) {
cmode = sm::PANNING;
gamescreen(0);
gamescreen();
dialog::init(XLAT("animation segment"), 0xFFFFFFFF, 150, 0);
dialog::addSelItem("interval", fts(anims[aid].start_interval), 'i');
edit_interval(anims[aid].start_interval);
@@ -181,7 +181,7 @@ void generate_trace();
void edit_step(animation& anim, int id) {
cmode = 0;
gamescreen(0);
gamescreen();
dialog::init(XLAT("animation step"), 0xFFFFFFFF, 150, 0);
auto& f = anim.frames[id];
dialog::addSelItem("title", f.title, 't');
@@ -268,7 +268,7 @@ void handle_animation(ld t);
void show() {
cmode = 0;
gamescreen(0);
gamescreen();
draw_crosshair();
dialog::init(XLAT("smooth camera"), 0xFFFFFFFF, 150, 0);
char key = 'A';