Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 client_connect
 client_connection_problems
 client_direct_input
 client_disconnect
 client_error_string
 client_frametime
 client_get_input
 client_intratick
 client_latestversion
 client_localtime
 client_mapdownload_amount
 client_mapdownload_totalsize
 client_predintratick
 client_predtick
 client_prevtick
 client_quit
 client_rcon
 client_rcon_auth
 client_rcon_authed
 client_save_line
 client_send_msg
 client_serverbrowse_addfavorite
 client_serverbrowse_get
 client_serverbrowse_lan
 client_serverbrowse_num
 client_serverbrowse_num_requests
 client_serverbrowse_refresh
 client_serverbrowse_removefavorite
 client_serverbrowse_sorted_get
 client_serverbrowse_sorted_num
 client_serverbrowse_update
 client_state
 client_tick
 client_tickspeed
 client_ticktime
 closest_character, Game World
D
 destroy, Entity
 destroy_entity, Game World
F
 find_entities, Game World
void client_connect(const char *address)
Connects to a server at the specified address.
int client_connection_problems()
Returns 1 if the client is connection problems.
void client_direct_input(int *input,
int size)
TODO
void client_disconnect()
Disconnects from the current server.
const char *client_error_string()
TODO
float client_frametime()
Returns how long time the last frame took to process.
int *client_get_input(int tick)
TODO
float client_intratick()
Returns the current intratick.
const char *client_latestversion()
Returns 0 if there’s no version difference
float client_localtime()
Returns the clients local time.
int client_mapdownload_amount()
TODO
int client_mapdownload_totalsize()
TODO
float client_predintratick()
Returns the current preticted intra tick.
int client_predtick()
Returns the current predicted tick.
int client_prevtick()
Returns the tick of the previous snapshot.
void client_quit()
Tells to client to shutdown.
void client_rcon(const char *cmd)
Sends a command to the server to execute on it’s console.
void client_rcon_auth(const char *name,
const char *password)
TODO
int client_rcon_authed()
TODO
void client_save_line(const char *line)
TODO
int client_send_msg()
TODO
void client_serverbrowse_addfavorite(NETADDR addr)
Adds a server to the favorite list
SERVER_INFO *client_serverbrowse_get(int index)
TODO
int client_serverbrowse_lan()
TODO
int client_serverbrowse_num()
TODO
int client_serverbrowse_num_requests()
TODO
void client_serverbrowse_refresh(int type)
Issues a refresh of the server browser.
void client_serverbrowse_removefavorite(NETADDR addr)
Removes a server to the favorite list
SERVER_INFO *client_serverbrowse_sorted_get(int index)
Returns server info from the sorted list.
int client_serverbrowse_sorted_num()
Returns how many servers there are in the sorted list.
void client_serverbrowse_update()
TODO
int client_state()
Returns the state of the client.
int client_tick()
Returns the tick of the current snapshot.
int client_tickspeed()
Returns how many ticks per second the client is doing.
float client_ticktime()
TODO
class CHARACTER *closest_character(vec2 pos,
float radius,
ENTITY *notthis)
Finds the closest character to a specific point.
virtual void destroy()
Destorys the entity.
void destroy_entity(ENTITY *entity)
Destroys an entity in the world.
int find_entities(vec2 pos,  
float radius,  
ENTITY **ents,  
int max,  
int type =  -1)
Finds entities close to a position and returns them in a list.
Close