Commit Graph
62 Commits
Author SHA1 Message Date
athrxx 1f0d0fdb1e KYRA: (EOB II/ZH) - some party generator improvements and fixes 2023-08-12 15:20:47 +02:00
athrxx 5e8333f638 KYRA: (EOB II/ZH) - fix/improve text display
The text display glitches in many different ways, since the
original devs did some pretty ugly hacks that we have to
emulate somehow. This commit fixes a couple of things
(spacing, pixel/line overdrawing, shadow, original
linebreak style). There are still several things that have to
be addressed separately, like various text colors, the
whole character portrait/stats pages, etc.
2023-07-11 14:34:52 +02:00
athrxx e8d21cf93a KYRA: avoid possible nullptr deref 2023-06-14 00:38:51 +02:00
athrxx 77976efabe KYRA: (EOB II/PC98) - fix party transfer JIS font conversion
(this allow proper import from EOB I PC98 which uses a JIS X 0201 encoding)
2023-05-12 14:52:51 +02:00
athrxx 5c8e799b22 KYRA: some var renames 2023-05-12 14:52:43 +02:00
athrxx 7c43617dc5 KYRA: (EOB II/PC98) - more text/font related work and cleanup 2023-05-12 14:52:37 +02:00
athrxx 6ae5b0d6b3 KYRA: (EOB II/PC98) - more work on the text display 2023-05-12 14:51:03 +02:00
athrxx 8d339d00df KYRA: (EOB II/PC98) - font/layout fixes 2023-05-12 14:50:59 +02:00
Vladimir Serbinenko 1e7f405f0d KYRA: Add _screenDimTable for Chinese EOB2 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko e7afc8ab2e KYRA: Support logo from T1.CPS 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko 1e6b5eeae4 KYRA: Add 2x height-scaled font for Chinese eob2
This takes BIOS font and height-stretches it 2x just like the original
2023-04-29 13:37:45 +02:00
Vladimir Serbinenko 2703a5c652 KYRA: Support big5 font used in eob2 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko 071ee78bc7 KYRA: Support compression used in Chinese eob2 2023-04-29 13:37:45 +02:00
athrxx 785c52b18b KYRA: (EOB) - minor font load cleanup 2022-09-20 00:46:52 +02:00
athrxx 6378e505b5 KYRA: init non-initialized member vars 2022-09-20 00:27:09 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis eaf173111c KYRA: Remove unused variable
Thanks to eientei for reporting this
2021-12-24 03:18:27 +02:00
athrxx 9673b0a0ea KYRA: implement idle screen updates
Apparently, as I have been told, there are (still) OS'es with non-compositing window managers which may cause glitches when drawing windows over the ScummVM window, unless the engine keeps updating the screen. So, now we do that, even if there isn't any actual on-screen activity. The whole thing is a bit more tricky than it would appear at first glance, since one misplaced/untimely screen update may cause palette glitches. I have implemented a timer which is reset whenever actual on-screen activity happens. That should work around any such glitches.

