Changeset 5298 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 7, 2005, 12:48:02 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/key_mapper.cc
r5075 r5298 191 191 { 192 192 *map[i].pValue = keyID; 193 PRINTF(0)("Mapping %s to id %i\n", name, keyID);193 PRINTF(0)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(keyID), keyID); 194 194 break; 195 195 } -
trunk/src/lib/gui/gui_audio.cc
r4836 r5298 1 /* 1 /* 2 2 orxonox - the future of 3D-vertical-scrollers 3 3 … … 16 16 You should have received a copy of the GNU General Public License 17 17 along with this program; if not, write to the Free Software Foundation, 18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 19 20 20 … … 44 44 Slider* musicVolume; //!< A Slider for music volume. 45 45 Slider* effectsVolume; //!< A Slider for effects volume. 46 46 47 47 enableSound = new CheckButton(CONFIG_NAME_DISABLE_AUDIO); 48 48 enableSound->setFlagName ("no-sound", 0); … … 53 53 Label* musicVolumeLabel = new Label(CONFIG_NAME_MUSIC_VOLUME); 54 54 audioBox->fill(musicVolumeLabel); 55 musicVolume = new Slider( "Music Volume", 0, 100);55 musicVolume = new Slider(CONFIG_NAME_MUSIC_VOLUME, 0, 100); 56 56 musicVolume->setFlagName("music-volume", "m", 80); 57 57 musicVolume->setDescription("Sets the volume of the ingame music"); … … 60 60 Label* effectsVolumeLabel = new Label (CONFIG_NAME_EFFECTS_VOLUME); 61 61 audioBox->fill (effectsVolumeLabel); 62 effectsVolume = new Slider ( "Effects Volume", 0, 100);62 effectsVolume = new Slider (CONFIG_NAME_EFFECTS_VOLUME, 0, 100); 63 63 effectsVolume->setFlagName ("effects-volume", "e", 80); 64 64 effectsVolume->setDescription("Sets the volune of the ingame SoundEffects"); … … 71 71 } 72 72 73 /** 73 /** 74 74 * Destructs the Audio-Stuff 75 75 */
Note: See TracChangeset
for help on using the changeset viewer.