Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Speech Struct Reference

Public Member Functions

 Speech ()
 
 ~Speech ()
 

Public Attributes

ID id
 Unquie GDI id.
 
Int index
 Speech index.
 
AsciiString name
 Logical name for line of speech.
 
Real volume
 Mixing level for this line.
 
SpeechInfo info
 Game info about this line of dialog (public)
 
Bool valid
 Is this entry have valid data.
 
Int priority
 speech priority
 
Int timeout
 speech time out in milliseconds
 
Int interrupt
 speech interrupts current playing speech
 

Detailed Description

The Speech struct holds all information about a line of dialog. While Speech itself is not accessible from outside SpeechInterface, the embedded struct SpeechInfo is accessible to the game code. Place data in SpeechInfo that is useful to the game code in determining what speech to play.

Definition at line 85 of file GameSpeech.cpp.

Constructor & Destructor Documentation

◆ Speech()

Speech::Speech ( )

Definition at line 335 of file GameSpeech.cpp.

◆ ~Speech()

Speech::~Speech ( )

Definition at line 347 of file GameSpeech.cpp.

Member Data Documentation

◆ id

ID Speech::id

Unquie GDI id.

Definition at line 91 of file GameSpeech.cpp.

◆ index

Int Speech::index

Speech index.

Definition at line 92 of file GameSpeech.cpp.

◆ info

SpeechInfo Speech::info

Game info about this line of dialog (public)

Definition at line 95 of file GameSpeech.cpp.

◆ interrupt

Int Speech::interrupt

speech interrupts current playing speech

Definition at line 99 of file GameSpeech.cpp.

◆ name

AsciiString Speech::name

Logical name for line of speech.

Definition at line 93 of file GameSpeech.cpp.

◆ priority

Int Speech::priority

speech priority

Definition at line 97 of file GameSpeech.cpp.

◆ timeout

Int Speech::timeout

speech time out in milliseconds

Definition at line 98 of file GameSpeech.cpp.

◆ valid

Bool Speech::valid

Is this entry have valid data.

Definition at line 96 of file GameSpeech.cpp.

◆ volume

Real Speech::volume

Mixing level for this line.

Definition at line 94 of file GameSpeech.cpp.


The documentation for this struct was generated from the following file: