Registry: use BITS everywhere
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamesettings.qh
1 #ifdef MENUQC
2 #ifndef GAMESETTINGS_H
3 #define GAMESETTINGS_H
4
5 #include "xonotic/tab.qc"
6
7 REGISTRY(Settings, BITS(3))
8 REGISTER_REGISTRY(RegisterSettings)
9 #define REGISTER_SETTINGS(id, impl) \
10     LAZY_NEW(id, impl) \
11     REGISTER(RegisterSettings, MENU, Settings, id, m_id, NEW(Lazy, LAZY(id)))
12
13 #endif
14 #endif