mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-30 03:50:34 +00:00
manual-animation:: crosshair displayed only when keys_on
This commit is contained in:
parent
51e1fe06b3
commit
f3f61a1337
@ -29,9 +29,13 @@ bool trailer_turn(int delta) {
|
|||||||
|
|
||||||
bool recording;
|
bool recording;
|
||||||
|
|
||||||
|
bool keys_on = false;
|
||||||
|
|
||||||
void trailer_frame() {
|
void trailer_frame() {
|
||||||
// if(saving_positions || !isize(saved))
|
// if(saving_positions || !isize(saved))
|
||||||
if(!recording) queuechr(current_display->xcenter, current_display->ycenter, 0, 16, '+', 0xFFFFFFFF);
|
if(!recording && keys_on) queuechr(current_display->xcenter, current_display->ycenter, 0, 16, '+', 0xFFFFFFFF);
|
||||||
|
if(!recording && keys_on) queuechr(current_display->xcenter/2, current_display->ycenter, 0, 16, '+', 0xFFFFFFFF);
|
||||||
|
if(!recording && keys_on) queuechr(current_display->xcenter*3/2, current_display->ycenter, 0, 16, '+', 0xFFFFFFFF);
|
||||||
|
|
||||||
if(saving_positions && ticks > next_pos_tick) {
|
if(saving_positions && ticks > next_pos_tick) {
|
||||||
next_pos_tick += 66;
|
next_pos_tick += 66;
|
||||||
@ -40,8 +44,6 @@ void trailer_frame() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool keys_on = false;
|
|
||||||
|
|
||||||
ld stepdist = 0.02;
|
ld stepdist = 0.02;
|
||||||
|
|
||||||
ld stepang = 0.01;
|
ld stepang = 0.01;
|
||||||
|
Loading…
Reference in New Issue
Block a user