____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"00001 // ____ _ __ 00002 // / __ )____ _____ | | / /___ ___________ 00003 // / __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/ 00004 // / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ ) 00005 // /_____/\____/____/ |__/|__/\__,_/_/ /____/ 00006 // 00007 // A futuristic real-time strategy game. 00008 // This file is part of Bos Wars. 00009 // 00011 // 00012 // (c) Copyright 1999-2007 by Lutz Sammer, Fabrice Rossi, 00013 // and Jimmy Salmon 00014 // 00015 // This program is free software; you can redistribute it and/or modify 00016 // it under the terms of the GNU General Public License as published by 00017 // the Free Software Foundation; only version 2 of the License. 00018 // 00019 // This program is distributed in the hope that it will be useful, 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 // GNU General Public License for more details. 00023 // 00024 // You should have received a copy of the GNU General Public License 00025 // along with this program; if not, write to the Free Software 00026 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00027 // 02111-1307, USA. 00028 00029 #ifndef __UNITSOUND_H__ 00030 #define __UNITSOUND_H__ 00031 00033 00034 /*---------------------------------------------------------------------------- 00035 -- Includes 00036 ----------------------------------------------------------------------------*/ 00037 00038 #include "upgrade_structs.h" 00039 00040 /*---------------------------------------------------------------------------- 00041 -- Declarations 00042 ----------------------------------------------------------------------------*/ 00043 00044 class CSound; 00045 00049 class SoundConfig 00050 { 00051 public: 00052 SoundConfig() : Sound(NULL) {} 00053 SoundConfig(std::string name) : Name(name), Sound(NULL) {} 00054 00055 std::string Name; 00056 CSound *Sound; 00057 }; 00058 00064 class CUnitSound { 00065 public: 00066 SoundConfig Selected; 00067 SoundConfig Acknowledgement; 00068 SoundConfig Ready; 00069 SoundConfig Repair; 00070 SoundConfig Harvest; 00071 SoundConfig Help; 00072 SoundConfig Dead; 00073 }; 00074 00075 /*---------------------------------------------------------------------------- 00076 -- Variables 00077 ----------------------------------------------------------------------------*/ 00078 00079 /*---------------------------------------------------------------------------- 00080 -- Functions 00081 ----------------------------------------------------------------------------*/ 00082 00087 extern void LoadUnitSounds(void); 00088 00093 extern void MapUnitSounds(void); 00094 00096 00097 #endif // !__UNITSOUND_H__
1.5.6