| 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_SCOREONE TXT(16) //"%s scores 1 point [%d]" |
| 48 | #define TXT_SCOREMULTI TXT(17) //"%s scores %d points [%d]" |
| 49 | #define TXT_GOTHOARD TXT(18) //"You got a hoard orb" |
| 50 | #define TXT_MAXHOARDS TXT(19) //"You've got all the orbs you can handle" |
| 51 | #define TXT_PILOT TXT(20) //"Pilot" |
| 52 | #define TXT_LEVEL TXT(21) //"Level" |
| 53 | #define TXT_POINTS TXT(22) //"Points" |
| 54 | #define TXT_HIGH TXT(23) //"High" |
| 55 | #define TXT_GOAL TXT(24) //"Goal" |
| 56 | #define TXT_KILLS TXT(25) //"Kills" |
| 57 | #define TXT_DEATHS TXT(26) //"Deaths" |
| 58 | #define TXT_SUICIDES TXT(27) //"Suicides" |
| 59 | #define TXT_WELCOME TXT(28) //"Welcome to the Hoard %s!" |
| 60 | #define TXT_JOINED TXT(29) //"%s has joined the Hoard" |
| 61 | #define TXT_STATS TXT(30) //"Stats" |
| 62 | #define TXT_GAMENAME TXT(31) //"Hoard" |
| 63 | #define TXT_SCORE TXT(32) //"Score" |
| 64 | #define TXT_HIGHEST TXT(33) //"Highest" |
| 65 | #define TXT_PING TXT(34) //"Ping" |
| 66 | #define TXT_HUDSCORECOLORS TXT(35) //"HUD Score Colors" |
| 67 | #define TXT_PLAYERCOLORS TXT(36) //"Player Colors" |
| 68 | #define TXT_NORMAL TXT(37) //"Normal" |
| 69 | #define TXT_GAMECONFIG TXT(38) //"Game Configuration" |
| 70 | #define TXT_NEEDMOREOBS TXT(39) //"You need at least %d orbs to score" |
| 71 | #define TXT_STATSSAVEA TXT(40) //"Hoard\r\nGame: %s\r\nLevel: %d\r\n" |
| 72 | #define TXT_SAVESTATSB TXT(41) //"Current Level Rankings\r\n" |
| 73 | #define TXT_SAVESTATSC \ |
| 74 | TXT(42) //"[Rank] [Name] [Score] [Kills] [Deaths] [Suicides] [Highest Goal] [Time In |
| 75 | // Game]" |
| 76 | #define TXT_SAVESTATSD TXT(43) //"\r\nIndividual Stats\r\n" |
| 77 | #define TXT_TIMEINGAME TXT(44) //"Total Time In Game: %s" |
| 78 | #define TXT_SAVESTATSE TXT(45) //"Callsign: Kills: Deaths:" |
| 79 | #define TXT_STATSSAVED TXT(46) //"Stats saved to file" |
| 80 | #define TXT_STATGAMENAME TXT(47) //"Hoard" |
| 81 | #define TXT_RETURNTOGAME TXT(48) //"Back to Game" |
| 82 | #define TXT_MINIMUMORBS TXT(49) //"Minimum Hoard Orbs To Score" |
| 83 | #define TXT_KILLS_SHORT TXT(50) //"K" |
| 84 | #define TXT_DEATHS_SHORT TXT(51) //"D" |
| 85 | #define TXT_SUICIDES_SHORT TXT(52) //"S" |
| 86 | #endif |