Commit graph

108 commits

Author SHA1 Message Date
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
Henrik Rydgård
bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Unknown W. Brackets
b1146d8d9d PPGe: Correct text wrap without height. 2019-02-20 17:04:30 -08: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 Rydgard
e611915a52 Rename some GPU classes and enums to fix some consistency issues between the backends. 2016-04-10 10:21:48 +02:00
Unknown W. Brackets
ea6afdff93 Avoid remaster vertex doubling in PPGe. 2015-12-28 14:13:07 -08: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
d497bc7c8c Ensure safe zim access regardless of file contents. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
b279b6d461 Typo. 2014-11-03 09:00:20 -08:00
Unknown W. Brackets
2d5733407b Small optimization to __PPGeInit().
Small factor in startup time.
2014-11-02 17:44:24 -08:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
497537a4c4 Fix another dumb typo.
Arg, need to stop rushing things.  May have caused #4869.
2013-12-17 23:36:51 -08:00
Unknown W. Brackets
b2795b31c0 Only draw visible savedata icons, fix leak.
Fixes #4870.
2013-12-17 08:07:30 -08:00
Unknown W. Brackets
f7bad51cc7 Clip in PPGe, fixing issues in softgpu.
We were just drawing wrong, so softgpu was correct.
2013-12-15 11:59:23 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08: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
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
Unknown W. Brackets
a7f60afecb Use a saved ctx not break/continue in PPGe. 2013-09-20 21:15:36 -07:00
Unknown W. Brackets
0735a9a679 Just disable PPGe during tests, should be okay. 2013-09-17 23:13:13 -07: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
Ced2911
0bae3f8bf9 fix endian in image 2013-08-16 09:18:30 +02:00
Unknown W. Brackets
2f94977efe Don't include gfx/gl* outside the OpenGL GE. 2013-07-29 22:47:38 -07:00
Unknown W. Brackets
0a9ce9ae85 Specify memory layout in PPGe. 2013-07-27 15:38:38 -07:00
aquanull
fb651156d8 Implement text truncation with ellipses. 2013-06-15 21:20:17 +08:00
aquanull
336f388fa2 Allow CJK characters to be wrapped individually. 2013-06-15 21:20:17 +08:00
aquanull
77a01c1526 Fix missing punctuation marks when the text is wrapped around them.
Truncate trailing white spaces instead of putting them on the beginning of the next line.
2013-06-15 21:20:17 +08:00
Sacha
5aba914a42 Build fix for non-ffmpeg and non-gcc non-++11. 2013-06-12 10:51:30 +10: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
5f3cede64c Fix typo making the first line wrap wrong. 2013-05-27 19:35:49 -07:00
Unknown W. Brackets
8c984c2440 Use better replacements for missing space chars. 2013-05-27 19:26:37 -07:00
Unknown W. Brackets
6ac0149244 Wrap long words without punctuation correctly. 2013-05-19 23:36:23 -07: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
Henrik Rydgard
e3ddb12783 Use 16-bit color for the PPGe texture palette 2013-04-18 15:01:36 +02:00
Unknown W. Brackets
4920cd3eea Use replacement chars for unknown PPGe characters. 2013-04-17 23:25:40 -07:00
Henrik Rydgard
b8eac3330b PPGe save state fix 2013-04-17 21:43:45 +02: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
Henrik Rydgard
d1bcc8afd4 Switch main UI font to one built to include Hiragana and Katakana. Don't know if that is enough.
Also includes more western characters so I can write my name right :)
2013-04-17 16:39:01 +02:00
Henrik Rydgard
8833f6eb25 Don't swapbuffer if stepping. Default to 2x zoom on Windows. Alert on missing atlases. 2013-03-30 08:35:47 +01:00
Henrik Rydgard
d4603136f0 Minor stuff: Fake-implement sceKernelReferThreadProfiler, make sure GPU frame dump logging gets output by not sending it to G3D. 2013-03-04 22:15:39 +01:00
Unknown W. Brackets
a3f93ed203 Fix some printf size warnings, signed warnings. 2013-03-02 15:34:15 -08:00
Unknown W. Brackets
a3610ec49e Make PPGeMeasureText() actually measure the text.
Specifically, it was skipping newlines and ignoring the last line,
so always returning 0.
2013-02-11 00:38:08 -08:00
Florent Castelli
c37566d3bc Use proper draw sequence in PPGeDraw 2013-02-04 01:28:19 +01:00
Unknown W. Brackets
dcd3045cd5 Always use -1 for failed allocs in block allocator.
Before it used 0 and -1, confusing.
2013-01-18 01:38:12 -08:00
raven02
5ca532646c Revert component order change for PPGeDraw 2013-01-15 16:50:52 +08:00
raven02
622627f69a Match PSP savelist and transparent dialog 2013-01-15 08:12:52 +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
Henrik Rydgard
59e52f4e5a Make MsgDialog not put text outside the screen. 2013-01-03 14:02:35 +01:00