| 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_GAMENAME TXT(0) //"Entropy" |
| 32 | #define TXT_KILLA TXT(1) //"%s was killed by %s" |
| 33 | #define TXT_SUICIDEA TXT(2) //"%s killed himself" |
| 34 | #define TXT_PILOT TXT(3) //"Pilot" |
| 35 | #define TXT_SCORE TXT(4) //"Score" |
| 36 | #define TXT_KILLS TXT(5) //"Kills" |
| 37 | #define TXT_DEATHS TXT(6) //"Deaths" |
| 38 | #define TXT_SUICIDES TXT(7) //"Suicides" |
| 39 | #define TXT_PING TXT(8) //"Ping" |
| 40 | #define TXT_CANTCARRY TXT(9) //"You can't carry this virus yet" |
| 41 | #define TXT_VIRUSDESTROYED TXT(10) //"Virus Destroyed" |
| 42 | #define TXT_CANTKILLVIRUS TXT(11) //"You can't kill this virus" |
| 43 | #define TXT_TAKEOVER TXT(12) //"%s Took Over A %s Team's %s Room" |
| 44 | #define TXT_NONAME TXT(13) //"Someone" |
| 45 | #define TXT_HUDDISPLAY TXT(14) //"%s Team: %d" |
| 46 | #define TXT_SAVESTATSA TXT(15) //"Entropy\nGame: %s\nLevel: %d\n" |
| 47 | #define TXT_TEAMINFO TXT(16) //"%s Team" |
| 48 | #define TXT_CURRRANKINGS TXT(17) //"Current Level Rankings\n" |
| 49 | #define TXT_SAVESTATSB TXT(18) //"Rank Name Score Kills Deaths Suicides" |
| 50 | #define TXT_SAVESTATSC TXT(19) //"\nIndividual Stats\n" |
| 51 | #define TXT_TIMEINGAME TXT(20) //"Total Time In Game: %s" |
| 52 | #define TXT_SAVESTATSD TXT(21) //"Callsign: Kills: Deaths:" |
| 53 | #define TXT_HUDSCORE TXT(22) //"%s Team(%d)" |
| 54 | #define TXT_VIRUSLOAD TXT(23) //"Virus Load: %d/%d" |
| 55 | #define TXT_WELCOME TXT(24) //"Welcome To Entropy, %s" |
| 56 | #define TXT_TEAMJOIN TXT(25) //"You're on the %s Team" |
| 57 | #define TXT_JOIN TXT(26) //"%s Has Joined The %s Team" |
| 58 | #define TXT_SAVED TXT(27) //"Stats saved" |
| 59 | #define TXT_STARTGAME TXT(28) //"Start Game" |
| 60 | #define TXT_VIRUSCREDIT TXT(29) //"Virus Credit/Kill" |
| 61 | #define TXT_STATSGAMENAME TXT(30) //"Entropy" |
| 62 | #define TXT_VIRUS TXT(31) //"Virus" |
| 63 | #define TXT_PICKUPVIRUS TXT(32) //"You picked up a virus" |
| 64 | #define TXT_KILLS_SHORT TXT(33) //"K" |
| 65 | #define TXT_DEATHS_SHORT TXT(34) //"D" |
| 66 | #define TXT_SUICIDES_SHORT TXT(35) //"S" |
| 67 | |
| 68 | #endif |