UFO: Alien Invasion
Loading...
Searching...
No Matches
e_event_invadd.h File Reference
#include "../../e_main.h"
Include dependency graph for e_event_invadd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int CL_InvAddTime (const struct eventRegister_s *self, dbuffer *msg, eventTiming_t *eventTiming)
 Decides if following events should be delayed.
void CL_InvAdd (const eventRegister_t *self, dbuffer *msg)

Function Documentation

◆ CL_InvAdd()

◆ CL_InvAddTime()

int CL_InvAddTime ( const struct eventRegister_s * self,
dbuffer * msg,
eventTiming_t * eventTiming )

Decides if following events should be delayed.

Todo
but if the dying actor didn't have any item in its inventory this event won't be sent, the next unrelated EV_INV_ADD event might be badly scheduled

Definition at line 58 of file e_event_invadd.cpp.

References cl, eventTiming_t::impactTime, eventTiming_t::nextTime, eventTiming_t::parsedDeath, and eventTiming_t::parsedShot.