Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cannedmessages.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * getmessage (int id)
 returns a pointer to the message id. The messages must have been loaded with loadmessages
void loadmessages ()
 loads all messages from the files message?.txt


Function Documentation

const char* getmessage int  id  ) 
 

returns a pointer to the message id. The messages must have been loaded with loadmessages

Definition at line 55 of file cannedmessages.cpp.

Referenced by checkforvictory(), dispmessage2(), trunreplay::execnextreplaymove(), CargoGuiFunctions::Movement::execute(), DiplomaticStateVector::propose(), DiplomaticStateVector::sneakAttack(), transfer_all_outstanding_tribute(), and AddProductionLine_SelectionItemFactory::vehicleTypeSelected().

void loadmessages  ) 
 

loads all messages from the files message?.txt

Definition at line 43 of file cannedmessages.cpp.

References tfindfile::getnextname(), and loadsinglemessagefile().

Referenced by loadcursor(), and loaddata().


Generated on Tue Jun 24 01:37:37 2008 for Advanced Strategic Command by  doxygen 1.4.2