2024-04-16 18:56:40 +00:00
|
|
|
// Defines for indexes into the string table for in-code strings
|
2024-04-16 03:43:29 +00:00
|
|
|
|
|
|
|
#ifndef __STRING_TABLE____
|
|
|
|
#define __STRING_TABLE____
|
|
|
|
|
2024-04-16 18:56:40 +00:00
|
|
|
#define TXT(index) GetStringFromTable(index)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-04-16 18:56:40 +00:00
|
|
|
// Returns a pointer to the string at the index location from the string table
|
|
|
|
// if it is a bad index given, then the pointer to the error string "ERROR MISSING STRING" is given
|
2024-04-16 03:43:29 +00:00
|
|
|
|
|
|
|
char *GetStringFromTable(int index);
|
|
|
|
|
2024-04-16 18:56:40 +00:00
|
|
|
#define TXT_COOP TXT(0) //"Coop"
|
|
|
|
#define TXT_STATGAMENAME TXT(1) //"Co-op Descent 3"
|
|
|
|
#define TXT_PILOT TXT(2) //"Pilot"
|
|
|
|
#define TXT_KILLS TXT(3) //"Kills"
|
|
|
|
#define TXT_DEATHS TXT(4) //"Deaths"
|
|
|
|
#define TXT_SUICIDES TXT(5) //"Suicides"
|
|
|
|
#define TXT_PING TXT(6) //"Ping"
|
|
|
|
#define TXT_WELCOME TXT(7) //"Welcome to the Co-Op Game %s"
|
|
|
|
#define TXT_JOINED TXT(8) //"%s has joined the game"
|
|
|
|
#define TXT_LEVELCOMPLETE TXT(9) //"Level Completed!"
|
2024-04-16 03:43:29 +00:00
|
|
|
#endif
|