Commit Graph

47985 Commits

Author SHA1 Message Date
Jussi Pitkanen
8183103777 AGI: Simplify sector offset calculation 2011-08-13 23:26:34 +01:00
Jussi Pitkanen
7405140474 AGI: Cleanup 2011-08-13 23:26:32 +01:00
Jussi Pitkanen
4d4a558f7b AGI: Do not try to pass filenames of disk images from the detector to engine 2011-08-13 23:26:29 +01:00
Jussi Pitkanen
1f680ecbc8 AGI: Detect the end of V1 sound resources correctly, fixing crashes 2011-08-13 23:26:27 +01:00
Jussi Pitkanen
010315dc0c AGI: Implement resource loader for the DDP booter game 2011-08-13 23:26:24 +01:00
Jussi Pitkanen
3fd26de379 AGI: Detect the bootable floppy version of Donald Duck's Playground
Also create a framework into which more booter games can be added.
2011-08-13 23:26:22 +01:00
Jussi Pitkanen
ab784944ea AGI: Implement note fetch routine for AGI v2.001 sound resources
I suspect this is the format for AGI V1 sound resources as well. It is
currently implemented by splitting getNextNote() to getNextNote_v2() and
getNextNote_v1(). Since the V1 format consists of simple register values
to the sound chip in PCjr, this could probably be made more cleanly by
refactoring the code to resemble the chip more closely, so that its state
is updated by writing to the registers.
2011-08-13 23:26:19 +01:00
Alyssa Milburn
a6acf42e74 COMPOSER: Support reading V1 buttons. 2011-08-13 22:15:23 +02:00
Alyssa Milburn
bdc24b6565 COMPOSER: Split out filename mangling into a separate function. 2011-08-13 22:11:27 +02:00
Alyssa Milburn
c3339c15fa COMPOSER: Tweak button z-ordering slightly.
This fixes agreeing to make ice cream sundaes in Gregory.
2011-08-13 22:08:42 +02:00
Filippos Karapetis
21b2a7064f Merge pull request #63 from tsoliman/detection-tables
Some missing ADGF_CD and ADGF_UNSTABLE flags
2011-08-13 12:24:30 -07:00
Bastien Bouclet
0bbd43eb32 MOHAWK: Implement Myst demo opcodes 298 and 299, sneak preview speech. 2011-08-13 20:22:27 +02:00
Ori Avtalion
0e8840568b README: Make 'Hotkeys' title consistent with ToC 2011-08-13 20:41:16 +03:00
Paul Gilbert
2dbd858186 TSAGE: Fix crash when exiting whilst a palette rotation is active 2011-08-13 21:14:48 +10:00
Paul Gilbert
2a69bcbeba CGE: Fix backslashes in module.mk 2011-08-13 19:56:43 +10:00
Paul Gilbert
e9c8232da8 TSAGE: Split up the hard-coded logic files for Ringworld and Blue Force into separate sub-folderes 2011-08-13 19:49:54 +10:00
Matthew Hoops
c109a60a92 SCUMM: Implement basic basketball court data parsing 2011-08-12 16:41:48 -04:00
Alyssa Milburn
b631104fd0 COMPOSER: Catch up with animations if we're starved of CPU time. 2011-08-12 21:16:47 +02:00
Alyssa Milburn
d13b967376 MOHAWK: Yet more LB detection entries. 2011-08-12 21:11:39 +02:00
Alyssa Milburn
5d416e7903 COMPOSER: Don't ignore setCursorVisible when there's no cursor yet. 2011-08-12 20:58:08 +02:00
Matthew Hoops
26befa4b40 SCUMM: Implement basketball u32 op 1012
The game no longer divides by zero when starting a match and the court is now visible.
2011-08-12 09:29:37 -04:00
Johannes Schickel
b8dcd9a25e OPENGL: Fix aspect ratio correction behavior.
Now only 320x200 and 640x400 will result in aspect ratio correction to be used
if the user requested it. This should fix some strechting in Myst/Riven.
2011-08-12 04:06:54 +02:00
Johannes Schickel
a77c29327e OPENGLSDL: Do not change requested window size on resize.
This should help fix a lock up on window managers, which will try to force the
ScummVM window to a certain size, by just requesting the same size over and
over again.

