Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <communication.h>
Public Member Functions | |
CommunicationMessage (Unit *send, Unit *recv, std::vector< class Animation * > *ani, unsigned char sex) | |
CommunicationMessage (Unit *send, Unit *recv, int curstate, std::vector< class Animation * > *ani, unsigned char sex) | |
CommunicationMessage (Unit *send, Unit *recv, int prevvstate, int curstate, std::vector< class Animation * > *ani, unsigned char sex) | |
CommunicationMessage (Unit *send, Unit *recv, const CommunicationMessage &prevsvtate, int curstate, std::vector< class Animation * > *ani, unsigned char sex) | |
void | SetCurrentState (int message, std::vector< class Animation * > *ani, unsigned char sex) |
FSM::Node * | getCurrentState () const |
const vector< FSM::Node > & | GetPossibleState () const |
float | getDeltaRelation () const |
Public Attributes | |
FSM * | fsm |
class Animation * | ani |
unsigned char | sex |
int | prevstate |
int | curstate |
int | edgenum |
UnitContainer | sender |
Definition at line 61 of file communication.h.
CommunicationMessage::CommunicationMessage | ( | Unit * | send, |
Unit * | recv, | ||
std::vector< class Animation * > * | ani, | ||
unsigned char | sex | ||
) |
CommunicationMessage::CommunicationMessage | ( | Unit * | send, |
Unit * | recv, | ||
int | curstate, | ||
std::vector< class Animation * > * | ani, | ||
unsigned char | sex | ||
) |
CommunicationMessage::CommunicationMessage | ( | Unit * | send, |
Unit * | recv, | ||
int | prevvstate, | ||
int | curstate, | ||
std::vector< class Animation * > * | ani, | ||
unsigned char | sex | ||
) |
CommunicationMessage::CommunicationMessage | ( | Unit * | send, |
Unit * | recv, | ||
const CommunicationMessage & | prevsvtate, | ||
int | curstate, | ||
std::vector< class Animation * > * | ani, | ||
unsigned char | sex | ||
) |
|
inline |
Definition at line 84 of file communication.h.
References curstate, fprintf, fsm, FSM::getDefaultState(), and FSM::nodes.
Referenced by FireKeyboard::DoSpeechAndAni(), FireKeyboard::Execute(), CommunicatingAI::ProcessCommMessage(), FireKeyboard::ProcessCommMessage(), and CommunicatingAI::selectCommunicationMessage().
|
inline |
Definition at line 97 of file communication.h.
References curstate, fsm, FSM::getDeltaRelation(), and prevstate.
Referenced by Order::Communicate().
const vector< FSM::Node >& CommunicationMessage::GetPossibleState | ( | ) | const |
void CommunicationMessage::SetCurrentState | ( | int | message, |
std::vector< class Animation * > * | ani, | ||
unsigned char | sex | ||
) |
Definition at line 353 of file communication.cpp.
Referenced by Unit::ApplyDamage(), BaseInterface::Room::Launch::Click(), BaseInterface::Room::Eject::Click(), DoDockingOps(), GetMadAt(), HelpOut(), CommunicatingAI::InitiateContrabandSearch(), Order::ProcessCommunicationMessages(), Orders::AggressiveAI::ProcessCurrentFgDirective(), RequestClearence(), ScoreKill(), CommunicatingAI::TerminateContrabandSearch(), TryDock(), and CommunicatingAI::UpdateContrabandSearch().
class Animation* CommunicationMessage::ani |
Definition at line 67 of file communication.h.
Referenced by FireKeyboard::DoSpeechAndAni().
int CommunicationMessage::curstate |
Definition at line 70 of file communication.h.
Referenced by NetClient::communicationRequest(), FireKeyboard::Execute(), getCurrentState(), getDeltaRelation(), MatchingMood(), CommunicatingAI::selectCommunicationMessageMood(), and NetServer::sendCommunication().
int CommunicationMessage::edgenum |
Definition at line 71 of file communication.h.
Referenced by NetClient::communicationRequest().
FSM* CommunicationMessage::fsm |
Definition at line 66 of file communication.h.
Referenced by Unit::ApplyDamage(), BaseInterface::Room::Launch::Click(), BaseInterface::Room::Eject::Click(), DoDockingOps(), FireKeyboard::Execute(), getCurrentState(), getDeltaRelation(), GetMadAt(), HelpOut(), CommunicatingAI::InitiateContrabandSearch(), MatchingMood(), CommunicatingAI::ProcessCommMessage(), Order::ProcessCommunicationMessages(), Orders::AggressiveAI::ProcessCurrentFgDirective(), RequestClearence(), ScoreKill(), CommunicatingAI::selectCommunicationMessageMood(), CommunicatingAI::TerminateContrabandSearch(), TryDock(), and CommunicatingAI::UpdateContrabandSearch().
int CommunicationMessage::prevstate |
Definition at line 69 of file communication.h.
Referenced by NetClient::communicationRequest(), and getDeltaRelation().
UnitContainer CommunicationMessage::sender |
Definition at line 72 of file communication.h.
Referenced by Order::Communicate(), CommunicatingAI::ProcessCommMessage(), FireKeyboard::ProcessCommMessage(), and CommunicatingAI::selectCommunicationMessageMood().
unsigned char CommunicationMessage::sex |
Definition at line 68 of file communication.h.
Referenced by FireKeyboard::ProcessCommMessage().