Commit Graph

377 Commits

Author SHA1 Message Date
raven02
12a3a42d9a Buildfix 2013-07-21 17:59:04 +08:00
raven02
4c9422088b Only show OK button when (flag & DS_OK) in message dialog 2013-07-21 17:52:04 +08:00
raven02
cfd8ef494a Add text shadow to Save Dialog 2013-07-20 21:33:40 +08:00
raven02
00fe237f45 Fix YES/NO selection color in save dialog 2013-07-13 22:56:46 +08:00
raven02
3382e73063 Fix YES/NO background color in save dialog 2013-07-10 11:20:24 +02:00
Unknown W. Brackets
a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
raven02
d28dbffe68 Fix uninitialized variable in PSPMsgDialog 2013-07-03 08:13:16 +08:00
Lioncash
ea830774c8 Fix a missing 'break' in a date formatting switch statement in PSPSaveDialog.cpp. 2013-07-02 16:28:34 -04:00
raven02
66c1f59b42 Small fix to right border 2013-07-01 21:07:52 +08:00
raven02
ae796ad5c7 Add fake glowing effect to save icon 2013-07-01 20:42:10 +08:00
raven02
2db74a7088 Use "NEW DATA" as real PSP does for new save 2013-07-01 07:39:36 +08:00
raven02
78742a0ddb Match transition in save dialog as real PSP does 2013-07-01 07:39:27 +08:00
raven02
0c22bcf2e4 Fix wrong YES/NO color of save dialog 2013-06-29 04:58:44 +08:00
raven02
fa138b9354 Quick fix sizing 2013-06-29 04:31:17 +08:00
raven02
1ecde43163 Match the font size of save dialog with real PSP 2013-06-29 04:28:50 +08:00
raven02
5b920e1d86 Add square icon to LOAD/SAVE/DELETE 2013-06-29 03:37:30 +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
Unknown W. Brackets
c36fa5bd76 Fix typo breaking delete button in OSK. 2013-06-26 08:07:21 -07:00
Lioncash
76165a8815 Fixed incorrect る/ル misplacements in the Japanese Hirigana/Katakana characters. Replaced them with the appropriate ろ/ロ character.
Fixes issue 2468.
2013-06-25 17:10:56 -04:00
Lioncash
5de2adcead Fixed missing Japanese characters in the OSK.
Also added the vowel lengthening character to Katakana and Hirigana
2013-06-25 16:59:40 -04:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Unknown W. Brackets
a94640f112 Fix a few null checks in savedata.
Fixes #2456.
2013-06-24 23:02:57 -07:00
Unknown W. Brackets
f1659a228c Dumb typo. 2013-06-24 08:38:06 -07:00
Henrik Rydgård
aab66ad623 Merge pull request #2443 from raven02/patch-12
Add text shadow to Yes/No/Enter/Back button
2013-06-24 08:18:26 -07:00
Unknown W. Brackets
ab353a4624 Compare with the old savedata params, not current.
Some savedata modes make changes that aren't flushed to memory right away.
Although, maybe/probably they shouldn't...

