Go to the source code of this file.
|
#define | _CHIMPULSE(id, n) |
|
#define | _REGISTER_IMPULSE(id, alias, n) |
|
#define | CHIMPULSE(id, n) _CHIMPULSE(CHIMPULSE_##id, n) |
|
#define | IMPULSE_ALIAS(alias, id) |
|
#define | LEGACY_IMPULSE(alias, id, new) |
|
#define | LEGACY_IMPULSE_ID(alias, id) LEGACY_IMPULSE(alias, id, sprintf("impulse %d", IMP_##alias.impulse)) |
|
#define | REGISTER_IMPULSE(id, n) _REGISTER_IMPULSE(IMP_##id, id, n) |
|
#define | X(slot, imp) |
|
#define | X(slot, dir, imp) |
|
#define | X(i, imp) REGISTER_IMPULSE(weapon_byid_##i, imp) |
|
|
void | _impCheck (string s, string alias) |
|
| STATIC_INIT (IMPULSES_renumber) |
|
| void (entity this) impulse_handle |
|
| X (1, 1) X(2 |
|
| X (3, 3) X(4 |
|
| X (5, 5) X(6 |
|
| X (7, 7) X(8 |
|
| X (9, 9) X(0 |
|
| X (0, prev, 200) X(1 |
|
| X (2, prev, 202) X(3 |
|
| X (4, prev, 204) X(5 |
|
| X (6, prev, 206) X(7 |
|
| X (8, prev, 208) X(9 |
|
| X (0, best, 210) X(1 |
|
| X (2, best, 212) X(3 |
|
| X (4, best, 214) X(5 |
|
| X (6, best, 216) X(7 |
|
| X (8, best, 218) X(9 |
|
| X (0, next, 220) X(1 |
|
| X (2, next, 222) X(3 |
|
| X (4, next, 224) X(5 |
|
| X (6, next, 226) X(7 |
|
| X (8, next, 228) X(9 |
|
| X (0, 230) X(1 |
|
| X (2, 232) X(3 |
|
| X (4, 234) X(5 |
|
| X (6, 236) X(7 |
|
| X (8, 238) X(9 |
|
| X (10, 240) X(11 |
|
| X (12, 242) X(13 |
|
| X (14, 244) X(15 |
|
| X (16, 246) X(17 |
|
| X (18, 248) X(19 |
|
| X (20, 250) X(21 |
|
| X (22, 252) X(23 |
|
◆ _CHIMPULSE
#define _CHIMPULSE |
( |
|
id, |
|
|
|
n |
|
) |
| |
Value: { \
this.impulse = n; \
}
#define REGISTER(...)
Register a new entity with a registry.
#define new_pure(class)
purely logical entities (.origin doesn't work)
Definition at line 200 of file all.qh.
◆ _REGISTER_IMPULSE
#define _REGISTER_IMPULSE |
( |
|
id, |
|
|
|
alias, |
|
|
|
n |
|
) |
| |
Value: { \
this.impulse = n; \
IMPULSE_ALIAS(alias, "impulse " #n); \
}
#define REGISTER(...)
Register a new entity with a registry.
#define new_pure(class)
purely logical entities (.origin doesn't work)
Definition at line 23 of file all.qh.
◆ CHIMPULSE
#define CHIMPULSE |
( |
|
id, |
|
|
|
n |
|
) |
| _CHIMPULSE(CHIMPULSE_##id, n) |
◆ IMPULSE_ALIAS
#define IMPULSE_ALIAS |
( |
|
alias, |
|
|
|
id |
|
) |
| |
◆ LEGACY_IMPULSE
#define LEGACY_IMPULSE |
( |
|
alias, |
|
|
|
id, |
|
|
|
new |
|
) |
| |
Value: string s = new; \
_impCheck(s, #alias); \
IMPULSE_ALIAS(alias, s); \
} \
SHUTDOWN(legacy_##alias) {
IMPULSE_ALIAS(alias,
"impulse " #
id); }
#define IMPULSE_ALIAS(alias, id)
STATIC_INIT(IMPULSES_renumber)
Definition at line 39 of file all.qh.
◆ LEGACY_IMPULSE_ID
◆ REGISTER_IMPULSE
◆ X [1/3]
Value: LEGACY_IMPULSE(weapon_group_##slot,
imp,
"impulse " #
imp)
#define REGISTER_IMPULSE(id, n)
Definition at line 101 of file all.qh.
◆ X [2/3]
Value: LEGACY_IMPULSE(weapon_priority_##slot##_##
dir,
imp,
"impulse " #
imp)
#define REGISTER_IMPULSE(id, n)
Definition at line 101 of file all.qh.
◆ X [3/3]
◆ _impCheck()
Definition at line 32 of file all.qh.
References LOG_FATALF.
36 LOG_FATALF(
"LEGACY_IMPULSE: would define a recursive alias for '%s', use LEGACY_IMPULSE_ID instead", s);
◆ STATIC_INIT()
STATIC_INIT |
( |
IMPULSES_renumber |
| ) |
|
◆ void()
◆ X() [1/32]
◆ X() [2/32]
◆ X() [3/32]
◆ X() [4/32]
◆ X() [5/32]
◆ X() [6/32]
◆ X() [7/32]
◆ X() [8/32]
◆ X() [9/32]
◆ X() [10/32]
◆ X() [11/32]
◆ X() [12/32]
◆ X() [13/32]
◆ X() [14/32]
◆ X() [15/32]
◆ X() [16/32]
◆ X() [17/32]
◆ X() [18/32]
◆ X() [19/32]
◆ X() [20/32]
◆ X() [21/32]
◆ X() [22/32]
◆ X() [23/32]
◆ X() [24/32]
◆ X() [25/32]
◆ X() [26/32]
◆ X() [27/32]
◆ X() [28/32]
◆ X() [29/32]
◆ X() [30/32]
◆ X() [31/32]
◆ X() [32/32]
◆ best
Definition at line 77 of file all.qh.
Referenced by bot_removefromlargestteam(), bot_removenewest(), Container_preferredFocusedGrandChild(), for(), havocbot_chooseenemy(), havocbot_gettarget(), havocbot_goalrating_ast_targets(), havocbot_goalrating_ons_controlpoints_attack(), invasion_GetWaveEntity(), m_findtooltipitem(), navigation_findnearestwaypoint_withdist_except(), pathlib_wpp_bestopen(), and PM_jetpack().
◆ next
◆ prev
Definition at line 66 of file all.qh.
Referenced by _draw_SetClip(), AuditLists(), CallbackChain::CallbackChain_Add(), CallbackChain::CallbackChain_Remove(), for(), HUD_MinigameMenu_ClickCreate(), HUD_MinigameMenu_ClickInvite(), HUD_MinigameMenu_ClickJoin(), HUD_MinigameMenu_InsertEntry(), IL_POP(), IL_REMOVE(), InitializeEntity(), InputContainer__changeFocusXY(), LL_POP(), make_safe_for_remove(), MapInfo_CurrentGametype(), and SelectSpawnPoint().