-
Notifications
You must be signed in to change notification settings - Fork 2
/
languages.c
131 lines (124 loc) · 2.02 KB
/
languages.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#include "languages.h"
#include <string.h>
int lng_IndexFromString( const char* str)
{
int index = 0;
while( strcmp( str, english_lng[index]) != 0 && index < LNG_MAXENTRIES) index++;
return index;
}
const char* const english_lng[] =
{
"PLAY GAME",
"HI-SCORES",
"GAME OPTIONS",
"SOUND OPTIONS",
"EXIT",
"1 PLAYER",
"GAME",
"2 PLAYER",
"CO-OP",
"2 PLAYER",
"VERSUS",
"CONTINUE",
"CHANGE TILESET",
"CHANGE LAYOUT",
"HOVER HINT ON/OFF",
"LANGUAGE",
"RUMBLE ON/OFF",
"WIDESCREEN OFF/ON",
"MUSIC",
"SOUND",
"OFF",
"FULL",
"BACK",
"MENU",
"SHUFFLE",
"PAUSED",
"NO MORE TILES",
"FINISHED",
"RESTART",
"NEW GAME",
"SCORE",
"WINNER",
"PLAYER 1",
"PLAYER 2",
"DRAW",
"RANDOM LAYOUT",
"NEW HIGHSCORE",
"DEFAULT",
"SIMPLE",
"OLD",
"SPOOKY",
"EGYPTIAN",
"SPACE",
"DEFAULT",
"CROSS",
"BUTTERFLY",
"FORTRESS",
"CRAB",
"SPIDER",
"FOUR BRIDGES",
"CLOUD",
"ARENA",
"TIC TAC TOE",
"TALE",
"TIKAL"
};
const char* const german_lng[] =
{
"SPIELEN",
"HI-SCORES",
"SPIEL OPTIONEN",
"TON OPTIONEN",
"BEENDEN",
"1 SPIELER",
"SPIEL",
"2 SPIELER",
"CO-OP",
"2 SPIELER",
"VERSUS",
"WEITER",
"STEINE ÄNDERN",
"LAYOUT ÄNDERN",
"TIPPS AN/AUS",
"SPRACHE",
"VIBRIEREN AN/AUS",
"BREITBILD AUS/AN",
"MUSIK",
"TON",
"AUS",
"VOLL",
"ZURÜCK",
"MENU",
"MISCHEN",
"PAUSE",
"KEINE KOMBINATIONEN MEHR",
"FERTIG",
"NEUSTART",
"NEUES SPIEL",
"PUNKTZAHL",
"GEWINNER",
"SPIELER 1",
"SPIELER 2",
"UNENTSCHIEDEN",
"ZUFÄLLIGES LAYOUT",
"NEUER HIGHSCORE",
"STANDARD",
"EINFACH",
"ALT",
"GRUSELIG",
"ÄGYPTISCH",
"RAUM",
"STANDARD",
"KREUZ",
"SCHMETTERLING",
"FESTUNG",
"KRABBE",
"SPINNE",
"VIER BRUECKEN",
"WOLKE",
"ARENA",
"TIC TAC TOE",
"TAL",
"TIKAL"
};