This commit is contained in:
Renan LE CARO 2025-04-11 09:36:31 +02:00
parent bf687c48ee
commit 8099ced71b
16 changed files with 2031 additions and 1937 deletions

View file

@ -7,79 +7,79 @@ import { hoursSpentPlaying } from "./pure_functions";
export const options = {
sound: {
default: true,
name: t("main_menu.sounds"),
help: t("main_menu.sounds_help"),
name: t("settings.sounds"),
help: t("settings.sounds_help"),
},
"mobile-mode": {
default: window.innerHeight > window.innerWidth,
name: t("main_menu.mobile"),
help: t("main_menu.mobile_help"),
name: t("settings.mobile"),
help: t("settings.mobile_help"),
},
basic: {
default: false,
name: t("main_menu.basic"),
help: t("main_menu.basic_help"),
name: t("settings.basic"),
help: t("settings.basic_help"),
},
colorful_coins: {
default: false,
name: t("main_menu.colorful_coins"),
help: t("main_menu.colorful_coins_help"),
name: t("settings.colorful_coins"),
help: t("settings.colorful_coins_help"),
},
extra_bright: {
default: true,
name: t("main_menu.extra_bright"),
help: t("main_menu.extra_bright_help"),
name: t("settings.extra_bright"),
help: t("settings.extra_bright_help"),
},
contrast: {
default: false,
name: t("main_menu.contrast"),
help: t("main_menu.contrast_help"),
name: t("settings.contrast"),
help: t("settings.contrast_help"),
},
show_fps: {
default: false,
name: t("main_menu.show_fps"),
help: t("main_menu.show_fps_help"),
name: t("settings.show_fps"),
help: t("settings.show_fps_help"),
},
show_stats: {
default: false,
name: t("main_menu.show_stats"),
help: t("main_menu.show_stats_help"),
name: t("settings.show_stats"),
help: t("settings.show_stats_help"),
},
pointerLock: {
default: false,
name: t("main_menu.pointer_lock"),
help: t("main_menu.pointer_lock_help"),
name: t("settings.pointer_lock"),
help: t("settings.pointer_lock_help"),
},
easy: {
default: false,
name: t("main_menu.kid"),
help: t("main_menu.kid_help"),
name: t("settings.kid"),
help: t("settings.kid_help"),
},
// Could not get the sharing to work without loading androidx and all the modern android things so for now I'll just disable sharing in the android app
record: {
default: false,
name: t("main_menu.record"),
help: t("main_menu.record_help"),
name: t("settings.record"),
help: t("settings.record_help"),
},
fullscreen: {
default: false,
name: t("main_menu.fullscreen"),
help: t("main_menu.fullscreen_help"),
name: t("settings.fullscreen"),
help: t("settings.fullscreen_help"),
},
donation_reminder: {
default: hoursSpentPlaying() > 5,
name: t("main_menu.donation_reminder"),
help: t("main_menu.donation_reminder_help"),
name: t("settings.donation_reminder"),
help: t("settings.donation_reminder_help"),
},
red_miss: {
default: true,
name: t("main_menu.red_miss"),
help: t("main_menu.red_miss_help"),
name: t("settings.red_miss"),
help: t("settings.red_miss_help"),
},
comboIncreaseTexts: {
default: true,
name: t("main_menu.comboIncreaseTexts"),
help: t("main_menu.comboIncreaseTexts_help"),
name: t("settings.comboIncreaseTexts"),
help: t("settings.comboIncreaseTexts_help"),
},
} as const satisfies { [k: string]: OptionDef };