]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/gamesettings.qh
Add a custom type for boolean stats too to ensure they're only sent as a single byte
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / gamesettings.qh
1 #pragma once
2
3 #ifdef MENUQC
4
5 #include "xonotic/tab.qh"
6
7 REGISTRY(Settings, BITS(3))
8 REGISTER_REGISTRY(Settings)
9
10 REGISTRY_DEFINE_GET(Settings, NULL)
11 #define REGISTER_SETTINGS(id, impl) \
12     LAZY_NEW(id, impl) \
13     REGISTER(Settings, MENU, id, m_id, NEW(Lazy, LAZY(id)))
14
15 #endif