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

Go to the source code of this file.

Functions

void CL_ActorDoShoot (const eventRegister_t *self, dbuffer *msg)
 Shoot with weapon. More...
 
int CL_ActorDoShootTime (const eventRegister_t *self, dbuffer *msg, eventTiming_t *eventTiming)
 Decides if following events should be delayed. If the projectile has a speed value assigned, the delay is relative to the distance the projectile flies. There are other fire definition related options that might delay the execution of further events. More...
 

Function Documentation

int CL_ActorDoShootTime ( const eventRegister_t self,
dbuffer msg,
eventTiming_t eventTiming 
)

Decides if following events should be delayed. If the projectile has a speed value assigned, the delay is relative to the distance the projectile flies. There are other fire definition related options that might delay the execution of further events.

Definition at line 36 of file e_event_actorshoot.cpp.

References CL_GetNextTime(), CL_OutsideMap(), cls, fireDef_s::delayBetweenShots, FIRESH_GetFiredef(), eventTiming_s::impactTime, INVSH_GetItemByIDX(), client_static_s::isOurRound(), NET_ReadFormat(), eventTiming_s::nextTime, eventTiming_s::parsedDeath, SF_BOUNCED, eventTiming_s::shootTime, fireDef_s::speed, UNIT_SIZE, and VectorDist.