UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_tip.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Function Documentation

◆ CL_ParseTipOfTheDay()

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, name, tipOfTheDay_t::next, tipCount, tipList, and tipOfTheDay_t::tipString.

Referenced by CL_ParseClientData().

◆ TOTD_InitStartup()

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(), cl_showTipOfTheDay, Cmd_AddCommand(), CVAR_ARCHIVE, and Cvar_Get().

Referenced by CL_InitLocal().

◆ TOTD_Shutdown()

void TOTD_Shutdown ( void )

Definition at line 104 of file cl_tip.cpp.

References tipCount, and tipList.

Referenced by CL_Shutdown().