Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <communication.h>
Public Member Functions | |
int | GetSound (unsigned char sex, unsigned int multiple) |
bool | StopSound (unsigned char sex) |
std::string | GetMessage (unsigned int &multiple) const |
void | AddSound (std::string soundfile, unsigned char sex) |
Node (const vector< std::string > &message, float messagedel) | |
Static Public Member Functions | |
static Node | MakeNode (std::string message, float messagedel) |
Public Attributes | |
vector< std::string > | messages |
vector< std::string > | soundfiles |
vector< int > | sounds |
float | messagedelta |
vector< unsigned int > | edges |
Definition at line 9 of file communication.h.
|
inline |
void FSM::Node::AddSound | ( | std::string | soundfile, |
unsigned char | sex | ||
) |
Definition at line 181 of file communication.cpp.
References vs_options::comm_preload, game_options, index, and int.
std::string FSM::Node::GetMessage | ( | unsigned int & | multiple) | const |
Definition at line 145 of file communication.cpp.
References createSound(), index, and int.
Referenced by FireKeyboard::ProcessCommMessage().
Definition at line 25 of file communication.h.
References Node().
Referenced by FSM::FSM(), HelpOut(), and LeadMe().
bool FSM::Node::StopSound | ( | unsigned char | sex) |
Definition at line 160 of file communication.cpp.
References AUDIsPlaying(), AUDStopPlaying(), i, index, and int.
vector< unsigned int > FSM::Node::edges |
Definition at line 15 of file communication.h.
Referenced by FSM::getCommMessageMood(), FSM::getDefaultState(), CommunicatingAI::ProcessCommMessage(), and CommunicatingAI::selectCommunicationMessage().
float FSM::Node::messagedelta |
Definition at line 14 of file communication.h.
Referenced by DoSpeech(), and FireKeyboard::DoSpeechAndAni().
vector< std::string > FSM::Node::messages |
Definition at line 11 of file communication.h.
Referenced by GetMessage(), and Node().
vector< std::string > FSM::Node::soundfiles |
Definition at line 12 of file communication.h.
vector< int > FSM::Node::sounds |
Definition at line 13 of file communication.h.