Advanced Strategic Command
cannedmessages.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 
11 #ifndef cannedmessagesH
12  #define cannedmessagesH
13 
15 extern const char* getmessage( int id );
16 
18 extern void loadmessages();
19 
20 
21 #endif
void loadmessages()
loads all messages from the files message?.txt
const char * getmessage(int id)
returns a pointer to the message id. The messages must have been loaded with loadmessages ...