Commit Graph

93133 Commits

Author SHA1 Message Date
athrxx
33cce35baa KYRA: (EOB/PC98) - fix level block drawing 2019-12-18 20:50:43 +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
feca6f5a26 KYRA: (EOB/PC98) - fix syntax warnings 2019-12-18 20:50:42 +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
athrxx
f74f4929a0 KYRA: (EOB/PC98) - add static resources 2019-12-18 20:50:41 +01:00
athrxx
5cea166585 KYRA: (EOB/PC98) - add sound driver 2019-12-18 20:50:40 +01:00
athrxx
b8a44c9577 KYRA: (EOB/PC98) - add detection entry 2019-12-18 20:50:40 +01:00
athrxx
21b5f9262c AUDIO: (FM-TOWNS/PC-98) - fix regression from 0e734722
My commit 0e734722 causes lockups in SCUMM (sometimes) and SCI (very often). I didn't like the way I had fixed this before, but in the end I now had to do it in a similar way.
2019-12-18 20:50:39 +01:00
athrxx
1083b94cbf AUDIO: (FM-TOWNS/PC-98) - set enum members to fixed values 2019-12-18 20:50:39 +01:00
athrxx
900dcc4de5 AUDIO: (FM-TOWNS/PC-98) - improve timer flags handling
Timers should be reset only the first time the enable flag is sent. This also requires some updates to drivers which didn't send these flags accurately.
2019-12-18 20:50:39 +01:00
athrxx
711034b74d AUDIO: (FM-TOWNS/PC-98) - improve sound quality
- Increase internal sample rate to dividers of the actual chip clocks and fix other related things. This seems to improve certain sfx/noise generator like sounds. The performance still seems to be okay.
- Fix feedback glitch that caused some noise with certain instrument patches when playing short notes.
- Fix squarewave sound glitch (mute channels when volume is zero; this could also cause unnecessary noise).
- Some cleanup.
2019-12-18 20:50:39 +01:00
D G Turner
d67885f4f3 GLK: ALAN3: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-18 06:22:52 +00:00
Eugene Sandulenko
26d0931499 ENGINES: Added clarifying comment 2019-12-17 23:59:51 +01:00
Eugene Sandulenko
d17464e86b ENGINES: We must poll events in order to show the window on some platforms.
This is a regression from b86840087. The side effect of it that on Mac the
splash screen in not visible at all. I hope that this does not trigger same crash,
as it happens now only once.
2019-12-17 23:57:59 +01:00
Scott Percival
7c919f70d4 DIRECTOR: Fix calling convention for b_go 2019-12-18 02:12:53 +08:00
Scott Percival
e86c71ae20 DIRECTOR: Remove target for a test archive
This reverts commit 127c346816.
2019-12-18 00:01:56 +08:00
Eugene Sandulenko
05c046252e DIRECTOR: Added debug channel for executing precompiled bytecode 2019-12-17 16:58:00 +01:00
Eugene Sandulenko
b62e0886b8 DIRECTOR: Fix regression with c_goto command 2019-12-17 16:24:04 +01:00
Scott Percival
36dafaf6df DIRECTOR: LINGO: Implement b_go 2019-12-17 22:58:52 +08:00
Scott Percival
ff8c089bae DIRECTOR: LINGO: Add c_namepush 2019-12-17 22:56:02 +08:00
Scott Percival
127c346816 DIRECTOR: Add target for a test archive 2019-12-17 22:56:02 +08:00
Scott Percival
8fe023ebce DIRECTOR: LINGO: Variable name tweaks 2019-12-17 22:56:02 +08:00
D G Turner
839dbe37a6 SHERLOCK: Add Serrated Scalpel Spanish Floppy Detection Entry 2019-12-17 04:57:15 +00:00
D G Turner
68758a879e AUDIO: Really Fix Compilation Against Fluidsynth v2.1+
The previous fix did not work as the forbidden exception had no effect
since scummsys.h and thus forbidden.h had already been included prior
to the fluidsynth header being included. This also meant that undefining
the exception define after the header would have had no effect anyway.

