throwkey = SDL_SCANCODE_Q;
attackkey = MOUSEBUTTON1;
consolekey = SDL_SCANCODE_GRAVE;
- chatkey = SDL_SCANCODE_T;
}
void SaveSettings()
opstream << attackkey;
opstream << "\nConsole key:\n";
opstream << consolekey;
- opstream << "\nChat key:\n";
- opstream << chatkey;
opstream << "\nDamage bar:\n";
opstream << showdamagebar;
opstream << "\nStereoMode:\n";
ipstream >> attackkey;
} else if ( !strncmp(setting, "Console key", 11) ) {
ipstream >> consolekey;
- } else if ( !strncmp(setting, "Chat key", 8) ) {
- ipstream >> chatkey;
} else if ( !strncmp(setting, "Damage bar", 10) ) {
ipstream >> showdamagebar;
} else if ( !strncmp(setting, "StereoMode", 10) ) {