Commit Graph
15 Commits
Author SHA1 Message Date
athrxx 3a49ea6248 KYRA: reduce unsafe string ops
(replace all strcpy calls and similar fixes)
2022-09-22 21:01:16 +02:00
athrxx 9c9873b95e KYRA: fix uninitialized vars warning 2022-06-23 22:24:40 +02:00
athrxx a7fae9ff4e KYRA: (LoK/ZH) - minor text field adjustment
Shouldn't make a visible difference, but it is more correct this way. The actual bug I was trying to fix ("cut off" Herman's head appearing after restoring text background) is actually an animator code bug...
2022-06-23 19:05:58 +02:00
athrxx e068b1c65b KYRA: remove excess semicolons 2022-06-09 01:20:37 +02:00
athrxx ae4934bc8c KYRA: (LoK/KOR) - more accuracy fixes 2022-06-09 00:49:05 +02:00
athrxx c6a02db614 KYRA: (LoK/KOR) - fine tune dialogue text lines 2022-06-09 00:49:05 +02:00
athrxx 4670159f26 KYRA: (LoK/KOR) - inital font support
This is still glitchy and will need some more polishing, but at least the intro runs...
2022-06-09 00:49:05 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
athrxx 6f2df10d03 KYRA: (LoK/Mac) - fix linebreak chars
Mac uses '\n' instead of '\r'. I have verified from disasm that it only uses '\n'. '\r' is not used at all.

Now, I know only 2 cases where it matters and these are hard coded cases: "That snake must\nbe poisonous!" and "The flask is now filled\nwith %s water.". So I could just hard code these differently.
But the scripts might have more of these linebreaks, so it makes sense to have it accurate...
2021-12-03 21:31:05 +01:00
athrxx f436ebbeb0 KYRA: (HOF/Traditional Chinese) - fix ingame texts
(adjust ui, text formatting, menus, etc)
2021-12-01 22:39:24 +01:00
athrxx a7fda28519 KYRA: (LoK/Traditional Chinese) - finish support
(add font drawing, gui and text formatting fixes etc.)
2021-11-15 01:01:25 +01:00
Vladimir Serbinenkoandathrxx 280f83242e KYRA: replace const char * with Common::String around getTableString. (#2603)
Currently const char * points into some random buffer with unclear
lifetime.

Instead use Common::String which ensures lifetime as long as a reference is
held.

This also removes the need of copying into existing buffers in HoF and MR.

UnkBuf* are gone as well.

Co-authored-by: athrxx <athrxx@scummvm.org>
2021-01-01 16:37:27 +01:00
Niv BaehrandBLooperZ 52ebbfebc9 KYRA: support hebrew fan translation (#2683)
* KYRA: add hebrew to kyra.dat

* KYRA: add hebrew detection entry + fix kallak text

* KYRA: fix rigth align text for hebrew

* KYRA: restore lines lost in rebase

* KYRA: convert non-ascii to escape sequence

* KYRA: bump kyra.dat version

* KYRA: update renamed variable

* KYRA: use memset and rename variables

* KYRA: translate remaining hebrew strings

Co-authored-by: BLooperZ <blooperz@users.noreply.github.com>
2020-12-13 22:27:16 +01:00
athrxx 91b18f8343 KYRA: (EOB/SegaCD) - more graphics and sequence player code
- add support for the Sega Font and add text display methods at least for the sequence player
- finish sequence player (add all missing opcodes and other missing code portions)
- some improvement to the resource class
- some renaming and cleanup
2020-07-30 22:19:09 +02:00
athrxx 1dfdcc7252 KYRA: cleanup dir
Reorganize all files in sub directories. The file placement isn't as intuitive as it might be for other engines, which is probably the reason why this hasn't been done before.
2019-03-06 20:48:15 +01:00