Commit Graph
4019 Commits
Author SHA1 Message Date
Henrik Rydgård 6a51b6f7bf Quick attempt to add some thread safety to GameInfo::fileLoader. 2023-05-04 09:20:05 +02:00
Henrik Rydgård a132b72ba1 Paranoia 2023-05-04 01:24:31 +02:00
Henrik Rydgård 03bf19c47e Merge pull request #17398 from lvonasek/cleanup_openxr_android12
OpenXR - Cleanup unsupported features, support Android 12
2023-05-03 20:05:16 +02:00
Lubos 0447b2b78a OpenXR - Cleanup unsupported features, support Android 12 2023-05-03 19:41:23 +02:00
Henrik Rydgård c037f6731d Better (but not great) workaround for key bindings that pop up dialogs. 2023-05-02 21:36:17 +02:00
Henrik Rydgård eee4640962 Simpler calculation of the vertex count for the Waves animation. Feels safer. 2023-05-02 13:34:22 +02:00
Henrik Rydgård 8bb2643459 Minor: Move the "UI background animation" setting to be next to the other background settings. 2023-05-01 20:55:08 +02:00
Henrik Rydgård 6468319599 Fix memory bug in memstick file copy routine 2023-05-01 13:56:35 +02:00
Henrik Rydgård 15a0474d40 NativeKey: Only update the HLEPlugins key map if any plugins are active. 2023-05-01 12:16:45 +02:00
Henrik Rydgård d4249c1d73 OpenGL: Add an assert to catch a class of crash bugs early. Also assorted paranoia. 2023-05-01 11:56:26 +02:00
Henrik Rydgård c81d996475 Implement the RESTART_APP system request for Mac 2023-04-29 11:38:47 +02:00
Henrik Rydgård 6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård ab37b8dea9 Rename a couple of types to avoid clashes with a Mac header, sigh. 2023-04-28 13:38:16 +02:00
Serena a0d0aff865 woopsie 2023-04-22 18:12:42 +03:00
Serena a71ec1acdf Recognize openable types in Info.plist, debug menu in top bar 2023-04-22 18:11:06 +03:00
Henrik Rydgård 7594ae8785 Resurrect and refactor the AxisSwap feature. Fixes #17292 2023-04-20 10:53:11 +02:00
Henrik Rydgård c81ec8c74d List Vulkan present modes in system info, show the current one 2023-04-20 00:21:06 +02:00
Henrik Rydgård d782a49229 Enable building a gold version for mac. 2023-04-19 15:06:02 +02:00
Henrik Rydgård 9612bff2ac Properly fix the analog limiter feature ("lightly"). 2023-04-15 19:56:27 +02:00
Henrik Rydgård 471941cca7 Fix the analog limiter deadzone setting. 2023-04-15 10:14:19 +02:00
Henrik Rydgård db936cfb52 Merge two very similar translation keys (seconds, 0:off), move to Dialog section 2023-04-14 14:34:48 +02:00
Henrik Rydgård a1d9dd47eb Add missing strings 2023-04-12 22:55:35 +02:00
Henrik Rydgård fb0e41e32b Take the Controls string from the right section in the settings reset popup 2023-04-11 23:08:38 +02:00
Henrik Rydgård 500ab1fcde Fix translatability of seconds unit formatting for sliders 2023-04-11 23:07:50 +02:00
Henrik Rydgård 12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
Unknown W. Brackets 87b5a0b107 UI: Buildfix. 2023-04-07 10:35:01 +02:00
Henrik Rydgård 18d7412116 Warning fix, buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård fd97cd75d5 Android fixes 2023-04-07 10:35:01 +02:00
Henrik Rydgård 2294af8f6e Android buildfix 2023-04-07 10:35:01 +02:00
Henrik Rydgård 019a9e2923 MacOS build fixes 2023-04-07 10:35:01 +02:00
Henrik Rydgård ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård d5f131f6a7 Always tell Android we handled the BUTTON_MODE key
Otherwise, as seen in #17245, some devies can decide to do something weird with it,
like exiting the app.
2023-04-06 12:34:40 +02:00
Henrik Rydgård 58a6c1f611 Merge pull request #17241 from hrydgard/chat-window-fixes
Chat window fixes
2023-04-06 00:20:35 +02:00
Henrik Rydgård 92f6fcfb9d Create the chat window even if the on-screen chat button is disabled. 2023-04-05 23:47:51 +02:00
Henrik Rydgård 3af24a5d9f Fix issue where the chat-window key would feel stuck after closing the window (two presses needed) 2023-04-05 23:21:51 +02:00
Lubos cc1dd22e0f OpenXR - Option to disable HUD detection added 2023-04-05 22:49:46 +02:00
Henrik Rydgård 6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02:00
Henrik Rydgård 4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård 8f96ec371e Rename iBufFilter -> iDisplayFilter 2023-04-05 09:34:18 +02:00
Henrik Rydgård d223d3c316 Rename CenterDisplayOutputRect to CalculateDisplayOutputRect 2023-04-02 22:29:08 +02:00
Henrik Rydgård 2fa93982ea Add support for integer scale factor for display
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.

Fixes #17093
2023-04-02 22:29:08 +02:00
Henrik Rydgård d996fb74d4 MSVC: Set language standard to c++17.
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård 9146020aa4 Logic fix, optimization, remove hack. See post-comments on #17215 2023-04-01 22:45:26 +02:00
Henrik Rydgård c1b5aed9b7 Cleanup, confine g_controllerMap access to KeyMap.cpp 2023-04-01 20:28:42 +02:00
Henrik Rydgård 88e73801fe Fix the binding UI to support multi-bind 2023-04-01 17:51:45 +02:00
Henrik Rydgård 8c9fee064e Display multi-mappings correctly in the mapping list 2023-04-01 15:00:22 +02:00
Henrik Rydgård 0e1c42ce70 Plumb multimappings all the way through. 2023-04-01 13:50:57 +02:00
Henrik Rydgård 0b574613b9 Address assorted feedback 2023-04-01 09:01:27 +02:00
Henrik Rydgård 04321284c0 Remove redundant callback 2023-04-01 08:57:42 +02:00
Henrik Rydgård 04d3d3111c Clean up __Ctrl button functions. 2023-04-01 08:55:45 +02:00