e_main.c File Reference

#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"
Include dependency graph for e_main.c:

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_tCL_GetEvent (const event_t eType)

Variables

const eventRegister_t events []
 List of functions to register nodes.

Detailed Description

Definition in file e_main.c.


Define Documentation

#define E (  )     x, STRINGIFY(x)

Function Documentation

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.

Parameters:
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  ) 

Variable Documentation

List of functions to register nodes.

Note:
Functions must be sorted by node name

Definition at line 84 of file e_main.c.

Referenced by CL_ParseCampaignEvents(), CP_CheckCampaignEvents(), and CP_GetEventsByID().


Generated by  doxygen 1.6.2