1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
4 Copyright (C) <ARembo@gmail.com> 2011
6 This file is part of the Doom2D:Rembo project.
8 Doom2D:Rembo is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version 2 as
10 published by the Free Software Foundation.
12 Doom2D:Rembo is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, see <http://www.gnu.org/licenses/> or
19 write to the Free Software Foundation, Inc.,
20 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
25 #include <SDL.h>
26 #include <SDL_mixer.h>
36 Uint32 muscount;
41 {
47 }
53 }
54 }
63 }
66 {
71 }
72 }
75 {
80 }
83 {
87 }
90 {
97 }
100 }
103 }
104 }
107 Uint8 ascii;
108 Uint8 asciilc;
144 };
147 {
153 }
154 i++;
155 }
157 }
160 {
168 }
171 p++;
172 }
173 }
175 }
181 #ifndef WIN32
183 #else
185 #endif
192 {
193 #ifndef WIN32
200 #endif
201 }
204 }
211 }
213 }
220 {
223 //періодично встановлюю гучність музикі, так як вона сама підвищується до максимуму через певний час
224 volsetcount++;
227 }
232 }
233 muscount--;
240 }
241 }
242 }