Colobot
sound_type.h
1 /*
2  * This file is part of the Colobot: Gold Edition source code
3  * Copyright (C) 2001-2015, Daniel Roux, EPSITEC SA & TerranovaTeam
4  * http://epsitec.ch; http://colobot.info; http://github.com/colobot
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  * See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see http://gnu.org/licenses
18  */
19 
20 #pragma once
21 
22 #include <string>
23 
29 enum SoundType
30 {
31  SOUND_NONE = -1,
32  SOUND_CLICK = 0,
33  SOUND_BOUM = 1,
34  SOUND_EXPLO = 2,
35  SOUND_FLYh = 3,
36  SOUND_FLY = 4,
37  SOUND_STEPs = 5,
38  SOUND_MOTORw = 6,
39  SOUND_MOTORt = 7,
40  SOUND_MOTORr = 8,
41  SOUND_ERROR = 9,
42  SOUND_CONVERT = 10,
43  SOUND_ENERGY = 11,
44  SOUND_PLOUF = 12,
45  SOUND_BLUP = 13,
46  SOUND_WARNING = 14,
47  SOUND_DERRICK = 15,
48  SOUND_LABO = 16,
49  SOUND_STATION = 17,
50  SOUND_REPAIR = 18,
51  SOUND_RESEARCH = 19,
52  SOUND_INSECTs = 20,
53  SOUND_BURN = 21,
54  SOUND_TZOING = 22,
55  SOUND_GGG = 23,
56  SOUND_MANIP = 24,
57  SOUND_FIRE = 25,
58  SOUND_HUMAN1 = 26,
59  SOUND_STEPw = 27,
60  SOUND_SWIM = 28,
61  SOUND_RADAR = 29,
62  SOUND_BUILD = 30,
63  SOUND_ALARM = 31,
64  SOUND_SLIDE = 32,
65  SOUND_EXPLOi = 33,
66  SOUND_INSECTa = 34,
67  SOUND_INSECTb = 35,
68  SOUND_INSECTw = 36,
69  SOUND_INSECTm = 37,
70  SOUND_TREMBLE = 38,
71  SOUND_PSHHH = 39,
72  SOUND_NUCLEAR = 40,
73  SOUND_INFO = 41,
74  SOUND_OPEN = 42,
75  SOUND_CLOSE = 43,
76  SOUND_FACTORY = 44,
77  SOUND_EGG = 45,
78  SOUND_MOTORs = 46,
79  SOUND_MOTORi = 47,
80  SOUND_SHIELD = 48,
81  SOUND_FIREi = 49,
82  SOUND_GUNDEL = 50,
83  SOUND_PSHHH2 = 51,
84  SOUND_MESSAGE = 52,
85  SOUND_BOUMm = 53,
86  SOUND_BOUMv = 54,
87  SOUND_BOUMs = 55,
88  SOUND_EXPLOl = 56,
89  SOUND_EXPLOlp = 57,
90  SOUND_EXPLOp = 58,
91  SOUND_STEPh = 59,
92  SOUND_STEPm = 60,
93  SOUND_POWERON = 61,
94  SOUND_POWEROFF = 62,
95  SOUND_AIE = 63,
96  SOUND_WAYPOINT = 64,
97  SOUND_RECOVER = 65,
98  SOUND_DEADi = 66,
99  SOUND_JOSTLE = 67,
100  SOUND_GFLAT = 68,
101  SOUND_DEADg = 69,
102  SOUND_DEADw = 70,
103  SOUND_FLYf = 71,
104  SOUND_ALARMt = 72,
105  SOUND_FINDING = 73,
106  SOUND_THUMP = 74,
107  SOUND_TOUCH = 75,
108  SOUND_BLITZ = 76,
109  SOUND_MUSHROOM = 77,
110  SOUND_FIREp = 78,
111  SOUND_EXPLOg1 = 79,
112  SOUND_EXPLOg2 = 80,
113 // SOUND_MOTORd = 81, /*!< engine friction */
114  SOUND_MAX
115 };
116 
117 SoundType ParseSoundType(const std::string& str);