libcod
gsc_utils.cpp File Reference
#include "gsc_utils.hpp"
#include <dirent.h>
#include <assert.h>
#include <ctype.h>
Include dependency graph for gsc_utils.cpp:

Macros

#define MAX_LANGUAGES   16
 
#define MAX_LANGUAGE_ITEMS   1024
 

Functions

int utils_hook_player_eject (int player)
 
void gsc_add_language ()
 
void add_lang_item (char *lang, char *item, char *txt)
 
void gsc_load_languages ()
 
void gsc_get_language_item ()
 
void gsc_themetext ()
 
void gsc_utils_sprintf ()
 
void gsc_utils_disableGlobalPlayerCollision ()
 
void gsc_utils_getAscii ()
 
void gsc_utils_system ()
 
void gsc_utils_file_link ()
 
void gsc_utils_file_unlink ()
 
void gsc_utils_file_exists ()
 
void gsc_utils_FS_LoadDir ()
 
void gsc_utils_getType ()
 
void gsc_utils_stringToFloat ()
 
void gsc_utils_rundll ()
 
void gsc_utils_ExecuteString ()
 
void gsc_utils_sendgameservercommand ()
 
void gsc_utils_scandir ()
 
void gsc_utils_fopen ()
 
void gsc_utils_fread ()
 
void gsc_utils_fwrite ()
 
void gsc_utils_fclose ()
 
void gsc_G_FindConfigstringIndexOriginal ()
 
void gsc_G_FindConfigstringIndex ()
 
void gsc_call_function_raw ()
 
void gsc_dlopen ()
 
void gsc_dlsym ()
 
void gsc_dlclose ()
 
void gsc_utils_free ()
 
void gsc_utils_setdefaultweapon ()
 
void gsc_utils_getloadedweapons ()
 

Variables

int languages_defined = 0
 
int language_items_defined = 0
 
char languages [MAX_LANGUAGES][3]
 
char * language_items [MAX_LANGUAGE_ITEMS]
 
char * language_references [MAX_LANGUAGES][MAX_LANGUAGE_ITEMS]
 
bool language_reference_mallocd [MAX_LANGUAGES][MAX_LANGUAGE_ITEMS]
 
char * defaultweapon_mp = (char*)malloc(32)
 

Macro Definition Documentation

#define MAX_LANGUAGE_ITEMS   1024
#define MAX_LANGUAGES   16

Function Documentation

void add_lang_item ( char *  lang,
char *  item,
char *  txt 
)

Here is the caller graph for this function:

void gsc_add_language ( )

Here is the call graph for this function:

void gsc_call_function_raw ( )

Here is the call graph for this function:

void gsc_dlclose ( )

Here is the call graph for this function:

void gsc_dlopen ( )

Here is the call graph for this function:

void gsc_dlsym ( )

Here is the call graph for this function:

void gsc_G_FindConfigstringIndex ( )

Here is the call graph for this function:

void gsc_G_FindConfigstringIndexOriginal ( )

Here is the call graph for this function:

void gsc_get_language_item ( )

Here is the call graph for this function:

void gsc_load_languages ( )

Here is the call graph for this function:

void gsc_themetext ( )

Here is the call graph for this function:

void gsc_utils_disableGlobalPlayerCollision ( )

Here is the call graph for this function:

void gsc_utils_ExecuteString ( )

Here is the call graph for this function:

void gsc_utils_fclose ( )

Here is the call graph for this function:

void gsc_utils_file_exists ( )

Here is the call graph for this function:

void gsc_utils_file_link ( )

Here is the call graph for this function:

void gsc_utils_file_unlink ( )

Here is the call graph for this function:

void gsc_utils_fopen ( )

Here is the call graph for this function:

void gsc_utils_fread ( )

Here is the call graph for this function:

void gsc_utils_free ( )

Here is the caller graph for this function:

void gsc_utils_FS_LoadDir ( )

Here is the call graph for this function:

void gsc_utils_fwrite ( )

Here is the call graph for this function:

void gsc_utils_getAscii ( )

Here is the call graph for this function:

void gsc_utils_getloadedweapons ( )

Here is the call graph for this function:

void gsc_utils_getType ( )

Here is the call graph for this function:

void gsc_utils_rundll ( )

Here is the call graph for this function:

void gsc_utils_scandir ( )

Here is the call graph for this function:

void gsc_utils_sendgameservercommand ( )

Here is the call graph for this function:

void gsc_utils_setdefaultweapon ( )

Here is the call graph for this function:

void gsc_utils_sprintf ( )

Here is the call graph for this function:

void gsc_utils_stringToFloat ( )

Here is the call graph for this function:

void gsc_utils_system ( )

Here is the call graph for this function:

int utils_hook_player_eject ( int  player)

Here is the caller graph for this function:

Variable Documentation

char* defaultweapon_mp = (char*)malloc(32)
char* language_items[MAX_LANGUAGE_ITEMS]
int language_items_defined = 0
bool language_reference_mallocd[MAX_LANGUAGES][MAX_LANGUAGE_ITEMS]
char* language_references[MAX_LANGUAGES][MAX_LANGUAGE_ITEMS]
char languages[MAX_LANGUAGES][3]
int languages_defined = 0