1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-02 18:29:03 +00:00

animation menu

This commit is contained in:
Zeno Rogue
2018-09-10 17:58:36 +02:00
parent a1fe4333d5
commit 6f2deeafcc
6 changed files with 418 additions and 6 deletions

View File

@@ -5046,9 +5046,9 @@ void drawMarkers() {
#if CAP_MODEL
m = netgen::mode == 0;
#endif
if(centerover.at && !playermoved && m && !conformal::on)
queuecircleat(centerover.at, .70 - .06 * sin(ticks/200.0),
darkena(int(175 + 25 * sin(ticks / 200.0)), 0, 0xFF));
if(centerover.at && !playermoved && m && !anims::any_animation())
queuecircleat(centerover.at, .70 - .06 * sintick(200),
darkena(int(175 + 25 * sintick(200)), 0, 0xFF));
if(multi::players > 1 || multi::alwaysuse) for(int i=0; i<numplayers(); i++) {
multi::cpid = i;
@@ -5636,12 +5636,14 @@ void gamescreen(int _darken) {
if(conformal::includeHistory) conformal::restore();
anims::apply();
#if CAP_RUG
if(rug::rugged) {
rug::actDraw();
} else
#endif
wrap_drawfullmap();
anims::rollback();
if(conformal::includeHistory) conformal::restoreBack();