Commit Graph
133 Commits
Author SHA1 Message Date
wonst719 b99a748b4e SCUMM: Add comment for Korean postposition handling 2020-11-10 01:10:09 +09:00
wonst719 1ce198f06b SCUMM: Replace Scumm::checkHangul() with Scumm::checkKSCode()
- the two functions were identical
2020-11-10 01:10:09 +09:00
wonst719 f468db1c63 SCUMM: Guard Korean postposition code against existing code 2020-11-08 13:34:44 +09:00
wonst719 7a2a0542fc SCUMM: Support variation of Korean postpositions 2020-11-06 19:35:12 +01:00
wonst719 9a54c220c4 SCUMM: Enable basic Korean fan translation 2020-11-06 19:26:50 +01:00
athrxx 7b3b47024b SCUMM: (COMI/CJK) - fix blast text shading and positioning
- COMI adds a y-Offset of 2 in CJK mode.
- The shadowed glyphs are used for all CJK font drawing, not only Korean. Also, the char height has to be adjusted by one pixel for the shadow.
2020-10-24 17:58:29 +02:00
athrxx c5216c6367 SCUMM: (DIG/CJK) - add specific text positioning fix from disasm
This is basically a hack, but the original does it just like that. It ensures that certain CJK message strings at the bottom of the screen won't get cut off.
2020-10-24 17:58:29 +02:00
athrxx afef3d71cb SCUMM: (DIG/CJK) - fix blast text rendering and positioning
- fix getStringWidth()
- fix string translation
- skip special newline character when drawing text
2020-10-24 17:58:28 +02:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
BLooperZ 441e73bf58 SCUMM: do not reverse strings in HE 2020-06-11 21:10:30 +02:00
BLooperZ fdeffa1a32 SCUMM: fix loop counter type 2020-01-01 20:28:56 +02:00
BLooperZ b7275be051 SCUMM: use reliable types in fake bidi 2020-01-01 20:28:56 +02:00
BLooperZ f13c76fec9 SCUMM: move comment to more appropriate location 2020-01-01 00:31:21 +01:00
BLooperZ cbcb36ac61 SCUMM: add more comments 2020-01-01 00:31:21 +01:00
BLooperZ c10ed91c3e SCUMM: avoid allocating large buffers on stack 2020-01-01 00:31:21 +01:00
BLooperZ a96b82203b SCUMM: add comments and fix formatting 2020-01-01 00:31:21 +01:00
BLooperZ e411a539cb SCUMM: use memset for initialization 2020-01-01 00:31:21 +01:00
BLooperZ 2105313d8b SCUMM: remove forced right-to-left mode 2020-01-01 00:31:21 +01:00
BLooperZ 800ea6fb15 SCUMM: fix formatting 2020-01-01 00:31:21 +01:00
BLooperZ 0af04124c8 SCUMM: export fakeBidi to function 2020-01-01 00:31:21 +01:00
BLooperZ b75b5cb6b6 SCUMM: consider code 2 in reversal 2020-01-01 00:31:21 +01:00
BLooperZ 390a0abfed SCUMM: flip dialogue selection symbol in indy4 2020-01-01 00:31:21 +01:00
BLooperZ 43bdbdf3fa SCUMM: fix missing dialogue in indy4 2020-01-01 00:31:21 +01:00
BLooperZ f411135ef6 SCUMM: remove condition for aligning verb lines 2020-01-01 00:31:21 +01:00
BLooperZ 9b2ee566e4 SCUMM: remove condition for aligning verb lines 2020-01-01 00:31:21 +01:00
BLooperZ 8bcdaa6e45 SCUMM: minimize changes required for rtl 2020-01-01 00:31:21 +01:00
BLooperZ 0625518e9f SCUMM: in-place verb strings reversal 2020-01-01 00:31:21 +01:00
BLooperZ 80218a5203 SCUMM7: reverse in single place 2020-01-01 00:31:21 +01:00
BLooperZ 12c86f2bc1 SCUMM: exclude digits from fake rtl support + no align in samnmax 2020-01-01 00:31:21 +01:00
BLooperZ cd4ce42b46 SCUMM: fix title screen positioning 2020-01-01 00:31:21 +01:00
BLooperZ 7b0e50cdce SCUMM: conditional alignment 2020-01-01 00:31:21 +01:00
BLooperZ 5e26fbdf9a SCUMM: special cases for indy4 2020-01-01 00:31:21 +01:00
BLooperZ f6e859800d SCUMM: disable debug messages 2020-01-01 00:31:21 +01:00
BLooperZ b67d954351 SCUMM: disable warnings 2020-01-01 00:31:21 +01:00
BLooperZ d11c6b655c SCUMM: eliminate shadowing 2020-01-01 00:31:21 +01:00
BLooperZ e4d70141f0 SCUMM: better locale check 2020-01-01 00:31:21 +01:00
BLooperZ 68c6038e9c SCUMM: add RTL support for scumm v4 to v6 2020-01-01 00:31:21 +01:00
ניב באר 72471ec431 SCUMM: rtl support for scumm-7-8 2020-01-01 00:31:21 +01:00
D G Turner 59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
D G Turner 84d0a294af SCUMM: Replace Various String Functions with Common String Usage
This removes the dependency on the unsafe strcpy and strcat string
functions with usage of Common::String instead.
2019-09-15 20:20:03 +01:00
Torbjörn Andersson fba0afefa5 SCUMM: Remove unnecessary space. 2018-06-04 06:41:51 +02:00
Ori Avtalion 3ad6af92f2 SCUMM: Reduce audio header dependencies 2016-05-21 13:55:38 +03:00
Kirben e670951a46 SCUMM: Fix bug #6592 SCUMM: ZAK - Read Ticket is too fast to read. 2015-06-10 07:12:25 +02:00
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Willem Jan Palenstijn 9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Max Horn 4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn 658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Eugene Sandulenko c451ae639f SCUMM: Proper fix of Russian subtitles
Initial fix in 11a17b3 (r51211) led to chopped inventory items.
No idea why it does not work with our code, as it seems to match
the disassembly. Thus implementing this hackish workaround.
2011-08-06 11:28:30 +01:00