Xonotic
gamesettings.qh
Go to the documentation of this file.
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
#define REGISTER_REGISTRY(id)
Definition: registry.qh:212
#define REGISTRY_DEFINE_GET(id, null)
Definition: registry.qh:40
#define REGISTRY(id, max)
Declare a new registry.
Definition: registry.qh:26
#define NULL
Definition: post.qh:17
#define BITS(n)
Definition: bits.qh:9