X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fsound.h;h=22d630bbe1734303acd5bc6c79156f04589bd5e6;hp=8851b8513320a4d6870faeebee0b6b24473edda1;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=0102df00b3e2485b084f11a8270a2365d1aa7cbc diff --git a/src/sound.h b/src/sound.h index 8851b85..22d630b 100644 --- a/src/sound.h +++ b/src/sound.h @@ -1,38 +1,31 @@ -/* - Управление звуком и музыкой для DOS4GW - Версия 1.0 - Copyright (C) Алексей Волынсков, 1996 - - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 - - This file is part of the Doom2D:Rembo project. - - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo 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. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ +/* Copyright (C) 2020 SovietPony + * + * This program 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 3 of the License ONLY. + * + * This program 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. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #ifndef SOUND_H_INCLUDED #define SOUND_H_INCLUDED +#include "menu.h" +#include "system.h" + typedef struct { int tag; } snd_t; -// Sound volume 0..128 -extern short snd_vol; +const cfg_t *S_args (void); +const cfg_t *S_conf (void); +const menu_t *S_menu (void); // Get sound handle for resource snd_t *S_get (int id);