mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 10:48:04 +00:00
rogueviz::ads:: dsgame achievement
This commit is contained in:
@@ -394,6 +394,11 @@ bool ds_turn(int idelta) {
|
|||||||
|
|
||||||
auto& mshift = main_rock->pt_main.shift;
|
auto& mshift = main_rock->pt_main.shift;
|
||||||
if(mshift) {
|
if(mshift) {
|
||||||
|
#if RVCOL
|
||||||
|
constexpr ld win_time = 60;
|
||||||
|
if(current.shift < win_time && (current.shift + mshift) >= win_time && !game_over && all_params_default())
|
||||||
|
rogueviz::rv_achievement("DSGAME");
|
||||||
|
#endif
|
||||||
current.shift += mshift;
|
current.shift += mshift;
|
||||||
current.T = current.T * lorentz(2, 3, mshift);
|
current.T = current.T * lorentz(2, 3, mshift);
|
||||||
mshift = 0;
|
mshift = 0;
|
||||||
|
Reference in New Issue
Block a user