4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 /** @file sound_type.h Types related to sounds. */
20 uint8 bits_per_sample
;
24 byte grf_container_ver
; ///< NewGRF container version if the sound is from a NewGRF.
29 SND_02_SPLAT
= 0, // 0 == 0x00 !
30 SND_03_FACTORY_WHISTLE
,
32 SND_05_TRAIN_THROUGH_TUNNEL
,
35 SND_08_PLANE_TAKE_OFF
,
38 SND_0B_MINING_MACHINERY
,
39 SND_0C_ELECTRIC_SPARK
,
41 SND_0E_LEVEL_CROSSING
,
42 SND_0F_VEHICLE_BREAKDOWN
,
43 SND_10_TRAIN_BREAKDOWN
,
45 SND_12_EXPLOSION
, // 16 == 0x10
48 SND_15_BEEP
, // 19 == 0x13
49 SND_16_MORSE
, // 20 == 0x14
52 SND_19_BUS_START_PULL_AWAY
,
53 SND_1A_BUS_START_PULL_AWAY_WITH_HORN
,
58 SND_1F_SPLAT
, // 29 == 0x1D
59 SND_20_SPLAT_2
, // 30 == 0x1E
66 SND_27_BLACKSMITH_ANVIL
,
67 SND_28_SAWMILL
, // 38 == 0x26 !
68 SND_00_GOOD_YEAR
, // 39 == 0x27 !
69 SND_01_BAD_YEAR
, // 40 == 0x28 !
70 SND_29_RIP
, // 41 == 0x29 !
71 SND_2A_EXTRACT_AND_POP
,
75 SND_2E_EXTRACT_AND_POP
,
82 SND_35_COMEDY_BREAKDOWN
,
84 SND_37_BALLOON_SQUEAK
,
87 SND_3A_COMEDY_BREAKDOWN_2
,
90 SND_3D_ANOTHER_JET_OVERHEAD
,
93 SND_40_COMEDY_CAR_START_AND_PULL_AWAY
,
98 SND_45_PLANE_CRASHING
,
99 SND_46_PLANE_ENGINE_SPUTTERING
,
101 SND_48_DISTANT_BIRD
, // 72 == 0x48
105 /** The number of sounds in the original sample.cat */
106 static const uint ORIGINAL_SAMPLE_COUNT
= 73;
108 typedef uint16 SoundID
;
110 #endif /* SOUND_TYPE_H */