#include "../../client.h"
#include "../cl_localentity.h"
#include "e_main.h"
#include "event/actor/e_event_actorappear.h"
#include "event/actor/e_event_actoradd.h"
#include "event/actor/e_event_actormove.h"
#include "event/actor/e_event_actorturn.h"
#include "event/actor/e_event_actorstartshoot.h"
#include "event/actor/e_event_actorshoot.h"
#include "event/actor/e_event_actorshoothidden.h"
#include "event/actor/e_event_actorthrow.h"
#include "event/actor/e_event_actordie.h"
#include "event/actor/e_event_actorstats.h"
#include "event/actor/e_event_actorstatechange.h"
#include "event/actor/e_event_actordooraction.h"
#include "event/actor/e_event_actorreactionfirechange.h"
#include "event/actor/e_event_actorresetclientaction.h"
#include "event/actor/e_event_actorreservationchange.h"
#include "event/actor/e_event_actorrevitalised.h"
#include "event/inventory/e_event_invadd.h"
#include "event/inventory/e_event_invdel.h"
#include "event/inventory/e_event_invammo.h"
#include "event/inventory/e_event_invreload.h"
#include "event/player/e_event_reset.h"
#include "event/player/e_event_startgame.h"
#include "event/player/e_event_doendround.h"
#include "event/player/e_event_endroundannounce.h"
#include "event/player/e_event_results.h"
#include "event/player/e_event_centerview.h"
#include "event/world/e_event_entappear.h"
#include "event/world/e_event_entperish.h"
#include "event/world/e_event_entdestroy.h"
#include "event/world/e_event_addbrushmodel.h"
#include "event/world/e_event_addedict.h"
#include "event/world/e_event_explode.h"
#include "event/world/e_event_particleappear.h"
#include "event/world/e_event_particlespawn.h"
#include "event/world/e_event_dooropen.h"
#include "event/world/e_event_doorclose.h"
Go to the source code of this file.
Defines | |
#define | E(x) x, STRINGIFY(x) |
Functions | |
static qboolean | CL_CheckDefault (const eventRegister_t *self, const struct dbuffer *msg) |
A default check function that assumes the entnum is the first short in msg. | |
CASSERT (lengthof(events)==EV_NUM_EVENTS) | |
const eventRegister_t * | CL_GetEvent (const event_t eType) |
Variables | |
const eventRegister_t | events [] |
List of functions to register nodes. |
Definition in file e_main.c.
#define E | ( | x | ) | x, STRINGIFY(x) |
CASSERT | ( | lengthof(events) | = =EV_NUM_EVENTS |
) |
static qboolean CL_CheckDefault | ( | const eventRegister_t * | self, | |
const struct dbuffer * | msg | |||
) | [static] |
A default check function that assumes the entnum is the first short in msg.
self | The event we're checking. | |
msg | The buffer containing event information. It is not changed during the call, so it doesn't need to be copied before, and can be used as new afterwards. |
Definition at line 71 of file e_main.c.
References Com_DPrintf(), DEBUG_EVENTSYS, LE_IsLocked(), and NET_PeekShort().
const eventRegister_t* CL_GetEvent | ( | const event_t | eType | ) |
Definition at line 138 of file e_main.c.
References Com_Error(), ERR_DROP, EV_NULL, EV_NUM_EVENTS, i, and type.
Referenced by CL_CheckBattlescapeEvent(), CL_ExecuteBattlescapeEvent(), CL_GetEventTime(), CL_NetReceiveItem(), CL_NetSendItem(), and CL_ParseEvent().
const eventRegister_t events[] |
List of functions to register nodes.
Definition at line 84 of file e_main.c.
Referenced by CL_ParseCampaignEvents(), CP_CheckCampaignEvents(), and CP_GetEventsByID().