The \ref Sound_Handler must already existĥ3 * during command line parsing because -nosound needs to be known. See theġ2 * GNU General Public License for more details.ġ4 * You should have received a copy of the GNU General Public Licenseġ5 * along with this program if not, write to the Free Softwareġ6 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.ġ8 */ 19 20 # include "sound_handler.h" 21 22 # include "io/fileread.h" 23 # include "logic/game.h" 24 # include "i18n.h" 25 # include "wui/interactive_base.h" 26 # include "io/filesystem/layered_filesystem.h" 27 # include "logic/map.h" 28 # include "wui/mapview.h" 29 # include "wui/mapviewpixelfunctions.h" 30 # include "profile/profile.h" 31 # include "songset.h" 32 33 # include "log.h" 34 35 # include 36 37 # include 38 39 # ifdef _WIN32 40 # include 41 # endif 42 43 # define DEFAULT_MUSIC_VOLUME 64 44 # define DEFAULT_FX_VOLUME 128 45 46 /** The global \ref Sound_Handler objectĤ7 * The sound handler is a static object because otherwise it'd be quiteĤ8 * difficult to pass the -nosound command line optionĤ9 */ 50 Sound_Handler g_sound_handler 51 52 /** This is just a basic constructor.
#Widelands obejctive software#
94 complexity | f91da418615d1fc665430e3a4b81a0ed MD5 |Ģ * Copyright (C) 2005-2009 by the Widelands Development TeamĤ * 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 either version 2ħ * of the License, or (at your option) any later version.ĩ * This program is distributed in the hope that it will be useful,ġ0 * but WITHOUT ANY WARRANTY without even the implied warranty ofġ1 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.