Commit Graph

47679 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Travis Howell
f049e6788a BUILD: Only use supported languages in Windows installer script. 2011-08-10 14:20:25 +10:00
Travis Howell
579cc23760 BUILD: Remove English specific launch message in Windows installer script. 2011-08-10 13:55:34 +10:00
Travis Howell
1dcab5aedd BUILD: Only use supported languages in Windows installer script. 2011-08-10 13:00:43 +10:00
Travis Howell
26107fdc55 BUILD: Install documentation based on language chosen during installation. 2011-08-10 11:30:34 +10:00
Simon Sawatzki
5a061dc6ed DOCS: Finished German README (Liesmich)
Completed the last third of the file and also corrected mistakes, typos and
other things I didn't like during the final proofreading process.
2011-08-10 02:44:15 +02:00
Johannes Schickel
d31bf017a9 README: Update MSVC building instructions a bit.
This includes removing horribly outdated information about MSVC6 support.
Since the wiki is down right now, I can not update the link. I suspect we
should update this building section a bit more anyway.
2011-08-10 01:04:59 +02:00
Simon Sawatzki
35c53f6b3b README: Cleanup & little corrections
Fixed some little typos, corrected some layout mistakes and similiar.
Also, changed that MT-32 is also now the default music driver for most games.
2011-08-10 00:58:42 +02:00
Johannes Schickel
3635efd92c CMS: Simplify code a tiny bit. 2011-08-10 00:00:12 +02:00
Johannes Schickel
b95bbb2ace CMS: Do proper clipping of the sound data on generation.
This fixes some overflows/underflows which resulted in crackling.
2011-08-10 00:00:12 +02:00
Johannes Schickel
74560278b2 SCUMM: Change CMS sfx methods to use its own register set.
This is now like in the original and helps comparing register writes against
DOSBox's behavior.
2011-08-10 00:00:12 +02:00
Johannes Schickel
37a34e6da2 SCUMM: Do not pack structs in CMS code. 2011-08-10 00:00:06 +02:00
Johannes Schickel
00d25a77a9 RECORDER: Defer mutex deletion to destructor.
Since we now call deinit after a game has been run, otherwise RTL would be
broken. See bug report #3388982 "valgrind errors when doing multiple RTL".
2011-08-09 15:04:26 +02:00
Johannes Schickel
a72ab2f448 BACKENDS: Fix compilation. 2011-08-09 14:56:38 +02:00
Fabio Battaglia
3fe81198ff DINGUX: hopefully fix the cursor palette problem
The port wasn't keeping track of the CursorPalette feature
correctly. This should fix it for good.
2011-08-09 14:06:31 +02:00
Fabio Battaglia
521dfaa980 DINGUX: fix compilation 2011-08-09 11:19:18 +02:00
Eugene Sandulenko
83eb8e7ab6 RECORDER: Implement time compensation for playback 2011-08-09 08:37:00 +01:00
Travis Howell
05c0c8e98b SCUMM: Backyard Soccer 2004 uses a different INI setting to disable printing. 2011-08-09 11:46:50 +10:00
Matthew Hoops
dbceb0a77d SCUMM: Add some HE72 differences to mouse click handling
Backyard Soccer at least requires this to have input during gameplay.
2011-08-08 21:15:28 -04:00
Johannes Schickel
06b95b3543 OPENGL: Add include guard to gltexture.h 2011-08-09 02:14:12 +02:00
Filippos Karapetis
ef695cb7dd OPENGL: Added a temporary hack to fix compilation under Windows, after the latest changes to the SDL interface layer 2011-08-09 02:24:59 +03:00
Johannes Schickel
fd61a83bb5 SDL: Slight clean up in the surface based graphics manager. 2011-08-09 00:04:19 +02:00
Johannes Schickel
04ab0e58b4 SDL: Take advantage of SdlGraphicsManager.
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.

Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.

Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
0630a88a04 SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
dedc74abfa SDL: Add a new base class for graphics managers utilizing SDL. 2011-08-09 00:03:10 +02:00
Johannes Schickel
222064cdb6 BACKENDS: Add PaletteManager interface as comments to GraphicsManager.
This should be a little more comfortable about finding out what's needed to
implement a new graphics manager.
2011-08-09 00:03:10 +02:00