33typedef struct tipOfTheDay_s {
35 struct tipOfTheDay_s*
next;
50 static int lastOne = 0;
memPool_t * cl_genericPool
static void CL_GetTipOfTheDay_f(void)
Popup with tip of the day messages.
void TOTD_InitStartup(void)
Init function for cvars and console command bindings.
static cvar_t * cl_showTipOfTheDay
void CL_ParseTipOfTheDay(const char *name, const char **text)
Parse all tip definitions from the script files.
static tipOfTheDay_t * tipList
Primary header for client.
int Cmd_Argc(void)
Return the number of arguments of the current command. "command parameter" will result in a argc of 2...
void Cmd_AddCommand(const char *cmdName, xcommand_t function, const char *desc)
Add a new command to the script interface.
void Com_Printf(const char *const fmt,...)
cvar_t * Cvar_Get(const char *var_name, const char *var_value, int flags, const char *desc)
Init or return a cvar.
#define Mem_PoolStrDup(in, pool, tagNum)
#define Mem_PoolAllocType(type, pool)
Shared parsing functions.
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
struct tipOfTheDay_s * next
void UI_RegisterText(int dataId, const char *text)
share a text with a data id
void UI_CloseWindow(const char *name)