| 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 blasted by %s" |
| 32 | #define TXT_DEATH2 TXT(1) //"%s knows %s is his god" |
| 33 | #define TXT_DEATH3 TXT(2) //"%s sucks %s's milk" |
| 34 | #define TXT_DEATH4 TXT(3) //"%s realizes %s's power" |
| 35 | #define TXT_DEATH5 TXT(4) //"%s got killed by %s" |
| 36 | #define TXT_DEATH6 TXT(5) //"%s begs for %s's mercy" |
| 37 | #define TXT_DEATH7 TXT(6) //"%s realizes %s is a better player" |
| 38 | #define TXT_DEATH8 TXT(7) //"%s was no match for %s" |
| 39 | #define TXT_DEATH9 TXT(8) //"%s wishes he was as good as %s" |
| 40 | #define TXT_DEATH10 TXT(9) //"%s got messed up by %s" |
| 41 | #define TXT_SUICIDE1 TXT(10) //"%s blasts himself" |
| 42 | #define TXT_SUICIDE2 TXT(11) //"%s Bursts his own bubble" |
| 43 | #define TXT_SUICIDE3 TXT(12) //"%s doesn't know his own strength" |
| 44 | #define TXT_SUICIDE4 TXT(13) //"No prize for %s" |
| 45 | #define TXT_SUICIDE5 TXT(14) //"%s doesn't wish to live anymore" |
| 46 | #define TXT_SUICIDE6 TXT(15) //"%s SUCKS!" |
| 47 | #define TXT_STATS TXT(16) //"Stats" |
| 48 | #define TXT_TEAM TXT(17) //"%s Team" |
| 49 | #define TXT_TEAMSCORE TXT(18) //"%s Team: %d" |
| 50 | #define TXT_WELCOME TXT(19) //"Welcome to Team Anarchy %s!" |
| 51 | #define TXT_TEAMJOINMSG TXT(20) //"You're on the %s Team" |
| 52 | #define TXT_JOINED TXT(21) //"%s has joined the %s Team" |
| 53 | #define TXT_PILOT TXT(22) //"Pilot" |
| 54 | #define TXT_KILLS TXT(23) //"Kills" |
| 55 | #define TXT_DEATHS TXT(24) //"Deaths" |
| 56 | #define TXT_SUICIDES TXT(25) //"Suicides" |
| 57 | #define TXT_POINTS TXT(26) //"Points" |
| 58 | #define TXT_GAMENAME TXT(27) //"Team Anarchy" |
| 59 | #define TXT_SCORE TXT(28) //"Score" |
| 60 | #define TXT_PING TXT(29) //"Ping" |
| 61 | #define TXT_SAVESTATSA TXT(30) //"Team Anarchy\nGame: %s\nLevel: %d\n" |
| 62 | #define TXT_SAVESTATSB TXT(31) //"Current Level Rankings\n" |
| 63 | #define TXT_SAVESTATSC TXT(32) //"Rank Name Score Kills Deaths Suicides" |
| 64 | #define TXT_SAVESTATSD TXT(33) //"\nIndividual Stats\n" |
| 65 | #define TXT_TIMEINGAME TXT(34) //"Total Time In Game: %s" |
| 66 | #define TXT_SAVESTATSE TXT(35) //"Callsign: Kills: Deaths:" |
| 67 | #define TXT_STATSSAVED TXT(36) //"Stats saved to %s" |
| 68 | #define TXT_STATSGAMENAME TXT(37) //"Team Anarchy" |
| 69 | #define TXT_KILLS_SHORT TXT(38) //"K" |
| 70 | #define TXT_DEATHS_SHORT TXT(39) //"D" |
| 71 | #define TXT_SUICIDES_SHORT TXT(40) //"S" |
| 72 | |
| 73 | #endif |