41598 Commits

Author SHA1 Message Date
Eugene Sandulenko
937cf6cd7a CONFIGURE: Plug in Last Express engine
svn-id: r53580
2010-10-18 19:18:06 +00:00
Eugene Sandulenko
86d650926f LASTEXPRESS: Merge in the engine.
svn-id: r53579
2010-10-18 19:17:38 +00:00
Eugene Sandulenko
c92d2bc234 SOUND: Add support for LastExpress version of IMA ADPCM sound.
Patch by littleboy.

svn-id: r53578
2010-10-18 19:10:57 +00:00
Eugene Sandulenko
05b3f2a071 GUI: Use vprintf in Console class. Patch by littleboy
svn-id: r53577
2010-10-18 19:07:24 +00:00
Eugene Sandulenko
4b5640883c COMMON: Implement Common::vprintf(). Patch by littleboy
svn-id: r53576
2010-10-18 19:04:41 +00:00
Max Horn
277113f600 SCUMM: Fix out of bound access (discovered by Code Analysis in MS VS2010; thanks to aquadran for helping verify the fix)
svn-id: r53575
2010-10-18 19:03:24 +00:00
Max Horn
cda2c950d6 SCUMM: Simplify SO_LOAD_STRING code
svn-id: r53574
2010-10-18 18:56:40 +00:00
Max Horn
32f1a9ad8b SCUMM: Add paranoia check
svn-id: r53573
2010-10-18 18:56:20 +00:00
Max Horn
6175c2bb19 SCUMM: Fix potential bug in ScummEngine::resStrLen.
In particular, it might happen that ScummEngine::resStrLen is called
while the _scriptPointer is stale. In that case, it would be working
with the stale pointer. If the code calling it then uses fetchScript*()
methods to read the string whose length was just computed, then it would
read potentially *different* data (e.g. copyScriptString or
loadPtrToResource could have been affected).

I am not sure if this actually could have caused bugs somewhere; it might
even be provable that a script relocation cannot happen in all places
that invoke resStrLen. But for now it's much easier to make the code
safe than to verify that theory ;).

Also simplified some related code.

svn-id: r53572
2010-10-18 18:55:24 +00:00
Max Horn
d69a63c145 SCUMM: Move common code from ScummEngine::fetchScript* to new method.
The new method is called refreshScriptPointer(). Also renamed
getScriptEntryPoint() to resetScriptPointer() in an attempt to highlight
both the similarity and difference between the two.

svn-id: r53571
2010-10-18 18:43:13 +00:00
Eugene Sandulenko
5d08ad157d CONFIGURE: formatting fix (and kick the buildbot full rebuild)
svn-id: r53570
2010-10-18 17:42:24 +00:00
Eugene Sandulenko
c360aa9d14 SWORD25: Fix warning
svn-id: r53569
2010-10-18 17:13:03 +00:00
Eugene Sandulenko
3feac393b0 SWORD25: Renamed Lua .c files to .cpp and make it compilable
svn-id: r53568
2010-10-18 17:12:00 +00:00
Max Horn
3b21db1618 SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)
svn-id: r53567
2010-10-18 16:00:07 +00:00
Filippos Karapetis
35af08619d CREATE_MSVC: Added a missing check for sword25 and reordered some engine checks alphabetically
svn-id: r53566
2010-10-18 11:09:36 +00:00
Paul Gilbert
81f71f48c2 SWORD25: Fix Valgrind reported uninitialised errors
svn-id: r53565
2010-10-18 10:58:22 +00:00
Filippos Karapetis
a5cbff2372 CREATE_MSVC: Added support for libpng as well
svn-id: r53564
2010-10-18 10:40:46 +00:00
Paul Gilbert
ae63e20661 SWORD25: Fix for Valgrind identified errors
svn-id: r53563
2010-10-18 10:26:27 +00:00
Travis Howell
ada933c2ad SCUMM: Check the sound channel is valid, before checking the sound channel.
svn-id: r53562
2010-10-18 04:25:53 +00:00
Travis Howell
34ff826918 SCUMM: Check the sound channel is valid, before checking the sound channel.
svn-id: r53561
2010-10-18 04:23:30 +00:00
Travis Howell
f40e427ab0 SCUMM: Correct incorrect demo entry for Backyard Football 2002.
svn-id: r53560
2010-10-18 00:43:49 +00:00
Florian Kagerer
1d60fc45f2 SCUMM/FM-TOWNS: more improvements to japanese font drawing
(MI1 intro is still not right)

svn-id: r53558
2010-10-17 23:52:33 +00:00
Travis Howell
3dc498c5ec SCUMM: Fix Macintosh demo of Putt-Putt Joins the Parade.
svn-id: r53557
2010-10-17 23:45:57 +00:00
Filippos Karapetis
7706f90c71 SCI: Added comments for the unmapped SCI2/SCI2.1 kernel functions
svn-id: r53556
2010-10-17 22:56:11 +00:00
Florian Kagerer
365cb758fb GRAPHICS: enable sjis code for scumm engine
svn-id: r53555
2010-10-17 14:11:06 +00:00
Florian Kagerer
c841c3fb7c SCUMM/FM-TOWNS: more improvements to japanese font drawing
- made use of LordHotos graphics/sjis code to reduce code duplication
- japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.)

