Commit Graph

68 Commits

Author SHA1 Message Date
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
raven02
2e2ec5bcea Quick fix wrong sizing of CIRCEL 2013-06-15 11:30:01 +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
Henrik Rydgård
7b09062611 Merge pull request #1973 from aquanull/language
Update lang/ and zim assets.
2013-06-03 02:32:53 -07:00
aquanull
3b21e452dc Update lang/ and zim assets. 2013-06-03 17:22:58 +08:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
98f99e1e3c Fix some initialization order warnings. 2013-05-31 23:14:28 -07:00
aquanull
fb81e6b2eb Update lang/ and zim assets. 2013-05-29 12:22:55 +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
90715c2ec2 Avoid a double lookup in FreeExact(). 2013-05-26 23:48:55 -07:00
Unknown W. Brackets
776c8e8533 Rewrite BlockAllocator in attempt to free faster.
And more importantly try to find that weird heap corruption, but no
luck...
2013-05-26 23:09:27 -07:00
aquanull
87f398b1af Make more menu screen items translatable.
Update font atlas files.
2013-05-25 11:23:14 +08: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
nachume
eac08a496c FIX unintelligible sequence of decimal characters on savedialog.
ppge_atlas JPN font define ShiftJIS -> UTF8 is all ok.
    but, cannot use all of chinese character. bacause blockAlloc failed. 
    So no change drawing Kanji.
    you can try to change native/tools/atlastool.cpp USE_LEVEL for all of chinese character.

FIX savedialog XXXGetStatus() loop. for daungeon traveler 2.
    Can now be saved it.
FIX sceAtrac getCodec  InvalidMemory
2013-05-02 00:14:41 +09:00
Henrik Rydgard
e3ddb12783 Use 16-bit color for the PPGe texture palette 2013-04-18 15:01:36 +02:00
Henrik Rydgard
42e4dc897e Add most Japanese kanji, the brute force way.
Hope everything supports 2048x2048 textures.
2013-04-18 14:59:00 +02: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
4920cd3eea Use replacement chars for unknown PPGe characters. 2013-04-17 23:25:40 -07:00
raven02
12651bc7e0 Fix oversize circle button in UI 2013-04-18 07:03:43 +08: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
43df3c9071 Lazy font loading (to speed up running unit tests...) 2013-03-06 22:26:54 +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
f2bdea74be Don't align size to grain for PMB. 2013-03-03 20:26:57 -08:00
Unknown W. Brackets
20bb472b66 Simplify reverse_iterator usage in block alloc. 2013-03-03 16:17:05 -08:00
Unknown W. Brackets
255cbec57c Fix alignment in block allocator. 2013-03-03 16:17:05 -08:00
Unknown W. Brackets
a3f93ed203 Fix some printf size warnings, signed warnings. 2013-03-02 15:34:15 -08:00
Henrik Rydgard
ba0362d817 PGF font support. Mostly an adaptation and cleanup of JPCSP's font system. 2013-02-27 17:41:39 +01: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
Unknown W. Brackets
a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets
07a5dca98e Expand out some savestate code saving non-pod. 2013-02-04 08:26:59 -08: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
Florent Castelli
c37566d3bc Use proper draw sequence in PPGeDraw 2013-02-04 01:28:19 +01:00
Unknown W. Brackets
4c510b5649 Clean up sceKernelFreeVpl(), not waking yet. 2013-01-18 01:38:13 -08:00
Unknown W. Brackets
592a83b081 Make sure BlockAllocator doesn't get off grain.
This should fix spurious warnings about AllocAt() when loading a game.
2013-01-18 01:38:12 -08: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
Henrik Rydgård
95c4e0b9c4 Quick build fix for gcc 2012-12-28 23:33:00 +01:00
Unknown W. Brackets
bcecd881b1 Savestate cleanup + be more careful with vectors.
For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
2012-12-28 13:55:31 -08:00