| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | // Defines for indexes into the string table for in-code strings |
| 20 | |
| 21 | #ifndef __STRING_TABLE____ |
| 22 | #define __STRING_TABLE____ |
| 23 | |
| 24 | #define TXT(index) GetStringFromTable(index) |
| 25 | |
| 26 | // Returns a pointer to the string at the index location from the string table |
| 27 | // if it is a bad index given, then the pointer to the error string "ERROR MISSING STRING" is given |
| 28 | |
| 29 | const char *GetStringFromTable(int index); |
| 30 | |
| 31 | #define TXT_DEATH1 TXT(0) //"%s got butchered by %s" |
| 32 | #define TXT_SUICIDE1 TXT(1) //"%s shags himself" |
| 33 | #define TXT_PILOT TXT(2) //"Pilot" |
| 34 | #define TXT_KILLS TXT(3) //"Kills" |
| 35 | #define TXT_DEATHS TXT(4) //"Deaths" |
| 36 | #define TXT_SUICIDES TXT(5) //"Suicides" |
| 37 | #define TXT_SCORE TXT(6) //"Score" |
| 38 | #define TXT_LOSTORB TXT(7) //"%s Lost The HyperOrb!!!" |
| 39 | #define TXT_GOTORB TXT(8) //"%s Has The HyperOrb!!!" |
| 40 | #define TXT_SCOREPOINTS TXT(9) //"%s racks up another %d points!" |
| 41 | #define TXT_STATS TXT(10) //"Stats" |
| 42 | #define TXT_WELCOME TXT(11) //"Welcome to Hyper Anarchy %s!" |
| 43 | #define TXT_JOINED TXT(12) //"%s has joined the Hyper Anarchy!" |
| 44 | #define TXT_GAMENAME TXT(13) //"Hyper-Anarchy" |
| 45 | #define TXT_STATSGAMENAME TXT(14) //"Anarchy" |
| 46 | #define TXT_PING TXT(15) //"Ping" |
| 47 | #define TXT_HUDSCORECOLORS TXT(16) //"HUD Score Colors" |
| 48 | #define TXT_PLAYERCOLORS TXT(17) //"Player Colors" |
| 49 | #define TXT_NORMAL TXT(18) //"Normal" |
| 50 | #define TXT_SAVESTATSA TXT(19) //"Hyper-Anarchy\r\nGame: %s\r\nLevel: %d\r\n" |
| 51 | #define TXT_SAVESTATSB TXT(20) //"Current Level Rankings\r\n" |
| 52 | #define TXT_SAVESTATSC \ |
| 53 | TXT(21) //"[Rank] [Name] [Score] [Kills] [Deaths] [Suicides] [Time In Game]" |
| 54 | #define TXT_SAVESTATSD TXT(22) //"\r\nIndividual Stats\r\n" |
| 55 | #define TXT_TIMEINGAME TXT(23) //"Total Time In Game: %s" |
| 56 | #define TXT_SAVESTATSE TXT(24) //"Callsign: Kills: Deaths:" |
| 57 | #define TXT_STATSAVED TXT(25) //"Stats saved to file" |
| 58 | #define TXT_KILLS_SHORT TXT(26) //"K" |
| 59 | #define TXT_DEATHS_SHORT TXT(27) //"D" |
| 60 | #define TXT_SUICIDES_SHORT TXT(28) //"S" |
| 61 | #endif |