Debian Codegraph @

netgames/monsterball/monsterstr.h

raw symbols SCIP
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) //"Monsterball"
32 #define TXT_KILLEDA TXT(1) //"%s was killed by %s"
33 #define TXT_SUICIDEA TXT(2) //"%s lost control"
34 #define TXT_PILOT TXT(3) //"Pilot"
35 #define TXT_POINTS TXT(4) //"Points"
36 #define TXT_BLUNDERS TXT(5) //"Blunders"
37 #define TXT_KILLSSHORT TXT(6) //"K"
38 #define TXT_DEATHSSHORT TXT(7) //"D"
39 #define TXT_SUICIDESSHORT TXT(8) //"S"
40 #define TXT_PING TXT(9) //"Ping"
41 #define TXT_SCOREONE TXT(10) //"%s Team Scores 1 point!"
42 #define TXT_SCOREMULTI TXT(11) //"%s Team Scores %d points!!"
43 #define TXT_BLUNDERSCORE TXT(12) //"%s accidently scores a point for the %s team!"
44 #define TXT_BLUNDERMULTISCORE TXT(13) //"%s accidently scores %d points for the %s team!"
45 #define TXT_PLAYERSCORE TXT(14) //"%s (%s) knocks the ball in for a point!"
46 #define TXT_PLAYERMULTISCORE TXT(15) //"%s (%s) knocks the ball in for %d points!"
47 #define TXT_HUDDISPLAY TXT(16) //"%s Team: %d"
48 #define TXT_KILLS TXT(17) //"Kills"
49 #define TXT_DEATHS TXT(18) //"Deaths"
50 #define TXT_SUICIDES TXT(19) //"Suicides"
51 #define TXT_SAVESTATSA TXT(20) //"Monsterball\r\nGame: %s\nLevel: %d"
52 #define TXT_SAVESTATSTEAM TXT(21) //"%s Team"
53 #define TXT_SAVESTATSB TXT(22) //"Current Level Rankings\r\n"
54 #define TXT_SAVESTATSC \
55 TXT(23) //"Rank Name Points Blunders Kills Deaths Suicides"
56 #define TXT_SAVESTATSD TXT(24) //"\r\nIndividual Stats\r\n"
57 #define TXT_TIMEINGAME TXT(25) //"Total Time In Game: %s"
58 #define TXT_SAVESTATSE TXT(26) //"Team: Callsign: Kills: Deaths:"
59 #define TXT_STATSSAVED TXT(27) //"Stats saved to file"
60 #define TXT_HUDSCORE TXT(28) //"[%d]%s Team"
61 #define TXT_WELCOME TXT(29) //"Welcome To Monsterball %s"
62 #define TXT_ONTEAM TXT(30) //"You're On The %s Team"
63 #define TXT_JOINED TXT(31) //"%s Has Joined The %s Team"
64 #define TXT_STATGAMENAME TXT(32) //"Monsterball"
65 #endif