Fixes #2440, fixes #2439 (which is a duplicate.)
2013-06-24 07:59:23 -07:00
raven02
b1c910b5b7 Add text shadow to Yes/No/Enter/Back button 2013-06-24 22:56:44 +08:00
Sacha
5ce2f2abcc Blackberry Buildfix. 2013-06-24 21:22:05 +10:00
Unknown W. Brackets
9032fc274f Reload the savedata request if it changes.
This happens in "Where Is My Heart?", and if it's ignored the save is
created with the wrong name and cannot be loaded properly later.
2013-06-23 22:30:23 -07:00
Unknown W. Brackets
8f0d3c55fb Use PSP memory directly in GETSIZES for savedata. 2013-06-23 22:22:25 -07:00
Unknown W. Brackets
8734b29105 Return a bind value in FILELIST, tweaks. 2013-06-23 22:22:25 -07:00
Unknown W. Brackets
6eca664c7c Switch idList to use structs in savedata. 2013-06-23 22:22:24 -07:00
Unknown W. Brackets
73acbe556d Use the specified game/save name for SIZES.
It doesn't use the global one (not sure why...)
2013-06-23 22:22:24 -07:00
Unknown W. Brackets
3672b591bb Return error codes from SavedataParam::GetSizes().
Rather than true/false, makes things simpler.
2013-06-23 22:22:23 -07:00
Unknown W. Brackets
16752f57b6 Switch SIZES savedata mode to using structs. 2013-06-23 22:22:23 -07:00
Unknown W. Brackets
63ceec35ac For AUTOSAVE/MAKEDATA type modes, "" is valid.
Don't try to use the saveNameList in this case, use "".
2013-06-23 22:22:22 -07:00
raven02
1a46843996 Add text shadow to message dialog that match real PSP 2013-06-24 01:01:55 +09:00
Unknown W. Brackets
dae4156654 Make more savedata struct parts PSPPointers. 2013-06-22 22:49:39 -07:00
Unknown W. Brackets
12232dcad4 Simplify some Memory::GetPointer stuff. 2013-06-22 22:44:00 -07:00
Unknown W. Brackets
f7a717746f Sometimes newData.buf is NULL, don't log an error. 2013-06-22 22:40:48 -07:00
Unknown W. Brackets
eb1f39f0eb Use the saveName by default in MAKE/WRITE/READDATA.
Suspected this, but wasn't sure.  Tests confirm it works like AUTOLOAD.
2013-06-22 14:48:09 -07:00
Unknown W. Brackets
8fe9620350 Always use iButtonPreference, fixes #2390. 2013-06-21 17:45:39 -07:00
raven02
de4d970ab6 Toggle to adjust VPS/FPS/Both , new timeFormat/dateFormat/buttonPerference 2013-06-19 15:09:01 +08:00
Henrik Rydgård
c4abec3560 Add option for very transparent touch buttons 2013-06-17 20:28:22 +02: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
e52ac677c0 Quick Save Dialog workaround. 2013-06-11 18:21:48 +08:00
Henrik Rydgård
cf7fafc15c Merge pull request #2191 from aquanull/PSPDialog
Psp dialog improvements
2013-06-11 01:49:34 -07:00
aquanull
96f9bfd792 Now the icon is missing. 2013-06-11 16:37:50 +08:00
evilcorn
ffd2211925 Use Button X to Confirm option also changes osk select and delete buttons 2013-06-10 13:50:26 -06: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
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Unknown W. Brackets
fc51cf2e5e Fix OSK on Android, wchar_t is not always 16 bits.
Fixes #2073.
2013-06-04 22:39:42 -07:00
Unknown W. Brackets
20563beab2 Fix dumb typo, fixes #2051. 2013-06-03 07:41:49 -07:00
Unknown W. Brackets
0a46e982f4 Savestate dialogs properly, avoiding wrong status.
Might cause a crash if the status is set wrong due to a fade.
Fixes #2047.
2013-06-03 02:05:45 -07:00
Unknown W. Brackets
5027e24150 Use a PSPPointer in the FILELIST savedata mode. 2013-06-02 15:17:02 -07:00
Unknown W. Brackets
9eea30c52d Fix some small warnings in OSK code. 2013-06-02 15:09:17 -07:00
Unknown W. Brackets
9eb2238704 Use a PSPPointer in OSK to simplify things. 2013-06-02 15:03:15 -07:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Lioncash
f86eebbf74 Fix a case where the wrong array was used. 2013-06-01 04:13:39 -04:00
Henrik Rydgård
3b85d2ffb8 Merge pull request #2012 from unknownbrackets/warnings
Warning fixes and small cleanup
2013-06-01 00:37:09 -07:00
Sacha
c2ef287f51 Buildfix for Symbian/Meego and other platforms. 2013-06-01 17:10:22 +10:00
Unknown W. Brackets
ae5fad2b39 Don't try to read outside the SAVEDATA_FILE_LIST. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets
7d17ed8a8e Correctly shutdown dialogs on game reset. 2013-05-31 01:41:04 -07:00
Unknown W. Brackets
aaddde2f62 Don't mark <> file entries as non-existant.
Otherwise Load() will fail when it ought not to.
2013-05-31 01:41:04 -07:00
Unknown W. Brackets
00eb684c0c Correctly handle the file list savedata mode. 2013-05-31 01:41:04 -07:00
Unknown W. Brackets
55a226549c Make a few variables static and CONSTANTy. 2013-05-31 01:41:01 -07:00
Unknown W. Brackets
a0fd824f78 Read in the PARAMS.SFO secure file list. 2013-05-31 01:40:43 -07:00
Unknown W. Brackets
1d2476f28e Add error handling to the FILES savedata mode.
Not actually changed yet.
2013-05-31 01:40:36 -07:00
Unknown W. Brackets
f084781ccf Stop writing ENCRYPT_INFO.BIN, PSP doesn't do it.
We don't need it and it may confuse games.
2013-05-31 01:33:24 -07:00
Unknown W. Brackets
2bc5deb659 Skip <> in MAKEDATA/etc. savedata modes. 2013-05-31 01:33:24 -07:00
raven02
646f2e07e5 Add Memory::IsValidAddress(curFileInfoAddr) to GetFilesList() 2013-05-25 23:57:59 +08:00
raven02
8ae127e87c Fix the save loading for God Eater Burst and Gundam VS Gundam NP 2013-05-23 22:59:49 +08:00
aquanull
c316bc9a33 Support more list focus settings. 2013-05-20 23:54:01 +08:00
aquanull
dc25e6d223 Always pick up the saveID by latest file time instead of the previously used one.
This fixes SRWAP & SRWMXP.
2013-05-20 23:54:00 +08:00
aquanull
ae486f8e02 Make the default choice in all save dialogs except for overwrite/delete confirmation be "Yes". 2013-05-20 23:53:59 +08:00
aquanull
3c486c5dc5 Swap positions of "Back" and "Enter" buttons in PSPSaveDialog. 2013-05-20 23:53:58 +08:00
raven02
08e108a1e3 Better positiong for Save dialog 2013-05-20 20:00:41 +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
raven02
0ed391e5e0 If-else fFormatting 2013-05-19 06:07:00 +08:00
Unknown W. Brackets
eb308d03e8 Don't preserve the selected save for DATA types.
Fixes #1825.
2013-05-16 22:33:10 -07:00
Unknown W. Brackets
27572e3a36 Default to saveName for AUTO LOAD/SAVE modes.
Maybe should for others, but at least these for sure.

