Nuclide
Software Development Kit for id Technology
Text Overlay

Displays text messages on screen with different effects. More...

Detailed Description

Displays text messages on screen with different effects.

Functions

void GameText_Draw (void)
 Used by Nuclide to draw all active text channels to the screen. More...
 
void GameMessage_Setup (string strMessage, int iChannel)
 Places a message within a specified channel. More...
 
void GameText_Parse (void)
 Used by Nuclide to parse a message delivered by the game_text entity. More...
 
void GameMessage_Parse (void)
 Used by Nuclide to parse a message delivered by the env_message entity. More...
 

Function Documentation

◆ GameMessage_Parse()

void GameMessage_Parse ( void  )

Used by Nuclide to parse a message delivered by the env_message entity.

See also
env_message

◆ GameMessage_Setup()

void GameMessage_Setup ( string  strMessage,
int  iChannel 
)

Places a message within a specified channel.

We look up a message within our titles.txt file and copy its parameters and string contents into a text channel.

We have 6 channels in total.

Parameters
strMessageis the message we'll look up.
iChannelis the channel it will be stored in.

◆ GameText_Draw()

void GameText_Draw ( void  )

Used by Nuclide to draw all active text channels to the screen.

◆ GameText_Parse()

void GameText_Parse ( void  )

Used by Nuclide to parse a message delivered by the game_text entity.

See also
game_text