vnctdj
5dd71db818
Improve some i18n things
...
- reuse some translations
- move some strings to a more suitable category
I will adapt the lang .ini files accordingly.
2021-01-09 18:50:00 +01:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Unknown W. Brackets
f16a6b8abd
MsgDialog: Show better error messages.
...
I think the PSP really did just show error codes, but that's not a reason
to keep that confusion going. For common save errors, let's show the
messages.
Some games, for example, simply show the no data found error when you play
for the first time and trigger anything to check for data.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets
3daf536e3c
MsgDialog: Allow text to be wider.
...
Our font is a bit different, let's add a bit more as long as the spacing
looks okay. Reduce scale if there's a lot of non-ASCII, since the PSP's
font seemed to use smaller glyphs than ours for those chars.
2020-07-13 18:24:05 -07: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
Henrik Rydgård
e97e3c4218
THe proposed Hive Sweeper fix in #11025 looks right, let's just commit it.
...
Probably helps #11025 .
2020-03-10 00:01:28 +01: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
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
bd71af24db
Fix some minor things found looking at Valgrind output
2019-02-27 13:42:00 +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
Henrik Rydgård
21fe73c8e7
Switch strncpy to truncate_cpy in a bunch of places.
2017-05-26 19:04:08 +02:00
vnctdj
d7eba2061e
Consistently use *di for the Dialog i18n category
2015-07-01 23:26:55 +02:00
Unknown W. Brackets
2450724be2
Make Memory::Memcpy() execute memchecks directly.
...
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
00491bb33b
Process msgdialog abort on Update().
...
Matches tests.
2014-09-27 00:13:11 -07:00
Unknown W. Brackets
bdf94a8909
Delay init/shutdown for msgdialogs as well.
2014-02-08 17:44:13 -08:00
Unknown W. Brackets
77acd0729f
Use the latch in dialogs throughout.
...
This makes it so that rapid fire works for them as well.
2014-02-02 15:48:29 -08:00
sum2012
b08cef4353
Fix logic
2014-01-31 17:18:53 +08:00
sum2012
ee5912bc5c
Fix formating
2014-01-31 15:58:22 +08:00
sum2012
4c4d7c7a14
Move to PSPMSgDialog
2014-01-31 15:00:05 +08:00
Unknown W. Brackets
05ad9721d9
Allow msgdialog override of ok/cancel button text.
...
Per tests, and hints from JPCSP.
2014-01-23 01:02:41 -08:00
Unknown W. Brackets
bcdcd528b2
Validate options in MsgDialog v3 per tests.
2014-01-23 00:41:42 -08:00
Unknown W. Brackets
fa1c5e0f87
Oops, only reset MsgDialog result on success.
2014-01-23 00:41:26 -08:00
Unknown W. Brackets
278359b208
Set msgdialog result to 0 after displayed.
...
This might fix anything checking the result code without zeroing it first.
2014-01-22 08:18:56 -08:00
Unknown W. Brackets
f74e29977f
Abort on a message dialog just moves to finished.
...
Still need to shutdown. Fixes #5177 .
2014-01-22 08:17:21 -08:00
Henrik Rydgard
1ec0a977e4
Fix too-slow fade in/out of save dialogs and others in 30hz games.
2013-10-16 18:54:40 +02:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
8c88dff5a4
More log categories, use them (and existing ones). Improve log config.
2013-09-07 22:02:55 +02:00
Unknown W. Brackets
0b5bdeb1d3
Fix some compile failures under big endian.
2013-07-28 21:04:17 -07:00
raven02
e75f647bc4
Fix the YES/OK/No button sizing and code cleanup
2013-07-29 00:31:01 +08:00
raven02
4c9422088b
Only show OK button when (flag & DS_OK) in message dialog
2013-07-21 17:52:04 +08:00
raven02
d28dbffe68
Fix uninitialized variable in PSPMsgDialog
2013-07-03 08:13:16 +08:00
raven02
1f9846e5c4
Minor sizing fix
2013-06-29 01:17:36 +08:00
raven02
c4b0db4d2f
Match message dialog with real PSP
2013-06-29 01:02:55 +08:00
raven02
b1c910b5b7
Add text shadow to Yes/No/Enter/Back button
2013-06-24 22:56:44 +08:00
raven02
1a46843996
Add text shadow to message dialog that match real PSP
2013-06-24 01:01:55 +09:00
raven02
a1f6a23974
Use bit longer horizontal lines
2013-06-16 22:53:13 +02:00
Henrik Rydgard
f836517853
MsgDialog: Have the text WRAP_WIDTH match the horizontal lines. Fixes #2288 .
2013-06-15 23:55:23 +02:00
Henrik Rydgård
4437e0dfc7
Merge pull request #2263 from raven02/master
...
Quick fix wrong sizing of CIRCLE image and misc UI refinements
2013-06-15 02:17:38 -07:00
raven02
26ec4c283f
Minor fix to the correct font scale
2013-06-15 16:29:46 +08:00
raven02
a9363292d6
Better align the message context in message dialog
2013-06-15 13:09:41 +08:00
aquanull
b5440ecb65
Unify some common elements of dialogs.
2013-06-10 21:24:49 +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
7d17ed8a8e
Correctly shutdown dialogs on game reset.
2013-05-31 01:41:04 -07:00
raven02
77653f03b5
Better Align OK/Back button
2013-05-03 06:39:28 +08:00