Commit Graph
49 Commits
Author SHA1 Message Date
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
athrxx 71ac9575a7 KYRA: (EOB/Amiga) - mark error dialogs as translateable 2019-04-29 21:45:19 +02:00
athrxx 69f2e0caaa KYRA: (EOB2/Amiga) - fix ingame colors 2019-04-13 18:55:01 +02:00
athrxx 02000cfe37 KYRA: (EOB2/Amiga) - add special gfx decoder for localized version 2019-04-13 18:55:00 +02:00
athrxx 5462d42363 KYRA: (EOB2/Amiga) - improve font file warnings
- add warning for wrong font file: The German version of EOB II has a font file with more characters than the English version or the EOB I fonts. Users now get a warning/instruction if they have the wrong file.

- add translation support for all AmigaDOS font related warnings/errors
2019-04-13 18:54:59 +02:00
athrxx 8c92e045ce KYRA: (EOB2/Amiga) - fix load up and intro sequence 2019-04-13 18:54:57 +02:00
athrxx c3fa4c02ab KYRA: (EOB) - fix possible out of bounds mem access
(This can't happen through normal gameplay, but still better to be fixed)
2019-03-06 20:48:24 +01:00
athrxx c6230ebbf5 KYRA: (EOB1/Amiga) - improve scaled item handling 2019-03-06 20:48:24 +01:00
athrxx 490e41cfad KYRA: (EOB1/Amiga) - implement AmigaDOS font support
- only basic support - no kerning, spacing, etc., since EOB doesn't need that
- also improve palette loading
2019-03-06 20:48:21 +01:00
athrxx 7b8c84fa4d KYRA: (EOB1/Amiga) - fix chargen and gui colors 2019-03-06 20:48:21 +01:00
athrxx e00eaa4899 KYRA: (EOB1/Amiga) - fix intro 2019-03-06 20:48:20 +01:00
athrxx 890c4c5f41 KYRA: (EOB1/Amiga) - fix start up
First efforts to get this running. The intro is shown with severe palette glitches. The Main Menu does not show, thanks to the lack of font drawing.

- implement endian aware stream wrapper for amiga files
- implement sound file handling
- implement some Amiga palette handling
- etc
2019-03-06 20:48:20 +01: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