This new solution was suggest by eriktorbjorn on bug #11278 and should
avoid the need to add an exception which would persist over the entire
source file.
2019-12-17 04:21:04 +00:00
Cameron Cawley
897e2f363c GLK: LEVEL9: Fix crash in detection code 2019-12-16 20:01:39 -08:00
D G Turner
85383256c2 GLK: ALAN2: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-17 01:38:42 +00:00
Cameron Cawley
6f62481548 GRAPHICS: Remove more unused scalers 2019-12-17 01:18:11 +02:00
Cameron Cawley
de096f56a5 GRAPHICS: Remove unused scaler code 2019-12-17 01:18:11 +02:00
Eugene Sandulenko
7d13c60a8b DIRECTOR: LINGO: Support menu items without commands 2019-12-17 00:00:47 +01:00
Eugene Sandulenko
e9aea0c5be DIRECTOR: LINGO: Execute menu commands 2019-12-17 00:00:47 +01:00
Thanasis Antoniou
0357293897 ANDROID: Fix crash due to adding '.' folder in SearchManager 2019-12-16 22:59:10 +02:00
athrxx
4b2591b5c9 KYRA: (EOB) - fix stone skin spell warning
(The Amiga version has as special warning message if the spell has already been cast on a character. This warning was not displayed).
2019-12-16 21:45:24 +01:00
athrxx
e6f018543d KYRA: (EOB) - fix debugger glitches
Seems that some font glyphs that were used for the print_map command aren't present any more. I replaced them with more conventional glyphs.
2019-12-16 21:45:16 +01:00
Eugene Sandulenko
781537665c DIRECTOR: LINGO: Compile menu handlers 2019-12-16 17:45:26 +01:00
Eugene Sandulenko
462998e6d4 GRAPHICS: MACGUI: Delete menu on redefinition 2019-12-16 17:44:53 +01:00
Eugene Sandulenko
d62a589059 DIRECTOR: LINGO: Generate code for menu actions 2019-12-16 17:36:58 +01:00
Eugene Sandulenko
a6df004aac DIRECTOR: LINGO: Provide actionId for menus 2019-12-16 16:41:59 +01:00
Eugene Sandulenko
64b148afba GRAPHICS: MACGUI: Added possibility to provide action ids in menus in strings 2019-12-16 16:40:51 +01:00
Eugene Sandulenko
2582036ea6 GRAPHICS: MACGUI: Remove flicker when exiting modal menu 2019-12-16 15:26:39 +01:00
Eugene Sandulenko
9f789b4bde GRAPHICS: MACGUI: Optimized drawing of MacMenu 2019-12-16 14:21:11 +01:00
Eugene Sandulenko
4c3cea846b GRAPHICS: MACGUI: Restore background for modal MacMenus 2019-12-16 12:19:36 +01:00
Eugene Sandulenko
8c0590be77 GRAPHICS: MACGUI: Initial code for truly modal MacMenu 2019-12-16 11:23:06 +01:00
Eugene Sandulenko
f724e672f8 GRAPHICS: MACGUI: Save background on menu activation 2019-12-16 11:09:15 +01:00
D G Turner
f438d0c5b2 DIRECTOR: Fix Missing Default Switch Case in Lingo Flex Parser
This is flagged by GCC if -Wswitch-default is enabled.
2019-12-16 08:16:55 +00:00
D G Turner
6a5c34bb69 GLK: AGT: Fix Fallthrough Compiler Warnings
One of these was an actal bug which would have caused the score notification
to be toggled if the restart verb was unable to be executed due to lack of
memory. This is obviously wrong and has been fixed.
2019-12-16 08:01:21 +00:00
D G Turner
fc813901ff GLK: AGT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-16 07:36:33 +00:00
D G Turner
63789ac698 GLK: ADRIFT: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-16 05:48:56 +00:00