blob: 8042d8a1f621dba833b49ca78e7723ccf0ec8288 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef HYBBX_ENTERTAIN_CONFIG_H
#define HYBBX_ENTERTAIN_CONFIG_H
#include "hybbx/config.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Entertain feature area — Main / standalone Main only.
* Chess is a fixed part of Entertain (no separate chess= INI key).
* Future: /proxychess (stub) for mesh play via Mains.
*/
typedef struct hybbx_entertain_config {
/** Non-zero when [entertain] enabled=yes and role allows. */
int enabled;
} hybbx_entertain_config_t;
void hybbx_entertain_config_defaults(hybbx_entertain_config_t *cfg);
/** Load [entertain]; force off on Secondary/Proxy. */
void hybbx_entertain_config_apply(const hybbx_config_t *config);
const hybbx_entertain_config_t *hybbx_entertain_config_get(void);
/** Non-zero when Entertain plugin should load. */
int hybbx_entertain_enabled(void);
#ifdef __cplusplus
}
#endif
#endif /* HYBBX_ENTERTAIN_CONFIG_H */
|