- Timestamp:
- Mar 31, 2006, 10:19:55 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/parser/preferences/cmd_line_prefs_reader.cc
r7258 r7261 146 146 147 147 arg.longOption = longOption; 148 while ( arg.longOption.find("_") != std::string::npos ) 149 { 150 arg.longOption.replace( arg.longOption.find("_"), 1, "-" ); 151 } 148 152 arg.shortOption = shortOption; 153 if ( arg.shortOption == '_' ) 154 arg.shortOption = '\0'; 149 155 arg.value = value; 150 156 arg.help = help; -
trunk/src/orxonox.cc
r7258 r7261 78 78 REGISTER_ARG_FLAG( w, windowed, "video", "Fullscreen-mode", "start Orxonox in windowed mode", "0"); 79 79 REGISTER_ARG_ARG( r, resolution, "video", "Resolution", "Sets resolution / window size", "res"); 80 81 REGISTER_ARG_FLAG( a, audio, "audio", "Disable-Audio", "Enable audio", "0" ); 82 REGISTER_ARG_FLAG( m, mute , "audio", "Disable-Audio", "Disable audio", "1" ); 83 REGISTER_ARG_ARG( _, audio_channels, "audio", "Audio-Channels", "Sets # audio channels", "num" ); 84 REGISTER_ARG_ARG( _, music_volume, "audio", "Music-Volume", "Sets music volume", "vol" ); 85 REGISTER_ARG_ARG( _, effects_volume, "audio", "Effects-Volume", "Sets effects volume", "vol" ); 80 86 81 87 /**
Note: See TracChangeset
for help on using the changeset viewer.