mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
manual-animation:: more messages in general
This commit is contained in:
parent
e81f697705
commit
ace7214ee4
@ -173,14 +173,16 @@ bool trailer_handleKey(int sym, int uni) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sym == 'b') {
|
if(sym == 'b' && isize(saved) > 1) {
|
||||||
saved.pop_back();
|
saved.pop_back();
|
||||||
|
println(hlog, "back to ", isize(saved), " frames");
|
||||||
tie(View, nisot::local_perspective, hybrid::current_view_level, viewctr) = saved.back();
|
tie(View, nisot::local_perspective, hybrid::current_view_level, viewctr) = saved.back();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sym == 'u' && isize(saved) > 40) {
|
if(sym == 'u' && isize(saved) > 40) {
|
||||||
for(int i=0; i<30; i++) saved.pop_back();
|
for(int i=0; i<30; i++) saved.pop_back();
|
||||||
|
println(hlog, "back to ", isize(saved), " frames");
|
||||||
tie(View, nisot::local_perspective, hybrid::current_view_level, viewctr) = saved.back();
|
tie(View, nisot::local_perspective, hybrid::current_view_level, viewctr) = saved.back();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -189,13 +191,16 @@ bool trailer_handleKey(int sym, int uni) {
|
|||||||
recording = true;
|
recording = true;
|
||||||
if(mouseaim_sensitivity) {
|
if(mouseaim_sensitivity) {
|
||||||
mouseaim_sensitivity = 0;
|
mouseaim_sensitivity = 0;
|
||||||
|
println(hlog, "disabled mouseaim");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(musicvolume) {
|
if(musicvolume) {
|
||||||
|
println(hlog, "disabled music");
|
||||||
musicvolume = 0;
|
musicvolume = 0;
|
||||||
Mix_VolumeMusic(0);
|
Mix_VolumeMusic(0);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
println(hlog, "starting recording");
|
||||||
saving_positions = false;
|
saving_positions = false;
|
||||||
// vid.cells_drawn_limit = 1000000;
|
// vid.cells_drawn_limit = 1000000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user