mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-06 22:20:10 +00:00
FPP animation actually added
This commit is contained in:
parent
17ffe53839
commit
6a3cf8f28e
@ -1292,6 +1292,7 @@ startanim fib_ghosts { "Fibonacci ghosts", no_init, [] {
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
startanim fpp { "first-person perspective", no_init, [] {
|
startanim fpp { "first-person perspective", no_init, [] {
|
||||||
|
if(MAXMDIM == 3) { current = &null_animation; return; }
|
||||||
geom3::switch_fpp();
|
geom3::switch_fpp();
|
||||||
View = cspin(0, 2, ticks / 5000.) * View;
|
View = cspin(0, 2, ticks / 5000.) * View;
|
||||||
gamescreen(2);
|
gamescreen(2);
|
||||||
@ -1311,7 +1312,7 @@ EX void pick() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vector<startanim*> known = { &null_animation, &perspective, &joukowsky, &bandspin, &rug, &spin_around, &row_of_ghosts, &ghost_spiral, &army_of_ghosts, &fib_ghosts, &fpp };
|
vector<startanim*> known = { &null_animation, &perspective, &joukowsky, &bandspin, &rug, &spin_around, &row_of_ghosts, &ghost_spiral, &army_of_ghosts, &fib_ghosts, &fpp };
|
||||||
int id = rand() % 10;
|
int id = rand() % 11;
|
||||||
current = known[id];
|
current = known[id];
|
||||||
ticks_start = ticks;
|
ticks_start = ticks;
|
||||||
current->init();
|
current->init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user