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

This commit is contained in:
Zeno Rogue
2025-02-24 11:45:12 +01:00
parent 46f77557ae
commit 958131a7da
2 changed files with 1 additions and 11 deletions
-7
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;
+1 -4
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
}