svn-id: r53554
2010-10-17 13:08:00 +00:00
Travis Howell
728a231d7b SCUMM: Fix bug #2952298 - HE (16Bit): Inventory items (Cursors) have wrong color.
svn-id: r53552
2010-10-17 12:44:56 +00:00
Sylvain Dupont
4d28de5623 TOON: Prevent quick load/save when it's not currently possible
svn-id: r53550
2010-10-16 22:07:09 +00:00
Sylvain Dupont
40d38fcc0d TOON: Added most of the remaining Advanced Engine Features
Loading/Saving during runtime, Advanced Pausing,
Load savestate via launcher, RTL

svn-id: r53549
2010-10-16 21:58:33 +00:00
Matthew Hoops
bc5f10a55c SCI: Add The Black Cauldron (fan game)
svn-id: r53547
2010-10-16 20:48:51 +00:00
Sylvain Dupont
748e00f1cf TOON: Implemented the 4 different mute modes for sound/text
As specified in the hotkeys screen (music,dialog,sound,text on/off)
Sounds are still played but with a volume = 0 (for timing issues)

svn-id: r53545
2010-10-16 19:27:11 +00:00
Sven Hesse
c9f9c75a83 GOB: Extend debug console variable command a bit
...So that it's actually useful

svn-id: r53544
2010-10-16 17:25:08 +00:00
Sylvain Dupont
49fc73e3be TOON: Fix bugs #3085967 and #3085969 about guards dance
Bug #3085969: "TOON: Missing dialogue for Palace guards dance"
Bug #3085969: "TOON: Missing dialogue for Palace Guards sequence"

svn-id: r53543
2010-10-16 17:06:10 +00:00
Sylvain Dupont
de1b17fb99 TOON: Fix inventory autoclose when the click is too long
svn-id: r53542
2010-10-16 15:55:11 +00:00
Sylvain Dupont
291f39044f TOON: Removed useless debug printf
svn-id: r53541
2010-10-16 15:49:48 +00:00
Sylvain Dupont
fff2066872 TOON: Fixed bug #3085999 with bad mouse button behavior
Bug #3085999: TOON: "Exiting inventory screen loop"
Now the events are fired on mouse down instead of on mouse up.

svn-id: r53540
2010-10-16 15:44:50 +00:00
Sylvain Dupont
7b50c2e3c3 TOON: Fixed Bug #3086564 with freezing conversation
Bug #3086564: "TOON: Conversation freeze"
There was an error in hardcoded conversation flag function
Fixed also all endianess problems in conversations

svn-id: r53539
2010-10-16 15:14:09 +00:00
Ori Avtalion
e6ae9c4d98 SWORD25: Use C-style comments in C files
svn-id: r53538
2010-10-16 12:04:22 +00:00
Ori Avtalion
ea9679cf72 SWORD25: Update svn keywords
svn-id: r53537
2010-10-16 12:02:59 +00:00
Johannes Schickel
3b69f1cae6 CREDITS: Sync credits with r53530.
svn-id: r53531
2010-10-16 01:15:09 +00:00
Sylvain Dupont
59e9db8450 CREDITS: Added Toon engine
svn-id: r53530
2010-10-16 01:03:21 +00:00
Sylvain Dupont
2c2ca3e353 TOON: Fixed bug #3086000 there was no magnifier effect
Bug #3086000: "TOON: Magnifying glass cursor drawn incorrectly"
Zoom magnifier postprocess fx has been implemented

svn-id: r53529
2010-10-16 00:17:19 +00:00
Florian Kagerer
63c30e959f SCUMM/FM-TOWNS: fix regression in non Japanese SCUMM 3 games
svn-id: r53523
2010-10-15 23:28:09 +00:00
Martin Kiewitz
ffbca0786d SCI: fixing iceman undithering door close-up
room 9 (go up right at the start)

svn-id: r53522
2010-10-15 22:19:27 +00:00
Sylvain Dupont
19272595e7 TOON: Fixed Bug #3085978 with "Exit Not Defined" appearing
Bug #3085978: "TOON: "Exit not defined" when leaving cellar"

svn-id: r53521
2010-10-15 22:05:54 +00:00
Sylvain Dupont
906704b213 TOON: Fixed bug #3084738 with loading bottomless bag state
Bug #3084738: "TOON: Vanishing bottomless bag"

svn-id: r53520
2010-10-15 21:58:34 +00:00
Florian Kagerer
af52d3a7f6 SCUMM/FM-TOWNS: fix display of dialogue options in Indy 4 Japanese
svn-id: r53519
2010-10-15 21:48:46 +00:00
Florian Kagerer
87b5598720 SCUMM/FM-TOWNS: fix up/down inventory arrows in Indy 4 Japanese
svn-id: r53518
2010-10-15 21:26:05 +00:00
Martin Kiewitz
9cc51096c0 SCI: updating comment for r53515
svn-id: r53517
2010-10-15 21:16:36 +00:00
Paul Gilbert
e868dcd804 LURE: Fix for #3087842 - Code analysis warnings
This is a somewhat cleaner version than my previous commit

svn-id: r53516
2010-10-15 21:13:35 +00:00