mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 08:52:19 +00:00
no, rogueviz.h knows achievement/leaderboard only with RVCOL
This commit is contained in:
@@ -37,13 +37,6 @@
|
||||
#include "solver.cpp"
|
||||
#include "save.cpp"
|
||||
|
||||
#ifdef RVCOL
|
||||
namespace hr {
|
||||
void rv_achievement(const string& name);
|
||||
void rv_leaderboard(const string& name, int score);
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace nilrider {
|
||||
|
||||
multi::config scfg_nilrider;
|
||||
|
@@ -413,12 +413,9 @@ namespace smoothcam {
|
||||
void set_time(ld t);
|
||||
}
|
||||
|
||||
#ifdef RVCOL
|
||||
#if RVCOL
|
||||
void rv_achievement(const string& name);
|
||||
void rv_leaderboard(const string& name, int score);
|
||||
#else
|
||||
inline void rv_achievement(const string& name) {}
|
||||
inline void rv_leaderboard(const string& name, int score) {}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user