48 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
cd1d4367bf Save state of a bunch of small modules. 2012-12-28 13:55:28 -08:00
raven02
91c188c4d0 Border cosmetic fix in save/load menu 2012-12-28 11:22:12 +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
e370a1a8aa Fix project and .rc so it builds with VS 2010 Express, thanks Darth1701. Plus logging tweaks. 2012-11-29 10:41:48 +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
Unknown W. Brackets
a6a47c0c3e Don't complain when PPGe wasn't init yet.
This was causing BlockAllocator complaints if you closed right away.
2012-11-22 13:21:47 -08: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