texttoggle=1;
alwaysblur=0;
showpoints=0;
+ showdamagebar=0;
immediate=0;
velocityblur=0;
volume = 0.8f;
opstream << KeyToChar(game.attackkey);
opstream << "\nChat key:\n";
opstream << KeyToChar(game.chatkey);
+ opstream << "\nDamage bar:\n";
+ opstream << showdamagebar;
opstream.close();
}
} else if ( !strncmp(setting, "Chat key", 8) ) {
ipstream >> string;
game.chatkey = CharToKey(string);
+ } else if ( !strncmp(setting, "Damage bar", 10) ) {
+ ipstream >> showdamagebar;
} else {
ipstream >> string;
fprintf(stderr, "Unknown config option '%s' with value '%s'. Ignoring.\n", setting, string);