summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/wolf3d/audiowl6.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/audiowl6.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/audiowl6.h')
-rw-r--r--apps/plugins/sdl/progs/wolf3d/audiowl6.h153
1 files changed, 153 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/wolf3d/audiowl6.h b/apps/plugins/sdl/progs/wolf3d/audiowl6.h
new file mode 100644
index 0000000000..a29248dac6
--- /dev/null
+++ b/apps/plugins/sdl/progs/wolf3d/audiowl6.h
@@ -0,0 +1,153 @@
1/////////////////////////////////////////////////
2//
3// MUSE Header for .WL6
4// Created Tue Jul 14 15:04:53 1992
5//
6/////////////////////////////////////////////////
7
8//
9// Sound names & indexes
10//
11typedef enum {
12 HITWALLSND, // 0
13 SELECTWPNSND, // 1
14 SELECTITEMSND, // 2
15 HEARTBEATSND, // 3
16 MOVEGUN2SND, // 4
17 MOVEGUN1SND, // 5
18 NOWAYSND, // 6
19 NAZIHITPLAYERSND, // 7
20 SCHABBSTHROWSND, // 8
21 PLAYERDEATHSND, // 9
22 DOGDEATHSND, // 10
23 ATKGATLINGSND, // 11
24 GETKEYSND, // 12
25 NOITEMSND, // 13
26 WALK1SND, // 14
27 WALK2SND, // 15
28 TAKEDAMAGESND, // 16
29 GAMEOVERSND, // 17
30 OPENDOORSND, // 18
31 CLOSEDOORSND, // 19
32 DONOTHINGSND, // 20
33 HALTSND, // 21
34 DEATHSCREAM2SND, // 22
35 ATKKNIFESND, // 23
36 ATKPISTOLSND, // 24
37 DEATHSCREAM3SND, // 25
38 ATKMACHINEGUNSND, // 26
39 HITENEMYSND, // 27
40 SHOOTDOORSND, // 28
41 DEATHSCREAM1SND, // 29
42 GETMACHINESND, // 30
43 GETAMMOSND, // 31
44 SHOOTSND, // 32
45 HEALTH1SND, // 33
46 HEALTH2SND, // 34
47 BONUS1SND, // 35
48 BONUS2SND, // 36
49 BONUS3SND, // 37
50 GETGATLINGSND, // 38
51 ESCPRESSEDSND, // 39
52 LEVELDONESND, // 40
53 DOGBARKSND, // 41
54 ENDBONUS1SND, // 42
55 ENDBONUS2SND, // 43
56 BONUS1UPSND, // 44
57 BONUS4SND, // 45
58 PUSHWALLSND, // 46
59 NOBONUSSND, // 47
60 PERCENT100SND, // 48
61 BOSSACTIVESND, // 49
62 MUTTISND, // 50
63 SCHUTZADSND, // 51
64 AHHHGSND, // 52
65 DIESND, // 53
66 EVASND, // 54
67 GUTENTAGSND, // 55
68 LEBENSND, // 56
69 SCHEISTSND, // 57
70 NAZIFIRESND, // 58
71 BOSSFIRESND, // 59
72 SSFIRESND, // 60
73 SLURPIESND, // 61
74 TOT_HUNDSND, // 62
75 MEINGOTTSND, // 63
76 SCHABBSHASND, // 64
77 HITLERHASND, // 65
78 SPIONSND, // 66
79 NEINSOVASSND, // 67
80 DOGATTACKSND, // 68
81 FLAMETHROWERSND, // 69
82 MECHSTEPSND, // 70
83 GOOBSSND, // 71
84 YEAHSND, // 72
85#ifndef APOGEE_1_0
86 DEATHSCREAM4SND, // 73
87 DEATHSCREAM5SND, // 74
88 DEATHSCREAM6SND, // 75
89 DEATHSCREAM7SND, // 76
90 DEATHSCREAM8SND, // 77
91 DEATHSCREAM9SND, // 78
92 DONNERSND, // 79
93 EINESND, // 80
94 ERLAUBENSND, // 81
95 KEINSND, // 82
96 MEINSND, // 83
97 ROSESND, // 84
98 MISSILEFIRESND, // 85
99 MISSILEHITSND, // 86
100#endif
101 LASTSOUND
102} soundnames;
103
104//
105// Base offsets
106//
107#define STARTPCSOUNDS 0
108#define STARTADLIBSOUNDS LASTSOUND
109#define STARTDIGISOUNDS (2*LASTSOUND)
110#define STARTMUSIC (3*LASTSOUND)
111
112//
113// Music names & indexes
114//
115typedef enum {
116 CORNER_MUS, // 0
117 DUNGEON_MUS, // 1
118 WARMARCH_MUS, // 2
119 GETTHEM_MUS, // 3
120 HEADACHE_MUS, // 4
121 HITLWLTZ_MUS, // 5
122 INTROCW3_MUS, // 6
123 NAZI_NOR_MUS, // 7
124 NAZI_OMI_MUS, // 8
125 POW_MUS, // 9
126 SALUTE_MUS, // 10
127 SEARCHN_MUS, // 11
128 SUSPENSE_MUS, // 12
129 VICTORS_MUS, // 13
130 WONDERIN_MUS, // 14
131 FUNKYOU_MUS, // 15
132 ENDLEVEL_MUS, // 16
133 GOINGAFT_MUS, // 17
134 PREGNANT_MUS, // 18
135 ULTIMATE_MUS, // 19
136 NAZI_RAP_MUS, // 20
137 ZEROHOUR_MUS, // 21
138 TWELFTH_MUS, // 22
139 ROSTER_MUS, // 23
140 URAHERO_MUS, // 24
141 VICMARCH_MUS, // 25
142 PACMAN_MUS, // 26
143 LASTMUSIC
144} musicnames;
145
146#define NUMSOUNDS LASTSOUND
147#define NUMSNDCHUNKS (STARTMUSIC + LASTMUSIC)
148
149/////////////////////////////////////////////////
150//
151// Thanks for playing with MUSE!
152//
153/////////////////////////////////////////////////