package net.torvald.terrarum import com.badlogic.gdx.Input /** * Keys must be all lowercase * * Created by minjaesong on 2016-03-12. */ object DefaultConfig { val hashMap = hashMapOf( "jvm_xmx" to 4, "jvm_extra_cmd" to "", "displayfps" to 0, // 0: no limit, non-zero: limit "displayfpsidle" to 0, // 0: no limit, non-zero: limit "displaycolourdepth" to 8, "usevsync" to false, "screenwidth" to TerrarumScreenSize.defaultW, "screenheight" to TerrarumScreenSize.defaultH, "fullscreen" to false, "atlastexsize" to 2048, "savegamecomp" to "snappy", "audio_buffer_size" to 512, "audio_dynamic_source_max" to 128, "audio_speaker_setup" to "headphone", // "headphone" or "stereo" "audio_dsp_compressor_ratio" to "none", "language" to App.getSysLang(), "notificationshowuptime" to 4000, // 4s "selecteditemnameshowuptime" to 4000, // 4s "autosaveinterval" to 300000, // 5m "showhealthmessageonstartup" to true, "usexinput" to true, // when FALSE, LT+RT input on xbox controller is impossible // control_preset_keyboard now lives in ControlPresetConfig (controls.json) "control_gamepad_keyn" to 3, "control_gamepad_keyw" to 2, "control_gamepad_keys" to 0, "control_gamepad_keye" to 1, // xbox indices "control_gamepad_lup" to 4, "control_gamepad_rup" to 5, "control_gamepad_select" to 6, "control_gamepad_start" to 7, "control_gamepad_ltrigger" to 8, "control_gamepad_rtrigger" to 9, "control_gamepad_lthumb" to 10, "control_gamepad_rthumb" to 11, "control_gamepad_axislx" to 1, "control_gamepad_axisly" to 0, "control_gamepad_axisrx" to 3, "control_gamepad_axisry" to 2, // 0-1-2-3 but sometimes 3-2-1-0 ?! what the actual fuck? "control_gamepad_triggeraxis" to 4, // positive: LT, negative: RT (xbox pad) "control_gamepad_triggeraxis2" to 5, // just in case... (RT) // to accomodate shifted zero point of analog stick "control_gamepad_axiszeropoints" to doubleArrayOf(0.0,0.0,0.0,0.0), "control_gamepad_labelstyle" to "msxbone", // "nintendo", "logitech", "sony", "msxb360", "msxbone" // control_key_*, control_mouse_* entries now live in ControlPresetConfig (controls.json) "pcgamepadenv" to "console", //"safetywarning" to true, "maxparticles" to 1024, // "fancy" graphics settings "fx_dither" to true, "fx_retro" to false, "fx_backgroundblur" to true, "fx_streamerslayout" to false, "fx_differential" to false, //"fx_3dlut" to false, "basekeyboardlayout" to "en_intl_qwerty", "inputmethod" to "none", "screenmagnifying" to 1.0, "screenmagnifyingfilter" to "none", // "none", "bilinear", "hq2x" "fx_newlight" to false, "debug_key_deltat_benchmark" to Input.Keys.SLASH, "debug_deltat_benchmark_sample_sizes" to 2048, "mastervolume" to 1.0, "bgmvolume" to 1.0, "ambientvolume" to 1.0, "sfxvolume" to 1.0, "guivolume" to 1.0, "lightpasses" to 3, "enablescriptmods" to false, "show_timepiece_overlay" to "fullscreen", // "hide", "fullscreen", "always" // settings regarding debugger /*"buildingmakerfavs" to arrayOf( Block.GLASS_CRUDE, Block.PLANK_NORMAL, Block.PLANK_BIRCH, Block.STONE_QUARRIED, Block.STONE_BRICKS, Block.STONE_TILE_WHITE, Block.TORCH, "wall@" + Block.PLANK_NORMAL, "wall@" + Block.PLANK_BIRCH, "wall@" + Block.GLASS_CRUDE )*/ ) } /* Additional description goes here */