UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cl_tip.h File Reference

Go to the source code of this file.

Functions

void TOTD_InitStartup (void)
 Init function for cvars and console command bindings. More...
 
void TOTD_Shutdown (void)
 
void CL_ParseTipOfTheDay (const char *name, const char **text)
 Parse all tip definitions from the script files. More...
 

Function Documentation

void CL_ParseTipOfTheDay ( const char *  name,
const char **  text 
)

Parse all tip definitions from the script files.

Definition at line 80 of file cl_tip.cpp.

References cl_genericPool, Com_Printf(), Mem_PoolAllocType, Mem_PoolStrDup, tipOfTheDay_s::next, tipCount, tipList, and tipOfTheDay_s::tipString.

Referenced by CL_ParseClientData().

void TOTD_InitStartup ( void  )

Init function for cvars and console command bindings.

Definition at line 96 of file cl_tip.cpp.

References CL_GetTipOfTheDay_f(), Cmd_AddCommand(), CVAR_ARCHIVE, and Cvar_Get().

Referenced by CL_InitLocal().

void TOTD_Shutdown ( void  )

Definition at line 104 of file cl_tip.cpp.

References tipCount.

Referenced by CL_Shutdown().