]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/gamesettings.qh
Merge branch 'TimePath/gamesettings' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamesettings.qh
1 #ifdef MENUQC
2 #ifndef GAMESETTINGS_H
3 #define GAMESETTINGS_H
4
5 void RegisterSettings();
6 const int MAX_SETTINGS = 24;
7 Lazy SETTINGS[MAX_SETTINGS], SETTINGS_first, SETTINGS_last;
8 int SETTINGS_COUNT;
9 #define REGISTER_SETTINGS(id, impl) \
10     LAZY_NEW(id, impl) \
11     REGISTER(RegisterSettings, MENU, SETTINGS, SETTINGS_COUNT, id, m_id, NEW(Lazy, LAZY(id)))
12 REGISTER_REGISTRY(RegisterSettings)
13
14 #endif
15 #endif