1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

line animation records in reverse if lvspeed < 0, and no longer goes to far

This commit is contained in:
Zeno Rogue 2019-06-16 15:26:53 +02:00
parent e8becb8ba2
commit daeffa3647
2 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,8 @@ void showOverview() {
mouseovers += " "; mouseovers += " ";
mouseovers += XLAT(" kills: %1/%2", its(tkills()), its(killtypes())); mouseovers += XLAT(" kills: %1/%2", its(tkills()), its(killtypes()));
mouseovers += XLAT(" $$$: %1", its(gold())); mouseovers += XLAT(" $$$: %1", its(gold()));
if(landUnlocked(laHell)) { if(randomPatternsMode) ;
else if(landUnlocked(laHell)) {
int i1, i2; countHyperstoneQuest(i1, i2); int i1, i2; countHyperstoneQuest(i1, i2);
mouseovers += XLAT(" Hyperstone: %1/%2", its(i1), its(i2)); mouseovers += XLAT(" Hyperstone: %1/%2", its(i1), its(i2));
} }

View File

@ -708,7 +708,9 @@ bool record_animation() {
apply(); apply();
conformal::configure(); conformal::configure();
if(conformal::on) { if(conformal::on) {
conformal::phase = isize(conformal::v) * i * 1. / noframes; int len = (isize(conformal::v)-1);
conformal::phase = len * i * 1. / noframes;
if(conformal::lvspeed < 0) conformal::phase = len - conformal::phase;
conformal::movetophase(); conformal::movetophase();
} }