Mercurial > molko
comparison libmlk-core/core/inhibit.h @ 253:c4da052c0def
core: goodbye doxygen
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 03 Dec 2020 09:06:52 +0100 |
parents | 71b3b7036de7 |
children | d01e83210ca2 |
comparison
equal
deleted
inserted
replaced
252:95c2c4a72410 | 253:c4da052c0def |
---|---|
17 */ | 17 */ |
18 | 18 |
19 #ifndef MOLKO_CORE_INHIBIT_H | 19 #ifndef MOLKO_CORE_INHIBIT_H |
20 #define MOLKO_CORE_INHIBIT_H | 20 #define MOLKO_CORE_INHIBIT_H |
21 | 21 |
22 /** | |
23 * \file inhibit.h | |
24 * \brief Disable specific game behavior. | |
25 */ | |
26 | |
27 struct action; | |
28 | |
29 /** | |
30 * \brief Game inhibition. | |
31 * | |
32 * This enum is used to alter the game behavior. | |
33 */ | |
34 enum inhibit { | 22 enum inhibit { |
35 /** | |
36 * Nothing. | |
37 */ | |
38 INHIBIT_NONE, | 23 INHIBIT_NONE, |
39 | |
40 /** | |
41 * Disable input handling in current state. | |
42 */ | |
43 INHIBIT_STATE_INPUT = (1 << 0), | 24 INHIBIT_STATE_INPUT = (1 << 0), |
44 | |
45 /** | |
46 * Disable current state updates. | |
47 */ | |
48 INHIBIT_STATE_UPDATE = (1 << 1), | 25 INHIBIT_STATE_UPDATE = (1 << 1), |
49 | |
50 /** | |
51 * Disable current state rendering. | |
52 */ | |
53 INHIBIT_STATE_DRAW = (1 << 2) | 26 INHIBIT_STATE_DRAW = (1 << 2) |
54 }; | 27 }; |
55 | 28 |
56 #endif /* !MOLKO_CORE_INHIBIT_H */ | 29 #endif /* !MOLKO_CORE_INHIBIT_H */ |