Maybe the rates for the timer have to be tweaked some more. I have also added an ifdef so this could be disabled or restricted to certain platforms if required.
2021-12-05 15:18:38 +01:00
Orgad Shaneh 14f516282c KYRA: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
athrxx 4e5ca90efc KYRA: (EOB) - tweak explosion and vortex animations some more
- make the animations a bit faster to reduce the amount of time for which the engine is blocked
- separate the display updates from the engine delays
- register user input during the animations
2021-05-15 13:59:17 +02:00
athrxx 3eef43cd06 KYRA: (EOB) - fix spell anim speed
The explosion and cone of cold pixel "animations" have somehow become extremely slow. At least in MSVC debug mode. No idea whether this is a regression from recent OSystem or backend graphics updates. I now set these pixel updates on a strict timer based schedule. If the machine/backend/whatever is too slow it will just get less screen updates...dfdsfsf
2021-05-02 00:08:17 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
athrxx f1f8214f3b KYRA: (EOB/SegaCD/Japanese) - text related fixes and cleanup 2020-11-29 21:24:15 +01:00
athrxx 7b66f1191d KYRA: whitespace cleanup 2020-08-29 23:50:29 +02:00
athrxx 28342da2cc KYRA: optimize/cleanup sjis scale code 2020-08-15 22:22:32 +02:00
athrxx 03a87dc6db KYRA: (EOB/SegaCD) - first part of camp menu
- fix preferences menu
- fix party resting
2020-07-30 22:19:15 +02:00
athrxx 5bffb5b9de KYRA: (EOB/SegaCD) - fix parchment display 2020-07-30 22:19:14 +02:00
athrxx 5da41b3e11 KYRA: (EOB/SegaCD) - fix level loading
The first level will now load up when selecting 'start default party' and it is possible to walk around a bit. The Gui (playfield, compass, inventory) is still completely broken, but at least the level blocks and some of the decoration shapes are drawn correctly. Monsters will be drawn, but their anim frames are mixed up, so they will always face the wrong direction and cannot visibly attack.
2020-07-30 22:19:12 +02:00
athrxx a657d02228 KYRA: (EOB/SegaCD) - implement ending credits and stats screen 2020-07-30 22:19:10 +02: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 71c8007be6 KYRA: (EOB) - move some graphics code between files 2020-07-30 22:19:09 +02:00
athrxx 466a927738 KYRA: (EOB/SegaCD) - implement sequence player
This also (hopefully) involves most of the necessary graphics code. Text support is still missing. Otherwise, the intro and outro play mostly fine (except for some special opcodes).
2020-07-30 22:19:09 +02:00
athrxx e4a33abfb5 KYRA: (EOB/SegaCD) - implement opening credits
Initial file handling, palette and graphics support. The opening credits get played satisfactory. Following up with the cinematics player will be much easier now...
2020-07-30 22:19:08 +02:00
Thanasis Antoniou a30541cee8 KYRA: Convert screen_eob.cpp from ANSI to UTF-8 2020-04-18 10:24:23 +03:00
athrxx a9e07c314f KYRA: (EOB/PC98) - add paranoia assert 2019-12-22 19:15:33 +01:00
athrxx 44d8eaf71c KYRA: (EOB/PC98) - remove unused variable 2019-12-20 15:43:45 +01:00
athrxx c8544430df KYRA: (EOB2/FM-TOWNS) - fix minor color glitch
- in nightmare sequence in dungeon level -4
- can not always be noticed
2019-12-20 14:32:24 +01:00
athrxx 4b7a48fb75 KYRA: fix broken builds (now for real?) 2019-12-18 22:29:49 +01:00
athrxx d98b5fe824 KYRA: - fix broken builds 2019-12-18 22:04:04 +01:00
athrxx 04e85a0f3d KYRA: (Amiga) - minor code reduction
(eliminate some duplicate code for dirty rect handling)
2019-12-18 20:50:47 +01:00
athrxx ce5c746dcb KYRA: (EOB) - add lines lost during rebase
Seems that I accidently removed some of digitall's changes while rebasing (I moved that particular code block to a new function).
2019-12-18 20:50:47 +01:00
athrxx f01d432c25 KYRA: (EOB/PC98) - implement ending sequence
(The PC-98 version has its own unique ending sequence)
2019-12-18 20:50:46 +01:00
athrxx 5a1162e999 KYRA: (EOB/PC98) - fix Japanese text display 2019-12-18 20:50:44 +01:00
athrxx ddb6ca441b KYRA: (EOB/PC98) - fix level loading and some cleanup
(no block drawing yet)
2019-12-18 20:50:43 +01:00
athrxx 512fe08367 KYRA: (EOB/PC98) - allow both graphics mode / text mode text display for sjis font
The assumption till now was that PC-9801 games in 16 color mode will always use text mode for text display. However, EOB1 uses text mode for intro and ending sequence and graphics mode for ingame.
Add new font variant for this and also do some cleanup, since the text displayer code really needs it.
(The problem is that at least 3 different Japanese publishers did the Japanese ports for the various games and every one of them did his own hacks for his specific target.)
2019-12-18 20:50:43 +01:00
athrxx a0828a000b KYRA: (EOB/PC98) - fix intro and main menu screen 2019-12-18 20:50:42 +01:00
athrxx 1db3ec1f71 KYRA: (EOB/PC98) - add bitmap decoders
The PC98 version has a modified version of decodeFrame4() and also requires planar decoding (similiar to Amiga).
2019-12-18 20:50:42 +01:00
athrxx 7cae73aae3 KYRA: (EOB/PC98) - initial startup fix
- hook up static resources, sound code, etc
- nothing really working yet, though (except the music)
2019-12-18 20:50:41 +01:00
D G Turner d77e70a902 KYRA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-06 04:31:04 +00:00
athrxx 6651b08d31 KYRA: (EOB) - fix some typos in comments 2019-10-31 13:10:22 +01:00