ru:: renamed statdata table to statinfo, to not confuse with statdata type

This commit is contained in:
Zeno Rogue
2025-12-07 20:17:15 +01:00
parent 19928433a4
commit c148095446
2 changed files with 16 additions and 14 deletions
+8
View File
@@ -206,6 +206,14 @@ template<class T> struct statarray : array<T, qstat> {
const T& operator [] (stat s) const { return array<T, qstat>::operator[] ((int) s); };
};
struct statinfo {
char key;
string name;
string desc;
};
extern statarray<statinfo> statinfos;
struct stater {
virtual stater& act(const string& s, int& i, int _i) = 0;
virtual stater& act(const string& s, bool& b, bool _b) = 0;