e_event_actorstartshoot.c File Reference

#include "../../../../client.h"
#include "../../../cl_localentity.h"
#include "../../../../renderer/r_mesh_anim.h"
#include "e_event_actorstartshoot.h"
Include dependency graph for e_event_actorstartshoot.c:

Go to the source code of this file.

Functions

int CL_ActorStartShootTime (const eventRegister_t *self, struct dbuffer *msg, const int dt)
void CL_ActorStartShoot (const eventRegister_t *self, struct dbuffer *msg)
 Starts shooting with actor.

Detailed Description

Definition in file e_event_actorstartshoot.c.


Function Documentation

void CL_ActorStartShoot ( const eventRegister_t self,
struct dbuffer msg 
)

Starts shooting with actor.

Parameters:
[in] self Pointer to the event structure that is currently executed
[in] msg The netchannel message
See also:
CL_ActorShootHidden
CL_ActorShoot
CL_ActorDoShoot
Todo:
Improve detection of left- or right animation.
See also:
EV_ACTOR_START_SHOOT

Definition at line 50 of file e_event_actorstartshoot.c.

References le_s::as, cl, CL_CameraRoute(), cls, Com_Error(), Com_Printf(), ERR_DROP, ET_ACTORHIDDEN, IS_SHOT_HEADGEAR, IS_SHOT_LEFT, IS_SHOT_RIGHT, LE_Get(), LE_GetAnim(), LE_IsLivingActor(), LE_IsStunned, le_s::left, le_s::model1, NET_ReadFormat(), R_AnimChange(), le_s::right, le_s::state, client_static_s::team, and le_s::type.

int CL_ActorStartShootTime ( const eventRegister_t self,
struct dbuffer msg,
const int  dt 
)

Definition at line 30 of file e_event_actorstartshoot.c.

References cl, nextTime, and shootTime.


Generated by  doxygen 1.6.2