summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/wolf3d/foreign.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-07-07 22:00:20 -0400
committerFranklin Wei <git@fwei.tk>2019-07-09 11:20:55 -0400
commit3f59fc8b771625aca9c3aefe03cf1038d8461963 (patch)
treee0623a323613baa0b0993411b38bcaed144b27ed /apps/plugins/sdl/progs/wolf3d/foreign.h
parent439a0d1d91fa040d261fc39b87278bc9f5391dcc (diff)
downloadrockbox-3f59fc8b771625aca9c3aefe03cf1038d8461963.tar.gz
rockbox-3f59fc8b771625aca9c3aefe03cf1038d8461963.zip
Wolfenstein 3-D!
This is a port of Wolf4SDL, which is derived from the original id software source release. The port runs on top of the SDL plugin runtime and is loaded as an overlay. Licensing of the game code is not an issue, as discussed below (essentially, the Debian project treats Wolf4SDL as GPLv2, with an email from John Carmack backing it up): http://forums.rockbox.org/index.php?topic=52872 Included is a copy of MAME's Yamaha OPL sound chip emulator (fmopl_gpl.c). This file was not part of the original Wolf4SDL source (which includes a non-GPL'd version), but was rather rebased from from a later MAME source which had been relicensed to GPLv2. Change-Id: I64c2ba035e0be7e2f49252f40640641416613439
Diffstat (limited to 'apps/plugins/sdl/progs/wolf3d/foreign.h')
-rw-r--r--apps/plugins/sdl/progs/wolf3d/foreign.h131
1 files changed, 131 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/wolf3d/foreign.h b/apps/plugins/sdl/progs/wolf3d/foreign.h
new file mode 100644
index 0000000000..b0f2f2197f
--- /dev/null
+++ b/apps/plugins/sdl/progs/wolf3d/foreign.h
@@ -0,0 +1,131 @@
1#define QUITSUR "Are you sure you want\n"\
2 "to quit this great game?"
3
4#define CURGAME "You are currently in\n"\
5 "a game. Continuing will\n"\
6 "erase old game. Ok?"
7
8#define GAMESVD "There's already a game\n"\
9 "saved at this position.\n"\
10 " Overwrite?"
11
12#define ENDGAMESTR "Are you sure you want\n"\
13 "to end the game you\n"\
14 "are playing? (Y or N):"
15
16#define STR_NG "New Game"
17#define STR_SD "Sound"
18#define STR_CL "Control"
19#define STR_LG "Load Game"
20#define STR_SG "Save Game"
21#define STR_CV "Change View"
22#define STR_VS "View Scores"
23#define STR_EG "End Game"
24#define STR_BD "Back to Demo"
25#define STR_QT "Quit"
26
27#define STR_LOADING "Loading"
28#define STR_SAVING "Saving"
29
30#define STR_GAME "Game"
31#define STR_DEMO "Demo"
32#define STR_LGC "Load Game called\n\""
33#define STR_EMPTY "empty"
34#define STR_CALIB "Calibrate"
35#define STR_JOYST "Joystick"
36#define STR_MOVEJOY "Move joystick to\nupper left and\npress button 0\n"
37#define STR_MOVEJOY2 "Move joystick to\nlower right and\npress button 1\n"
38#define STR_ESCEXIT "ESC to exit"
39
40#define STR_NONE "None"
41#define STR_PC "PC Speaker"
42#define STR_ALSB "AdLib/Sound Blaster"
43#define STR_DISNEY "Disney Sound Source"
44#define STR_SB "Sound Blaster"
45
46#define STR_MOUSEEN "Mouse Enabled"
47#define STR_JOYEN "Joystick Enabled"
48#define STR_PORT2 "Use joystick port 2"
49#define STR_GAMEPAD "Gravis GamePad Enabled"
50#define STR_SENS "Mouse Sensitivity"
51#define STR_CUSTOM "Customize controls"
52
53#define STR_DADDY "Can I play, Daddy?"
54#define STR_HURTME "Don't hurt me."
55#define STR_BRINGEM "Bring 'em on!"
56#define STR_DEATH "I am Death incarnate!"
57
58#define STR_MOUSEADJ "Adjust Mouse Sensitivity"
59#define STR_SLOW "Slow"
60#define STR_FAST "Fast"
61
62#define STR_CRUN "Run"
63#define STR_COPEN "Open"
64#define STR_CFIRE "Fire"
65#define STR_CSTRAFE "Strafe"
66
67#define STR_LEFT "Left"
68#define STR_RIGHT "Right"
69#define STR_FRWD "Frwd"
70#define STR_BKWD "Bkwrd"
71#define STR_THINK "Thinking"
72
73#define STR_SIZE1 "Use arrows to size"
74#define STR_SIZE2 "ENTER to accept"
75#define STR_SIZE3 "ESC to cancel"
76
77#define STR_YOUWIN "you win!"
78
79#define STR_TOTALTIME "total time"
80
81#define STR_RATKILL "kill %"
82#define STR_RATSECRET "secret %"
83#define STR_RATTREASURE "treasure %"
84
85#define STR_BONUS "bonus"
86#define STR_TIME "time"
87#define STR_PAR " par"
88
89#define STR_RAT2KILL "kill ratio %"
90#define STR_RAT2SECRET "secret ratio %"
91#define STR_RAT2TREASURE "treasure ratio %"
92
93#define STR_DEFEATED "defeated!"
94
95#define STR_CHEATER1 "You now have 100% Health,"
96#define STR_CHEATER2 "99 Ammo and both Keys!"
97#define STR_CHEATER3 "Note that you have basically"
98#define STR_CHEATER4 "eliminated your chances of"
99#define STR_CHEATER5 "getting a high score!"
100
101#define STR_NOSPACE1 "There is not enough space"
102#define STR_NOSPACE2 "on your disk to Save Game!"
103
104#define STR_SAVECHT1 "Your Save Game file is,"
105#define STR_SAVECHT2 "shall we say, \"corrupted\"."
106#define STR_SAVECHT3 "But I'll let you go on and"
107#define STR_SAVECHT4 "play anyway...."
108
109#define STR_SEEAGAIN "Let's see that again!"
110
111#ifdef SPEAR
112#define ENDSTR1 "Heroes don't quit, but\ngo ahead and press " YESBUTTONNAME "\nif you aren't one."
113#define ENDSTR2 "Press " YESBUTTONNAME " to quit,\nor press " NOBUTTONNAME " to enjoy\nmore violent diversion."
114#define ENDSTR3 "Depressing the " YESBUTTONNAME " key means\nyou must return to the\nhumdrum workday world."
115#define ENDSTR4 "Hey, quit or play,\n" YESBUTTONNAME " or " NOBUTTONNAME ":\nit's your choice."
116#define ENDSTR5 "Sure you don't want to\nwaste a few more\nproductive hours?"
117#define ENDSTR6 "I think you had better\nplay some more. Please\npress " NOBUTTONNAME "...please?"
118#define ENDSTR7 "If you are tough, press " NOBUTTONNAME ".\nIf not, press " YESBUTTONNAME " daintily."
119#define ENDSTR8 "I'm thinkin' that\nyou might wanna press " NOBUTTONNAME "\nto play more. You do it."
120#define ENDSTR9 "Sure. Fine. Quit.\nSee if we care.\nGet it over with.\nPress " YESBUTTONNAME "."
121#else
122#define ENDSTR1 "Dost thou wish to\nleave with such hasty\nabandon?"
123#define ENDSTR2 "Chickening out...\nalready?"
124#define ENDSTR3 "Press " NOBUTTONNAME " for more carnage.\nPress " YESBUTTONNAME " to be a weenie."
125#define ENDSTR4 "So, you think you can\nquit this easily, huh?"
126#define ENDSTR5 "Press " NOBUTTONNAME " to save the world.\nPress " YESBUTTONNAME " to abandon it in\nits hour of need."
127#define ENDSTR6 "Press " NOBUTTONNAME " if you are brave.\nPress " YESBUTTONNAME " to cower in shame."
128#define ENDSTR7 "Heroes, press " NOBUTTONNAME ".\nWimps, press " YESBUTTONNAME "."
129#define ENDSTR8 "You are at an intersection.\nA sign says, 'Press " YESBUTTONNAME " to quit.'\n>"
130#define ENDSTR9 "For guns and glory, press " NOBUTTONNAME ".\nFor work and worry, press " YESBUTTONNAME "."
131#endif