137 Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt()); |
137 Form->ui.pageNetServer->sbPort->setValue(value("net/serverport", NETGAME_DEFAULT_PORT).toUInt()); |
138 |
138 |
139 Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool()); |
139 Form->ui.pageOptions->CBShowFPS->setChecked(value("fps/show", false).toBool()); |
140 Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt()); |
140 Form->ui.pageOptions->fpsedit->setValue(value("fps/limit", 27).toUInt()); |
141 |
141 |
142 Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", false).toBool()); |
142 Form->ui.pageOptions->CBAltDamage->setChecked(value("misc/altdamage", true).toBool()); |
143 Form->ui.pageOptions->CBNameWithDate->setChecked(value("misc/appendTimeToRecords", false).toBool()); |
143 Form->ui.pageOptions->CBNameWithDate->setChecked(value("misc/appendTimeToRecords", false).toBool()); |
|
144 |
|
145 Form->ui.pageOptions->CBTeamTag->setChecked(value("misc/teamtag", true).toBool()); |
|
146 Form->ui.pageOptions->CBHogTag->setChecked(value("misc/hogtag", true).toBool()); |
|
147 Form->ui.pageOptions->CBHealthTag->setChecked(value("misc/healthtag", true).toBool()); |
|
148 Form->ui.pageOptions->CBTagOpacity->setChecked(value("misc/tagopacity", false).toBool()); |
144 |
149 |
145 #ifdef SPARKLE_ENABLED |
150 #ifdef SPARKLE_ENABLED |
146 Form->ui.pageOptions->CBAutoUpdate->setChecked(value("misc/autoUpdate", true).toBool()); |
151 Form->ui.pageOptions->CBAutoUpdate->setChecked(value("misc/autoUpdate", true).toBool()); |
147 #endif |
152 #endif |
148 |
153 |
278 |
283 |
279 setValue("fps/show", isShowFPSEnabled()); |
284 setValue("fps/show", isShowFPSEnabled()); |
280 setValue("fps/limit", Form->ui.pageOptions->fpsedit->value()); |
285 setValue("fps/limit", Form->ui.pageOptions->fpsedit->value()); |
281 |
286 |
282 setValue("misc/altdamage", isAltDamageEnabled()); |
287 setValue("misc/altdamage", isAltDamageEnabled()); |
|
288 |
|
289 setValue("misc/teamtag", Form->ui.pageOptions->CBTeamTag->isChecked()); |
|
290 setValue("misc/hogtag", Form->ui.pageOptions->CBHogTag->isChecked()); |
|
291 setValue("misc/healthtag", Form->ui.pageOptions->CBHealthTag->isChecked()); |
|
292 setValue("misc/tagopacity",Form->ui.pageOptions->CBTagOpacity->isChecked()); |
|
293 |
283 setValue("misc/appendTimeToRecords", appendDateTimeToRecordName()); |
294 setValue("misc/appendTimeToRecords", appendDateTimeToRecordName()); |
284 setValue("misc/locale", language()); |
295 setValue("misc/locale", language()); |
285 |
296 |
286 #ifdef SPARKLE_ENABLED |
297 #ifdef SPARKLE_ENABLED |
287 setValue("misc/autoUpdate", isAutoUpdateEnabled()); |
298 setValue("misc/autoUpdate", isAutoUpdateEnabled()); |