1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-06 02:37:19 +00:00

no, rogueviz.h knows achievement/leaderboard only with RVCOL

This commit is contained in:
Zeno Rogue 2025-02-08 12:14:22 +01:00
parent 46f77557ae
commit 958131a7da
2 changed files with 1 additions and 11 deletions

View File

@ -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;

View File

@ -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
}