466 |
#define HLW_SNARK 15 |
#define HLW_SNARK 15 |
467 |
#define HLW_SUIT 31 |
#define HLW_SUIT 31 |
468 |
#define HLW_ALLWEAPONS (~(1<<HLW_SUIT)) |
#define HLW_ALLWEAPONS (~(1<<HLW_SUIT)) |
469 |
|
|
470 |
|
|
471 |
|
#define FEV_NOTHOST (1<<0) // Skip local host for event send. |
472 |
|
#define FEV_RELIABLE (1<<1) // Send the event reliably. You must specify the origin and angles |
473 |
|
// for this to work correctly on the server for anything |
474 |
|
// that depends on the event origin/angles. I.e., the origin/angles are not |
475 |
|
// taken from the invoking edict for reliable events. |
476 |
|
#define FEV_GLOBAL (1<<2) // Don't restrict to PAS/PVS, send this event to _everybody_ on the server ( useful for stopping CHAN_STATIC |
477 |
|
// sounds started by client event when client is not in PVS anymore ( hwguy in TFC e.g. ). |
478 |
|
#define FEV_UPDATE (1<<3) // If this client already has one of these events in its queue, just update the event instead of sending it as a duplicate |
479 |
|
#define FEV_HOSTONLY (1<<4) // Only send to entity specified as the invoker |
480 |
|
#define FEV_SERVER (1<<5) // Only send if the event was created on the server. |
481 |
|
#define FEV_CLIENT (1<<6) // Only issue event client side ( from shared code ) |
482 |
|
|
483 |
|
// These are caps bits to indicate what an object's capabilities (currently used for save/restore and level transitions) |
484 |
|
#define FCAP_CUSTOMSAVE 0x00000001 |
485 |
|
#define FCAP_ACROSS_TRANSITION 0x00000002 // should transfer between transitions |
486 |
|
#define FCAP_MUST_SPAWN 0x00000004 // Spawn after restore |
487 |
|
#define FCAP_DONT_SAVE 0x80000000 // Don't save this |
488 |
|
#define FCAP_IMPULSE_USE 0x00000008 // can be used by the player |
489 |
|
#define FCAP_CONTINUOUS_USE 0x00000010 // can be used by the player |
490 |
|
#define FCAP_ONOFF_USE 0x00000020 // can be used by the player |
491 |
|
#define FCAP_DIRECTIONAL_USE 0x00000040 // Player sends +/- 1 when using (currently only tracktrains) |
492 |
|
#define FCAP_MASTER 0x00000080 // Can be used to "master" other entities (like multisource) |