Now we get black borders even in windowed mode when the aspect of the window
does not match the aspect of the game screen (and we are not in "normal" mode),
but that is usually the same in video players too, so shouldn't be too bad.
2011-08-12 03:46:32 +02:00
Johannes Schickel
bb3d1f2738 AUDIO: Replace macro in emumidi code with enum. 2011-08-12 03:22:01 +02:00
Matthew Hoops
30d0010b9e MOHAWK: Stub off xflies 2011-08-11 17:49:01 -04:00
Bertrand Augereau
b08b31eed3 DREAMWEB: 'setuptimedtemp' ported to C++ 2011-08-11 22:01:53 +02:00
Matthew Hoops
bb3b1a2b75 MOHAWK: Error out on any unknown Riven stack variables 2011-08-11 13:14:04 -04:00
Matthew Hoops
1737190a71 MOHAWK: Implement the rest of the sunners code 2011-08-11 13:14:03 -04:00
Bertrand Augereau
2250c10ffe DREAMWEB: 'dumptimedtext' ported to C++ 2011-08-11 15:29:29 +02:00
Bertrand Augereau
701776a73a DREAMWEB: 'multiget' and 'multiput' don't dirty segments anymore 2011-08-11 15:18:41 +02:00
Paul Gilbert
7ef6c73d61 SDL: Previous commit broke compilation on MSVC
Including cursorman.cpp rather than cursorman.h resulted in the CursorManager class being present in multiple .obj files, resulting in linking errors.
2011-08-11 22:30:46 +10:00
Paul Gilbert
744f04bf50 TSAGE: Implemented new Globals for Blue Force, and beginnings of implementation of Scene 100 (Title Screen) 2011-08-11 22:05:44 +10:00
Paul Gilbert
c903411036 TSAGE: Added support for reverse palette fading 2011-08-11 22:03:57 +10:00
Bertrand Augereau
cea283644f DREAMWEB: 'getreelstart' ported to C++ 2011-08-11 13:29:33 +02:00
Alyssa Milburn
76a18b247b COMPOSER: Stop kBitmapSpp32 writing off the end of the buffer.
This fixes corruption when there's only one pixel left to
decompress, but two pixels available in the compressed data.
Also, improve error checking in the bitmap decompression code.
2011-08-11 13:15:18 +02:00
Bertrand Augereau
a8c619d7ad DREAMWEB: 'dealwithspecial' has a better signature 2011-08-11 12:33:33 +02:00
Bertrand Augereau
b6a8e2e98c DREAMWEB: Misc cleanings in stubs.cpp 2011-08-11 12:26:30 +02:00
Johannes Schickel
0f6e231356 SDL: Implement a hellish workaround to fix bug #3368143.
The bug in question is "SDL/OpenGL: Crash when switching renderer backend". To
fix it I added a stupid graphics state copying to the SDL backend, in case the
graphics manager is switched. The implementation of this is considered a pure
workaround, no one should ever do it like this in reality... I just want to
die when looking at this... Not sure why I actually committed it.

Anyway it at least makes the OpenGL backend testable for those who do not
want to fiddle with the config file directly.
2011-08-11 04:28:44 +02:00
Bertrand Augereau
d5a184e2f0 DREAMWEB: 'showframe' takes a Frame 2011-08-11 03:30:41 +02:00
Bertrand Augereau
c2e9f01ae4 DREAMWEB: A stub has become useless 2011-08-11 03:23:22 +02:00
Bertrand Augereau
707c6ed01c DREAMWEB: 'printslow' API improved 2011-08-11 03:19:51 +02:00
Bertrand Augereau
b701deed4f DREAMWEB: Less ds pollution in 'printslow' and 'printdirect' 2011-08-11 02:30:25 +02:00
Bertrand Augereau
3e9773a858 DREAMWEB: Stricter typing in the printing subsystem 2011-08-11 02:27:41 +02:00
Strangerke
2739d8fa20 COMPOSER: Add detection for Dragor FR and Gregory FR 2011-08-10 21:23:33 +02:00
Johannes Schickel
930f626dab TIMER: Add a comment to explain why we remove the name in removeTimerProc. 2011-08-10 18:42:19 +02:00
Johannes Schickel
c443f113ed TIMER: Remove all names associated with a callback, since all callbacks are removed.
This makes the name removal consistent with the timer proc removal.

It seems we only allow a specific timer proc being added once anymore though.
So this should not change too much right now.
2011-08-10 18:34:08 +02:00
Johannes Schickel
cea06991eb TIMER: Remove name of callback in removeTimerProc.
This should fix #3389673 "LOOM: CD-Version crashes at start". It also fixes the
same error showing up for me in Monkey CD.

The doc changes in 4c7958450f claims the name is used for the event
recorder, but as far as I can tell it is not used right now. Thus depending on
how it is used the behavior of SCUMM removing and adding the same timer aagain
*might* cause problems.

In any way we need to remove the name in removeTimerProc, else RTL + launching
the same game again would be broken too.
2011-08-10 18:22:25 +02:00
Bertrand Augereau
a710b32c61 DREAMWEB: Removed useless push/pops 2011-08-10 17:35:55 +02:00
Bertrand Augereau
80f712b5b9 DREAMWEB: 'multidump' doesn't dirty ds anymore 2011-08-10 17:34:41 +02:00
Bertrand Augereau
81a522e03e DREAMWEB: Improvement of 'printslow' signature 2011-08-10 17:20:34 +02:00