Unknown W. Brackets
5bed35b293
Savedata: Skip and defer texture exist check.
...
We can skip if there's no UI.
2022-10-09 14:42:31 -07:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Henrik Rydgård
aec37e8bb4
Only consider the actual PPGe texture in kernel ram reliable.
...
It seems some Chinese patches like to allocate kernel space for
textures.
(On that note, we should probably allocate our texture elsewhere... in
case it takes up too much space).
2021-02-19 09:53:55 +01:00
Unknown W. Brackets
f7c17817fe
PPGe: Decimate early if kernel alloc fails.
2021-02-07 23:17:53 -08:00
Unknown W. Brackets
4573907098
Savedata: Prevent garbage bleeding into save icons.
...
This pads out the icon data and also fixes a potential buffer overflow
during image data copy.
2021-01-03 16:26:31 -08:00
Henrik Rydgård
e0aa187161
UWP: Fix dialog rendering (PPGe).
2020-12-20 12:11:02 +01:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Unknown W. Brackets
b181a93e5e
MsgDialog: Add scrollbar when message is long.
...
Some games hard wrap their messages, and PSP firmware also showed a
scrollbar. Let's do the same.
One intentional difference: trying to ensure we always show part of a
hidden line to make it clear to the user that there's more text.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets
143ba22097
PPGe: Handle text shadows more consistently.
...
Don't really want them wrapping differently or etc. Let's handle
centrally so we can make them consistent and better.
2020-07-13 18:20:57 -07:00
Unknown W. Brackets
4f586f9567
PPGe: Left align messages in dialogs.
...
It was previously left aligned, but the TextDrawer was being told to
center. These are meant to just center the enclosing box of text, not the
individual lines within.
Makes Final Fantasy 3 look a lot better.
2020-05-23 19:59:56 -07:00
Unknown W. Brackets
dbc78b437e
PPGe: Fix dialog button positioning.
...
The measure was previously the line height, but always ultimately used
as the full text height. This just makes it always full height.
2020-03-23 18:23:35 -07:00
Unknown W. Brackets
6652fe261f
PPGe: Use TextDrawer for save UI if available.
...
This should result in better spacing for non-Latin characters, and less
missing letters. Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
f2c88d6626
PPGe: Make some of the API internal only.
...
We don't use these externally and probably won't.
2020-03-10 21:30:53 -07:00
Henrik Rydgård
45d94c4877
Switch all images to dynamic lookup in the atlas by string ID.
...
SLN fix
It works, but with the wrong images and the wrong characters!
Fix another bug in atlastool's binary output
Get Android building again.
Oops, didn't mean to disable this permanently.
Error checking
Minor cleanup
Gotta tweak my git ignores...
Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
9a5fbe5ea5
Savedata: Truncate detail if it's too long.
...
We could add scrolling later, but this makes it more usable without ugly
text overlap, at least.
Fixes #11711 .
2019-02-16 14:52:01 -08:00
Lioncash
f830d5dec7
Core: Mark some functions as const
2014-12-03 15:16:11 -05:00
Unknown W. Brackets
996fa39684
Reduce some unnecessary includes in Core/.
2014-03-15 10:41:07 -07:00
lioncash
b9886942a7
Fix some vertical alignments in misc Core source files.
2014-03-03 11:16:53 -05:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Unknown W. Brackets
2d3f0758c1
Dynamically manage PPGe images so 50+ are okay.
...
Otherwise, we try to allocate all at once and could run out of ram.
Should fix #2242 .
2013-12-08 11:06:18 -08:00
aquanull
3c140106be
Auto-height the "borders" of the message text area.
...
More dialog tweaks.
2013-06-10 21:24:48 +08:00
aquanull
ddc85988ab
Improve PSP system dialogs' looks.
...
Format date according to configurations.
Swap positions of button tips.
Fix text wrapping with non-top-left text alignment.
2013-06-10 21:24:48 +08:00
Unknown W. Brackets
c82fd54d1c
Implement simple text wrapping for PPGe/MsgDialog.
...
Probably not enough. Maybe should apply other places.
2013-05-19 23:20:50 -07:00
Unknown W. Brackets
2a6457b6ab
Cut down on h files including PointerWrap.
...
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Henrik Rydgard
9363a867e2
Add glViewport to cached gl state. Add a couple of missing VFPU ops.
2013-01-06 23:23:36 +01:00
Unknown W. Brackets
cd1d4367bf
Save state of a bunch of small modules.
2012-12-28 13:55:28 -08:00
Xele02
67c88d7b33
* Load and display save image in save/load menu
...
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
Xele02
7de10d223b
* Create class for Save and Message dialog for cleaner code.
...
* Update Save dialog to work more like the real one on PSP
* Correct some return value for Save Dialog.
2012-12-10 13:08:54 +01:00
Henrik Rydgard
870ea6628b
Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working).
2012-11-26 17:35:08 +01:00
Henrik Rydgard
75412b064b
Implement sceUtilityMsgDialog
2012-11-18 17:51:14 +01:00
Henrik Rydgard
e37a1fb1d3
Add internal 2D drawing library that goes through the Ge emulation for portability.
...
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00