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
A
 Actions
B
 BROWSESORT_GAMETYPE
 BROWSESORT_MAP
 BROWSESORT_NAME
 BROWSESORT_NUMPLAYERS
 BROWSESORT_PING
 BROWSESORT_PROGRESSION
C
 Client Hooks
 Client Interface
 Client Side
 Client States
 client_connect
 client_connection_problems
 client_direct_input
 client_disconnect
 client_error_string
 client_frametime
 client_get_input
 CLIENT_INFO
 client_intratick
 client_localtime
 client_mapdownload_amount
 client_mapdownload_totalsize
 client_predintratick
 client_predtick
 client_quit
 client_rcon
 client_rcon_auth
 client_rcon_authed
 client_save_line
 client_send_msg
 client_serverbrowse_get
 client_serverbrowse_lan
 client_serverbrowse_num
 client_serverbrowse_num_requests
 client_serverbrowse_refresh
 client_serverbrowse_sorted_get
 client_serverbrowse_sorted_num
 client_serverbrowse_update
 client_state
 client_tick
 client_tickspeed
 client_ticktime
 CLIENTSTATE_CONNECTING
 CLIENTSTATE_LOADING
 CLIENTSTATE_OFFLINE
 CLIENTSTATE_ONLINE
 CLIENTSTATE_QUITING
 closest_character, Game World
 Compression
 Constants
 Creating
D
 data, IMAGE_INFO
 dbg_assert
 dbg_break
 dbg_msg
 Debug
 Definitions
 destroy, Entity
 destroy_entity, Game World
E
 Engine Interface
 Entity
F
 File IO
 Filesystem
 find_entities, Game World
 format, IMAGE_INFO
 fs_listdir
 fs_makedir
 fs_storage_path
 Functions
Sort by game type.
Sort by map
Sort by name.
Sort after how many players there are on the server.
Sort by ping.
Sort by progression.
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.
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.
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
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 lan)
Issues a refresh of the server browser.
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
The client is trying to connect to a server.
The client has connected to a server and is loading resources.
The client is offline.
The client is connected to a server and running the game.
The client is quiting.
class CHARACTER *closest_character(vec2 pos,
float radius,
ENTITY *notthis)
Finds the closest character to a specific point.
After a snapshot have been created, compression is applyed to reduce the bandwidth.
Items can be added when mods_snap is called using the snap_new_item function to insert an item to the snapshot.
void *data
Pointer to the image data.
void dbg_assert(int test,
const char *msg)
Breaks into the debugger based on a test.
void dbg_break()
Breaks into the debugger.
void dbg_msg(const char *sys,
const char *fmt,
 ...)
Prints a debug message.
virtual void destroy()
Destorys the entity.
void destroy_entity(ENTITY *entity)
Destroys an entity in the world.
Basic entity class.
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.
int format
Contains the format of the image.
typedef void (*fs_listdir_callback)(const char *name, int is_dir, void *user)
Lists the files in a directory
int fs_makedir(const char *path)
Creates a directory
int fs_storage_path(const char *appname,
char *path,
int max)
Fetches per user configuration directory.
Close