Optimize vehicle impact code by only calling vlen() if damage would be taken
[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 #define Settings_from(i) _Settings_from(i, NULL)
9 REGISTER_REGISTRY(Settings)
10 #define REGISTER_SETTINGS(id, impl) \
11     LAZY_NEW(id, impl) \
12     REGISTER(Settings, MENU, id, m_id, NEW(Lazy, LAZY(id)))
13
14 #endif