libcod
gsc_player.cpp File Reference
#include "gsc_player.hpp"
Include dependency graph for gsc_player.cpp:

Macros

#define PLAYERSTATE(playerid)   (playerStates + playerid * sizeOfPlayer)
 
#define PLAYERSTATE_VELOCITY(playerid)   0
 
#define PLAYERBASE(playerid)   (*(int*)(playerinfo_base) + playerid * playerinfo_size)
 

Functions

int clientaddress_to_num (int address)
 
void gsc_player_velocity_set (int id)
 
void gsc_player_clientuserinfochanged (int id)
 
void gsc_player_velocity_add (int id)
 
void gsc_get_userinfo (int id)
 
void gsc_set_userinfo (int id)
 
void gsc_player_velocity_get (int id)
 
void gsc_player_button_ads (int id)
 
void gsc_player_button_left (int id)
 
void gsc_player_button_right (int id)
 
void gsc_player_button_forward (int id)
 
void gsc_player_button_back (int id)
 
void gsc_player_button_leanleft (int id)
 
void gsc_player_button_leanright (int id)
 
void gsc_player_button_jump (int id)
 
void gsc_player_stance_get (int id)
 
void gsc_player_spectatorclient_get (int id)
 
void gsc_player_getip (int id)
 
void gsc_player_getping (int id)
 
void gsc_player_ClientCommand (int id)
 
int getSVSTime ()
 
void gsc_player_getLastConnectTime (int id)
 
int getLastPacketTime (int id)
 
void gsc_player_getLastMSG (int id)
 
void gsc_player_getclientstate (int id)
 
int getAddressType (int id)
 
void gsc_player_addresstype (int id)
 
void gsc_player_renameclient (int id)
 
void gsc_player_outofbandprint (int id)
 
void gsc_player_connectionlesspacket (int id)
 
void gsc_player_resetNextReliableTime (int id)
 
long double hook_setmovespeed (int a1, int a2)
 
void gsc_player_setmovespeedscale (int id)
 
void gsc_entity_setalive (int id)
 
void gsc_entity_setbounds (int id)
 
void gsc_free_slot ()
 
void gsc_kick_slot ()
 

Variables

int playerStates = NULL
 
int sizeOfPlayer = NULL
 
int gentities = NULL
 
int gentities_size = NULL
 
int playerinfo_base = 0x0
 
int playerinfo_size = 0x0
 
float player_movespeedscale [64] = {1}
 

Macro Definition Documentation

#define PLAYERBASE (   playerid)    (*(int*)(playerinfo_base) + playerid * playerinfo_size)
#define PLAYERSTATE (   playerid)    (playerStates + playerid * sizeOfPlayer)
#define PLAYERSTATE_VELOCITY (   playerid)    0

Function Documentation

int clientaddress_to_num ( int  address)

Here is the caller graph for this function:

int getAddressType ( int  id)

Here is the caller graph for this function:

int getLastPacketTime ( int  id)

Here is the caller graph for this function:

int getSVSTime ( )

Here is the caller graph for this function:

void gsc_entity_setalive ( int  id)

Here is the call graph for this function:

void gsc_entity_setbounds ( int  id)

Here is the call graph for this function:

void gsc_free_slot ( )

Here is the call graph for this function:

void gsc_get_userinfo ( int  id)

Here is the call graph for this function:

void gsc_kick_slot ( )

Here is the call graph for this function:

void gsc_player_addresstype ( int  id)

Here is the call graph for this function:

void gsc_player_button_ads ( int  id)

Here is the call graph for this function:

void gsc_player_button_back ( int  id)

Here is the call graph for this function:

void gsc_player_button_forward ( int  id)

Here is the call graph for this function:

void gsc_player_button_jump ( int  id)

Here is the call graph for this function:

void gsc_player_button_leanleft ( int  id)

Here is the call graph for this function:

void gsc_player_button_leanright ( int  id)

Here is the call graph for this function:

void gsc_player_button_left ( int  id)

Here is the call graph for this function:

void gsc_player_button_right ( int  id)

Here is the call graph for this function:

void gsc_player_ClientCommand ( int  id)

Here is the call graph for this function:

void gsc_player_clientuserinfochanged ( int  id)

Here is the call graph for this function:

void gsc_player_connectionlesspacket ( int  id)

Here is the call graph for this function:

void gsc_player_getclientstate ( int  id)

Here is the call graph for this function:

void gsc_player_getip ( int  id)

Here is the call graph for this function:

void gsc_player_getLastConnectTime ( int  id)

Here is the call graph for this function:

void gsc_player_getLastMSG ( int  id)

Here is the call graph for this function:

void gsc_player_getping ( int  id)

Here is the call graph for this function:

void gsc_player_outofbandprint ( int  id)

Here is the call graph for this function:

void gsc_player_renameclient ( int  id)

Here is the call graph for this function:

void gsc_player_resetNextReliableTime ( int  id)

Here is the call graph for this function:

void gsc_player_setmovespeedscale ( int  id)

Here is the call graph for this function:

void gsc_player_spectatorclient_get ( int  id)

Here is the call graph for this function:

void gsc_player_stance_get ( int  id)

Here is the call graph for this function:

void gsc_player_velocity_add ( int  id)

Here is the call graph for this function:

void gsc_player_velocity_get ( int  id)

Here is the call graph for this function:

void gsc_player_velocity_set ( int  id)

Here is the call graph for this function:

void gsc_set_userinfo ( int  id)

Here is the call graph for this function:

long double hook_setmovespeed ( int  a1,
int  a2 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int gentities = NULL
int gentities_size = NULL
float player_movespeedscale[64] = {1}
int playerinfo_base = 0x0
int playerinfo_size = 0x0
int playerStates = NULL
int sizeOfPlayer = NULL