Definition at line 90 of file defaults.cpp.
92 logger->
log(
"Set config default values to configuration %s",
96 AddDEF(
"OverlayDetail", 2);
97 AddDEF(
"speechBubbleAlpha", 1.0F);
98 AddDEF(
"MostUsedServerName0",
"server.themanaworld.org");
102 AddDEF(
"showgender",
true);
103 AddDEF(
"showlevel",
false);
104 AddDEF(
"showMonstersTakedDamage",
true);
105 AddDEF(
"highlightAttackRange",
false);
106 AddDEF(
"highlightMapPortals",
true);
107 AddDEF(
"highlightMonsterAttackRange",
false);
108 AddDEF(
"chatMaxCharLimit", 512);
109 AddDEF(
"lowTraffic",
true);
110 AddDEF(
"invertMoveDirection", 0);
111 AddDEF(
"crazyMoveType", 1);
112 AddDEF(
"attackWeaponType", 1);
113 AddDEF(
"quickDropCounter", 1);
115 AddDEF(
"magicAttackType", 0);
117 AddDEF(
"targetingType", 0);
119 AddDEF(
"imitationMode", 0);
120 AddDEF(
"syncPlayerMove",
true);
121 AddDEF(
"syncPlayerMoveDistance", 5);
122 AddDEF(
"syncPlayerMoveDistanceLegacy", 15);
123 AddDEF(
"drawPath",
false);
124 AddDEF(
"moveToTargetType", 10);
125 AddDEF(
"crazyMoveProgram",
"mumrsonmdmlon");
126 AddDEF(
"disableGameModifiers",
true);
127 AddDEF(
"targetDeadPlayers",
false);
128 AddDEF(
"afkMessage",
"I am away from keyboard.");
130 AddDEF(
"particleMaxCount", 3000);
132 AddDEF(
"particleEmitterSkip", 1);
133 AddDEF(
"particleeffects",
true);
134 AddDEF(
"mapparticleeffects",
true);
138 AddDEF(
"screenheight", 0);
139 AddDEF(
"showScreenJoystick",
true);
140 AddDEF(
"showScreenButtons",
true);
141 AddDEF(
"showBeingPopup",
false);
142 AddDEF(
"mouseDirectionMove",
true);
143 AddDEF(
"showScreenKeyboard",
true);
145 AddDEF(
"showChatColorsList",
false);
146 AddDEF(
"customcursor",
false);
147 AddDEF(
"showDidYouKnow",
false);
148 AddDEF(
"longmouseclick",
true);
153 AddDEF(
"showScreenJoystick",
false);
154 AddDEF(
"showScreenButtons",
false);
155 AddDEF(
"showBeingPopup",
true);
156 AddDEF(
"mouseDirectionMove",
false);
158 AddDEF(
"showScreenKeyboard",
true);
160 AddDEF(
"showScreenKeyboard",
false);
163 AddDEF(
"showChatColorsList",
true);
164 AddDEF(
"customcursor",
true);
165 AddDEF(
"showDidYouKnow",
true);
166 AddDEF(
"longmouseclick",
false);
169 AddDEF(
"theme",
"jewelry");
170 AddDEF(
"showEmotesButton",
true);
179 AddDEF(
"musicVolume", 60);
180 AddDEF(
"remember",
false);
185 AddDEF(
"lastCharacter",
"");
188 AddDEF(
"screenshotDirectory3",
"");
189 AddDEF(
"useScreenshotDirectorySuffix",
true);
190 AddDEF(
"screenshotDirectorySuffix",
"");
192 AddDEF(
"joystickEnabled",
true);
194 AddDEF(
"joystickEnabled",
false);
196 AddDEF(
"upTolerance", 100);
197 AddDEF(
"downTolerance", 100);
198 AddDEF(
"leftTolerance", 100);
199 AddDEF(
"rightTolerance", 100);
200 AddDEF(
"logNpcInGui",
true);
201 AddDEF(
"download-music",
true);
203 AddDEF(
"ChatLogLength", 0);
204 AddDEF(
"enableChatLog",
true);
205 AddDEF(
"whispertab",
true);
206 AddDEF(
"showownname",
true);
207 AddDEF(
"showpickupparticle",
true);
208 AddDEF(
"showpickupchat",
true);
209 AddDEF(
"ReturnToggles",
false);
210 AddDEF(
"ScrollLaziness", 16);
211 AddDEF(
"ScrollRadius", 0);
212 AddDEF(
"ScrollCenterOffsetX", 0);
213 AddDEF(
"ScrollCenterOffsetY", 0);
214 AddDEF(
"enableMumble",
false);
215 AddDEF(
"playBattleSound",
true);
216 AddDEF(
"playGuiSound",
true);
217 AddDEF(
"playMusic",
true);
218 AddDEF(
"packetcounters",
true);
219 AddDEF(
"safemode",
false);
220 AddDEF(
"font",
"fonts/dejavusans.ttf");
221 AddDEF(
"boldFont",
"fonts/dejavusans-bold.ttf");
222 AddDEF(
"particleFont",
"fonts/dejavusans.ttf");
223 AddDEF(
"helpFont",
"fonts/dejavusansmono.ttf");
224 AddDEF(
"secureFont",
"fonts/dejavusansmono.ttf");
225 AddDEF(
"japanFont",
"fonts/mplus-1p-regular.ttf");
226 AddDEF(
"chinaFont",
"fonts/wqy-microhei.ttf");
227 AddDEF(
"npcFont",
"fonts/dejavusans.ttf");
228 AddDEF(
"showBackground",
true);
229 AddDEF(
"enableTradeTab",
true);
230 AddDEF(
"cyclePlayers",
true);
231 AddDEF(
"cycleMonsters",
true);
233 AddDEF(
"floorItemsHighlight",
true);
234 AddDEF(
"enableBotCheker",
true);
235 AddDEF(
"removeColors",
true);
236 AddDEF(
"showMagicInDebug",
true);
237 AddDEF(
"allowCommandsInChatTabs",
true);
238 AddDEF(
"serverMsgInDebug",
true);
239 AddDEF(
"hideShopMessages",
true);
240 AddDEF(
"showChatHistory",
true);
241 AddDEF(
"chatMaxLinesLimit", 40);
244 AddDEF(
"updateOnlineList",
true);
245 AddDEF(
"targetOnlyReachable",
true);
246 AddDEF(
"errorsInDebug",
true);
248 AddDEF(
"debugLog",
false);
249 AddDEF(
"unimplimentedLog",
false);
250 AddDEF(
"drawHotKeys",
true);
251 AddDEF(
"serverAttack",
true);
252 AddDEF(
"autofixPos",
false);
253 AddDEF(
"alphaCache",
true);
254 AddDEF(
"attackMoving",
true);
255 AddDEF(
"attackNext",
false);
256 AddDEF(
"quickStats",
true);
257 AddDEF(
"warpParticle",
false);
258 AddDEF(
"autoShop",
false);
259 AddDEF(
"enableBattleTab",
false);
260 AddDEF(
"showBattleEvents",
false);
261 AddDEF(
"showMobHP",
true);
262 AddDEF(
"showOwnHP",
true);
263 AddDEF(
"usePersistentIP",
true);
264 AddDEF(
"showJobExp",
true);
265 AddDEF(
"showExtMinimaps",
false);
266 AddDEF(
"hideChatInput",
true);
267 AddDEF(
"enableAttackFilter",
true);
268 AddDEF(
"enablePickupFilter",
true);
269 AddDEF(
"securetrades",
true);
270 AddDEF(
"unsecureChars",
"IO0@#$");
272 AddDEF(
"useLocalTime",
false);
273 AddDEF(
"enableAdvert",
true);
274 AddDEF(
"enableMapReduce",
true);
275 AddDEF(
"showPlayersStatus",
true);
276 AddDEF(
"beingopacity",
false);
277 AddDEF(
"adjustPerfomance",
true);
278 AddDEF(
"enableAlphaFix",
false);
279 AddDEF(
"disableAdvBeingCaching",
true);
280 AddDEF(
"disableBeingCaching",
false);
281 AddDEF(
"enableReorderSprites",
true);
283 AddDEF(
"seflMouseHeal",
true);
284 AddDEF(
"enableLazyScrolling",
false);
285 AddDEF(
"extMouseTargeting",
true);
287 AddDEF(
"pvpAttackType", 0);
289 AddDEF(
"selectedJoystick", 0);
290 AddDEF(
"useInactiveJoystick",
false);
292 AddDEF(
"enableresize",
true);
294 AddDEF(
"groupFriends",
true);
295 AddDEF(
"grabinput",
false);
299 AddDEF(
"enableBuggyServers",
true);
300 AddDEF(
"soundwhisper",
"newmessage");
301 AddDEF(
"soundhighlight",
"reminder");
302 AddDEF(
"soundglobal",
"email");
303 AddDEF(
"sounderror",
"error");
304 AddDEF(
"soundtrade",
"start");
305 AddDEF(
"soundinfo",
"notify");
306 AddDEF(
"soundrequest",
"attention");
307 AddDEF(
"soundguild",
"newmessage");
308 AddDEF(
"soundparty",
"newmessage");
309 AddDEF(
"soundclan",
"newmessage");
310 AddDEF(
"soundshowwindow",
"page");
311 AddDEF(
"soundhidewindow",
"book");
312 AddDEF(
"autohideButtons",
true);
313 AddDEF(
"autohideChat",
false);
314 AddDEF(
"downloadProxy",
"");
315 AddDEF(
"downloadProxyType", 0);
316 AddDEF(
"downloadProxyTunnel",
false);
318 #if defined(WIN32) || defined(__APPLE__)
319 AddDEF(
"centerwindow",
true);
322 AddDEF(
"centerwindow",
false);
325 AddDEF(
"audioFrequency", 44100);
326 AddDEF(
"audioChannels", 2);
328 AddDEF(
"repeateDelay", 500);
329 AddDEF(
"repeateInterval", 30);
330 AddDEF(
"repeateInterval2", 500);
333 AddDEF(
"repeateDelay", SDL_DEFAULT_REPEAT_DELAY);
334 AddDEF(
"repeateInterval", SDL_DEFAULT_REPEAT_INTERVAL);
335 AddDEF(
"repeateInterval2", SDL_DEFAULT_REPEAT_DELAY);
338 AddDEF(
"compresstextures", 0);
339 AddDEF(
"rectangulartextures",
false);
340 AddDEF(
"networksleep", 0);
341 AddDEF(
"newtextures",
true);
342 AddDEF(
"videodetected",
false);
343 AddDEF(
"hideErased",
false);
344 AddDEF(
"enableDelayedAnimations",
true);
345 AddDEF(
"enableCompoundSpriteDelay",
true);
347 AddDEF(
"useAtlases",
false);
350 AddDEF(
"useAtlases",
true);
353 AddDEF(
"useTextureSampler",
false);
354 AddDEF(
"ministatussaved", 0);
355 AddDEF(
"allowscreensaver",
false);
357 AddDEF(
"protectChatFocus",
true);
358 #if defined(__APPLE__)
359 AddDEF(
"enableGamma",
false);
362 AddDEF(
"enableGamma",
true);
365 AddDEF(
"logInput",
false);
366 AddDEF(
"highlightWords",
"");
367 AddDEF(
"globalsFilter",
"Sagatha");
368 AddDEF(
"selfMouseHeal",
true);
369 AddDEF(
"serverslistupdate",
"");
370 AddDEF(
"fadeoutmusic",
true);
390 AddDEF(
"screenButtonsFormat", 0);
391 AddDEF(
"autoresizeminimaps",
false);
392 AddDEF(
"showGuildOnline",
false);
393 AddDEF(
"showPartyOnline",
false);
394 AddDEF(
"enableGmTab",
true);
397 AddDEF(
"weightMsg",
true);
398 AddDEF(
"enableLangTab",
true);
399 AddDEF(
"showAllLang",
false);
400 AddDEF(
"moveNames",
false);
401 AddDEF(
"uselonglivesprites",
false);
402 AddDEF(
"uselonglivesounds",
true);
403 AddDEF(
"screenDensity", 0);
405 AddDEF(
"enableDebugLog",
false);
406 AddDEF(
"doubleClick",
true);
407 AddDEF(
"useDiagonalSpeed",
true);
408 AddDEF(
"protectedItems",
"");
409 AddDEF(
"inventorySortOrder", 0);
410 AddDEF(
"storageSortOrder", 0);
411 AddDEF(
"cartSortOrder", 0);
412 AddDEF(
"buySortOrder", 0);
413 AddDEF(
"showmotd",
false);
414 AddDEF(
"playMapAnimations",
true);
417 AddDEF(
"addwatermark",
true);
418 AddDEF(
"hidesupport",
false);
419 AddDEF(
"showserverpos",
false);
420 AddDEF(
"textureSize",
"1024,1024,1024,1024,1024,1024");
421 AddDEF(
"ignorelogpackets",
"");
422 AddDEF(
"disableLoggingInGame",
false);
423 AddDEF(
"sellShopName",
"unnamed");
425 AddDEF(
"tradescreenshot",
false);
426 AddDEF(
"skillAutotarget",
true);
427 AddDEF(
"logPlayerActions",
false);
428 AddDEF(
"enableGuiOpacity",
true);
429 AddDEF(
"enableTradeFilter",
true);
430 AddDEF(
"enableIdCollecting",
false);
431 AddDEF(
"checkOpenGLVersion",
true);
432 AddDEF(
"openglContext",
false);
433 AddDEF(
"allowMoveByMouse",
true);
434 AddDEF(
"enableDSA",
true);
435 AddDEF(
"blockAltTab",
false);
437 AddDEF(
"allowHighDPI",
false);
439 AddDEF(
"parallelAudioChannels", 16);
440 AddDEF(
"showButtonIcons",
false);
static const int defaultScreenWidth
static const int defaultScreenHeight
References AddDEF, VisibleNamePos::Bottom, CAST_S32, InputAction::CHANGE_TRADE, Configuration::cleanDefaults(), defaultScreenHeight, defaultScreenWidth, InputAction::DIRECT_DOWN, Configuration::getDefaultValues(), Configuration::getFileName(), Logger::log(), logger, BeingSpeech::NO_NAME_IN_BUBBLE, ParticlePhysics::Normal, InputAction::PICKUP, VisibleName::Show, InputAction::SHOW_KEYBOARD, InputAction::STOP_SIT, InputAction::TALK, InputAction::TARGET_ATTACK, InputAction::TARGET_NPC, BadgeDrawType::Top, InputAction::WINDOW_DEBUG, InputAction::WINDOW_INVENTORY, InputAction::WINDOW_SKILL, InputAction::WINDOW_SOCIAL, and InputAction::WINDOW_STATUS.
Referenced by ConfigManager::initConfiguration(), and ConfigManager::initServerConfig().