Nuclide
Software Development Kit for id Tech
sentences.qc File Reference

Classes

struct  sentences_t
 

Macros

#define DYNAMIC_SENTENCES
 

Functions

void Sentences_Shutdown (void)
 Called by CSQC_Shutdown() when the client game exits to clear the sentences buffer. More...
 
void Sentences_Init (void)
 Called by CSQC_Init on the client, as well as init() on the server. More...
 
string Sentences_ProcessSample (string sample)
 
void Sentences_ResetSample (void)
 
string Sentences_GetSamples (string msg)
 Returns a string of sample for a given sentence. More...
 
string Sentences_GetString (int idx)
 Gets the sentences string for a given id. More...
 
int Sentences_GetID (string sentence)
 Returns the shared network ID for a given sentence. More...
 

Variables

sentences_tg_sentences
 
int g_sentences_count
 
var string g_sentences_samplepath
 

Macro Definition Documentation

◆ DYNAMIC_SENTENCES

#define DYNAMIC_SENTENCES

Function Documentation

◆ Sentences_Init()

void Sentences_Init ( void  )

Called by CSQC_Init on the client, as well as init() on the server.

◆ Sentences_ProcessSample()

string Sentences_ProcessSample ( string  sample)

◆ Sentences_ResetSample()

void Sentences_ResetSample ( void  )

Variable Documentation

◆ g_sentences

sentences_t* g_sentences

◆ g_sentences_count

int g_sentences_count

◆ g_sentences_samplepath

var string g_sentences_samplepath