UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
e_event_invadd.h File Reference
#include "../../e_main.h"

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. More...
 
void CL_InvAdd (const eventRegister_t *self, dbuffer *msg)
 

Function Documentation

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_s::impactTime, eventTiming_s::nextTime, eventTiming_s::parsedDeath, eventTiming_s::parsedShot, and clientBattleScape_s::time.