mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
rogueviz::smoothcam:: an option to draw the crosshair
This commit is contained in:
parent
821745dfa7
commit
774771e5f5
@ -166,6 +166,7 @@ void edit_step(animation& anim, int id) {
|
||||
void show() {
|
||||
cmode = sm::SIDE;
|
||||
gamescreen(0);
|
||||
draw_crosshair();
|
||||
dialog::init(XLAT("smooth camera"), 0xFFFFFFFF, 150, 0);
|
||||
char key = 'A';
|
||||
int aid = 0;
|
||||
@ -212,6 +213,9 @@ void show() {
|
||||
if(view_trace) generate_trace();
|
||||
});
|
||||
|
||||
dialog::addBoolItem("view the crosshair", crosshair_size, 'x');
|
||||
dialog::add_action([] { crosshair_size = crosshair_size ? 0 : 10; });
|
||||
|
||||
dialog::addBoolItem("run the animation", animate_on, 'r');
|
||||
dialog::add_action([] {
|
||||
animate_on = !animate_on;
|
||||
|
Loading…
Reference in New Issue
Block a user