Commit Graph

497 Commits

Author SHA1 Message Date
Henrik Rydgård
4161b500ab
Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets
5884a2201d UI: Disable focus movement on game start.
Otherwise, dev tools or chat remain usable while trying to play the game.
This was an unintentional bug from chat UI refactoring.
2021-10-08 09:23:22 -07:00
Unknown W. Brackets
fd58172417 UI: Allow cancel mapped to a letter in chat. 2021-09-27 10:42:24 -07:00
Unknown W. Brackets
2a4f8c57bc UI: Grow chat button based on text width. 2021-09-24 08:21:33 -07:00
Henrik Rydgård
f8ab243167
Merge pull request #14860 from unknownbrackets/ui-chat-enable
Disable auto-enable chat on ctrl-c, fix enabling
2021-09-15 18:36:10 +02:00
Unknown W. Brackets
433daf1ee8 UI: Oops, remove silly mistake.
Of course, I meant to keep showing the new messages.
2021-09-15 00:24:06 -07:00
Unknown W. Brackets
75f5c75045 Windows: Disable auto-enable chat on Ctrl-C.
It's annoying when this triggers unexpectedly.  Sometimes it happens when
using debug windows.
2021-09-15 00:15:27 -07:00
Unknown W. Brackets
cf045dfbbc UI: When enabling chat, recreate views.
Otherwise, the chat button doesn't show right away.
Fixes #13090.
2021-09-14 23:56:45 -07:00
Unknown W. Brackets
9403947b67 UI: Decouple new chat display and tracking logic. 2021-09-14 18:08:16 -07:00
Unknown W. Brackets
40c233fa77 UI: Update flags more correctly in chat.
Not the ideal interface here, though...
2021-09-12 20:20:17 -07:00
Unknown W. Brackets
6b107a884b UI: Cleanup input box for chat. 2021-09-12 20:16:05 -07:00
Unknown W. Brackets
f45c5186ca UI: Move the chat message box to just a view.
Instead of being a popup.  This should make it easier to make sure things
work normally, and avoids some of the strange overrides of PopupScreen it
previously had.
2021-09-12 19:44:44 -07:00
Unknown W. Brackets
96fd29c86f UI: Allow UI keys on emuscreen of focused.
This is only if you already focus something.
2021-09-12 19:41:47 -07:00
Henrik Rydgård
58e7b6bec2 Tweak defaults some more (no L2 on xbox pads..). Minor code cleanup. 2021-08-28 20:06:05 +02:00
iota97
c302ebdd83 Allow no chat button and make quickchat settings disabled when chat is not enabled 2021-08-20 00:03:42 +02:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik Rydgård
aa3daca293 If it's a TV and VIRTKEY_PAUSE is not mapped to a pad control, pause on app switch. 2021-08-12 00:02:19 +02:00
Henrik Rydgård
81b4c3b376 Auto-pause on app switch. Will be made conditional in the next commit. 2021-08-11 23:31:51 +02:00
Unknown W. Brackets
75eeb55617 UI: Use a UIState for exceptions.
This makes it so we can enable Stop/Reset/etc. during them in the menus.
2021-08-08 23:40:41 -07:00
Unknown W. Brackets
eb8a239616 UI: Show a reset button on the crash screen. 2021-08-08 23:03:19 -07:00
iota97
498878267a Customizable touch control (rebased with label) 2021-07-11 09:55:25 +02:00
Henrik Rydgård
ef51097f06 Move auto-rotation code to ControlMapper so it can be checked using the new screen 2021-07-09 16:14:51 +02:00
Henrik Rydgård
42f7ab7341 Hide the calls to ConvertAnalogStick inside ControlMapper. 2021-07-09 11:01:56 +02:00
Henrik Rydgård
fac4c2a90b Move the internal screen rotation compensation to after value mapping. 2021-07-09 10:52:48 +02:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Henrik Rydgård
7eaa687140 Move the joystick deadzone processing until after all the mapping. 2021-07-09 00:07:55 +02:00
Henrik Rydgård
98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Henrik Rydgård
47039b4bcd Address all the easy feedback. Some is left. 2021-05-13 10:39:17 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Unknown W. Brackets
63edd037d7 Ctrl: Apply analog limiter to real sticks too.
Previously only applied to virtual analog by button, but there's no
particular good reason for that.
2021-05-08 13:34:07 -07:00
Henrik Rydgård
e2e1c677cb GameInfoCache: Don't expose the workqueue.
Was unused anyway.
2021-04-30 23:04:24 -07:00
Unknown W. Brackets
5102d3e621 UI: Change background when dangerous settings on.
This way it's more obvious when a setting is likely involved.
2021-04-24 19:09:08 -07:00
Unknown W. Brackets
08461ef0bc UI: Show cheats and plugins on exceptions. 2021-04-24 19:08:39 -07:00
Henrik Rydgård
5dc36abbf7 Couple warning fixes. 2021-03-09 00:09:36 +01:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
237c8dec50 UI: Consider chat for visible UI.
Otherwise we might fail to bind a framebuf and crash.
2021-02-15 20:38:11 -08:00
Unknown W. Brackets
92d0454133 UI: Make chatButton_ a member of EmuScreen.
No need for a global here.  This should prevent any confusion if the
screen is deleted (i.e. playing a second game.)
2021-02-15 20:37:24 -08:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
97b9518929 UI: Prevent self-powerdown check on load new game.
Sometimes, when loading a new game or dump while an existing one is
running, we'd detect the "powerdown" and force back to the menu.

This was a race condition.
2021-01-07 23:16:17 -08:00
Henrik Rydgård
dee953af89 Fix layout problem on crash screen. Fixes #13808 2020-12-25 10:40:54 +01:00
Henrik Rydgård
6c8ee35826 Crash screen: Add a very dangerous and inaccurate "Resume" function.
Not sure if there's much point really but maybe..
2020-12-19 20:27:39 +01:00
Henrik Rydgård
a550aacf96 Further improvements to crash screen 2020-12-19 20:08:48 +01:00
Henrik Rydgård
bc3ee5a60d Fix bluescreen layout on notched phones 2020-12-19 19:53:53 +01:00
Henrik Rydgård
ac6715baa9 Improvements to crash screen.
Part of #13299

Use the new tests/cpu/crash tests in pspautotest to test this code
(manually).
2020-12-19 19:48:24 +01:00
Henrik Rydgård
1640a39de8 Add developer setting "Show on screen messages". Uncheck to hide them.
Fixes #13682.

Might move to system settings or something next release, don't want to
cause a mess in translations.
2020-11-22 19:08:14 +01:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00