Fixes #1017.
2013-05-11 21:01:20 -07:00
Unknown W. Brackets
1ffb0755b1 Move some things around and simplify. 2013-05-11 20:31:40 -07:00
Unknown W. Brackets
203abe6f7f In TYPE_SAVE/TYPE_LOAD, show a confirmation.
AUTOSAVE/AUTOLOAD don't, SAVE/LOAD do.
2013-05-11 19:10:01 -07:00
raven02
77653f03b5 Better Align OK/Back button 2013-05-03 06:39:28 +08:00
raven02
e1587744e4 Fix message dialog oversize 2013-05-02 23:24:59 +08:00
Henrik Rydgard
b9f45e4530 Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash. 2013-04-27 23:16:51 +02:00
Henrik Rydgard
6f23a56779 Remove use of setlocale() in Osk as I could not figure out the purpose, and it broke stuff.
If this is actually needed, please send a pull request adding it back, turning it off when not used, and also add an explanation in a comment.
2013-04-25 10:42:31 +02:00
mgaver
328420c55e PSPOskDialog add signature for UTF-8
add signature for UTF-8 for buildfix
2013-04-24 20:08:36 +09:00
mgaver
832bf55173 Update PSPOskDialog.cpp 2013-04-24 19:51:46 +09:00
mgaver
d1b862de21 Update PSPOskDialog.cpp 2013-04-24 19:50:39 +09:00
mgaver
58a3218f54 Update PSPOskDialog.h 2013-04-24 18:00:47 +09:00
mgaver
6a15352b44 Update PSPOskDialog.cpp 2013-04-24 13:13:41 +09:00
mgaver
efa41413ef Update PSPOskDialog.cpp
Clean up code.
2013-04-24 08:38:25 +09:00
mgaver
369413e352 Update PSPOskDialog.cpp
Add variables
2013-04-24 08:34:05 +09:00
mgaver
2dd7c17009 Update PSPOskDialog.h
Add function "CombinationKorean"
2013-04-24 08:33:06 +09:00
mgaver
a1e18b9758 Update PSPOskDialog.cpp
Clean up code
2013-04-24 08:31:50 +09:00
mgaver
f66b8b0251 Update PSPOskDialog.cpp
Change magic number to constant.
2013-04-24 00:50:49 +09:00
mgaver
8545718c0d Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-24 00:02:12 +09:00
mgaver
5721412f29 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-24 00:00:01 +09:00
mgaver
c937d23214 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-23 23:55:30 +09:00
mgaver
f8681fde08 Update PSPOskDialog.cpp
Fix Korean keyboard.
2013-04-23 23:55:01 +09:00
mgaver
9ae9b5fbe3 Update PSPOskDialog.cpp
Fix Korean keyboard
2013-04-23 23:47:27 +09:00
mgaver
1525bc696f Update PSPOskDialog.h
Add Korean keyboard and Russian keyboard.
2013-04-23 23:24:42 +09:00
mgaver
a12709b96d Update PSPOskDialog.cpp
Add Korean keyboard and Russian keyboard.
2013-04-23 23:24:06 +09:00
mgaver
531e092c30 Update PSPOskDialog.cpp
Input character align to center
2013-04-23 00:53:58 +09:00
mgaver
cf70cbc15f Update PSPOskDialog.cpp
Remove unusable comment.
2013-04-22 18:25:57 +09:00
mgaver
e22f8d516e Update Japanese On Screen Keyboard 2013-04-22 18:02:52 +09:00
Unknown W. Brackets
b2a118ef9d Enable MAKEDATA/READDATA/WRITEDATA.
Not sure if there's more to them, but LBP saves work between the PSP
and PPSSPP with this.
2013-04-21 14:18:12 -07:00
ufdada
1d520e79ac shorter keys for language-ini
Every dialog with linefeed included (\n) is now shorter and replaced in the second parameter.
2013-04-21 15:08:18 +03:00
Henrik Rydgård
991fe2321d Merge pull request #1420 from unknownbrackets/osk-fix
The prefill text is optional in the OSK
2013-04-21 02:05:46 -07:00
Unknown W. Brackets
7eeba4b120 The prefill text is optional in the OSK. 2013-04-21 01:54:36 -07:00
Yaroslav
a0b722a9b6 D for Dialog 2013-04-21 14:16:01 +07:00
raven02
f56df7ef6f Add a missing m->T("Back") in PSPSaveDialog 2013-04-21 07:23:05 +08:00
Unknown W. Brackets
97a944091a Improve the UX in the OSK just a tiny bit. 2013-04-20 15:05:18 -07:00
Unknown W. Brackets
7baf27bbc3 Toggle keyboards for uppercase, as users expect.
Also should make l10n here easier.
2013-04-20 15:05:18 -07:00
Unknown W. Brackets
75d8eca76f Prefill the OSK when requested to. 2013-04-20 15:03:33 -07:00
Unknown W. Brackets
27cf72afb6 Add more error checks for OSK, fix field length. 2013-04-20 15:03:32 -07:00
Unknown W. Brackets
f8d726c5ea Validate OSK struct size and don't do copying.
The PSP itself only allows the correct size struct.
2013-04-20 15:03:32 -07:00
raven02
9d7183dfa0 Fix Start/Select button in OSK screen 2013-04-21 06:01:12 +08:00
mgaver
f269a0b9bb Update PSPSaveDialog.cpp
Restore spcaing to center it.
2013-04-21 05:11:18 +09:00
Mgaver
d09a69906d update MsgDialog, OskDialog, SaveDialog translatable
Make a new section "Dialog" into language ini files.
2013-04-21 04:36:50 +09:00
Henrik Rydgård
8bc942f4ad Merge pull request #1318 from raven02/master
Fix enable sound in windows and comsetic fix to UI based on new font
2013-04-18 00:57:08 -07:00
Unknown W. Brackets
0cceca05a1 Convert the OSK params to utf-8, not ASCII. 2013-04-17 22:51:06 -07:00
raven02
a301560fd7 lO 2013-04-18 08:36:39 +08:00
raven02
651644cd0d Comsetic fix : OSK dialog 2013-04-18 07:43:09 +08:00
raven02
85d1275efd Comsetic fix : Message dialog 2013-04-18 07:07:32 +08:00
raven02
9bdd615bcb Comsetic fix : YesNo Button 2013-04-18 07:06:44 +08:00
Henrik Rydgard
b12fc6e7aa UTF8-enable PPGE and add hiragana and katakana, let's see if this is enough. 2013-04-17 20:51:02 +02:00
raven02
250a714e2b combine PPGeDrawRect()/PPGeDrawImage() 2013-04-16 20:55:27 +08:00
raven02
eff7ad2531 Combine PPGeDrawImage() and PPGeDrawText() 2013-04-16 20:52:35 +08:00
raven02
39a13b16cb combine PPGeDrawRect() 2013-04-16 20:47:46 +08:00
raven02
acdee3dbfd Cosmetic : message Dialog 2013-04-16 19:21:47 +08:00
raven02
22b24af7ea Cosmetic : YesNo Dialog 2013-04-16 19:20:42 +08:00
Unknown W. Brackets
9f653d4e99 Fix savedata list failing if you had many saves. 2013-04-16 00:47:47 -07:00
Henrik Rydgard
ce9cf6e081 Revert parts of pull request 1291 2013-04-15 21:00:55 +02:00
raven02
2d6f762f87 Comment out MAKE/READ/WRITEDATA 2013-04-15 23:31:17 +08:00
raven02
5fd3a36534 Bind MAKE/READ/WRITE to corresponding MAKE/READ/WRITESECURE 2013-04-15 21:44:12 +08:00
raven02
1c9a8d9d49 Add remaining 6 savedata type functions 2013-04-15 21:42:42 +08:00
raven02
b8b34d76b3 Gundam vs gundam NP encounter limit = 0 2013-04-04 17:57:05 +08:00
Unknown W. Brackets
1f2de11dbe Add a basic impl of sceUtilityMsgDialogAbort().
Makes Enigmo work anyway.  Doesn't seem like a popular function.
2013-03-30 22:55:48 -07:00
Unknown W. Brackets
74302a9ecf Savedata doesn't always resched, add some errcodes. 2013-03-30 22:48:29 -07:00
Unknown W. Brackets
8aeaedc597 Don't allow sceUtility dialogs to overlap.
PSP doesn't allow this, and apparently some games depend on it
or else they start getting confused.
2013-03-30 22:48:17 -07:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Unknown W. Brackets
746c95f1c8 Basic initial implementation of GETSIZE/DELETEDATA.
LittleBigPlanet uses these.  It seems happier with these working,
although it goes on to call MAKEDATA.

Also seems to make some other games happier.

GETSIZE not heavily tested yet.
2013-03-17 17:47:37 -07:00