Commit Graph

52177 Commits

Author SHA1 Message Date
Filippos Karapetis
de3f6a19ed SCI: Initial implementation of kScrollWindow, used in some SCI21 games
This is used in LSL6 hires and SQ6. This initial implementation is hackish
and only works in SQ6 (nothing is shown in LSL6)
2012-06-07 11:27:59 +03:00
Travis Howell
e73f93e565 AGOS: Fix compiling AGOS game engine, when AGOS2 is disabled. 2012-06-07 14:49:07 +10:00
Sven Hesse
c37577a950 GOB: Hook up the Penetration minigame in the cheater 2012-06-07 04:29:10 +02:00
Sven Hesse
3d537e763c GOB: Handle Penetration shooting animations more cleverly
Still no bullets, though :P
2012-06-07 04:21:29 +02:00
Sven Hesse
95454ab52c GOB: Better controls in Geisha's Penetration
You can actually move diagonally now
2012-06-07 04:21:29 +02:00
Matthew Hoops
f3fba31846 SCUMM: Implement football2002 u32 opcode 1028
Scoreboard transitions now play
2012-06-06 21:47:36 -04:00
Sven Hesse
8c3d2fc741 GOB: Add a way to reopen currently opened IMD/VMD videos
This is a workaround for how Lost in Time behaves in combination
with changes I made to the DataIO code for running Urban Runner
on low-memory devices.

Urban Runner's intro are far to big to have them copied into
memory for these devices, so I made the DataIO code return a
SafeSeekableSubReadStream into the opened archive stream instead.
Unfortunately, Lost in Time might not close a video file when it
closes the data file which it was originally in, especially when
loading a saved game. Since the video player needs to be able to
gaplessly continue a video and there does not, by itself, close
the video if not requested by the scripts, this leads to reading
out of an already closed stream in certain cases.

So, to worka round this issues, the video player tries to reopen
each currently opened video after a data archive was closed, to
make sure that that video is still available. If not, the video
is closed.
2012-06-07 00:29:46 +02:00
Sven Hesse
4288edd523 GOB: Add the original broken German as comments 2012-06-06 19:21:21 +02:00
Sven Hesse
5913b9b839 GOB: Draw info texts in Penetration
The German strings have been changed from the original, to fix the
horribly broken German.
Someone should probably check the Italian and Spanish strings too.
2012-06-06 19:03:23 +02:00
Sven Hesse
78c9c72691 GOB: Set Penetration floor palettes and fade in/out 2012-06-06 16:50:22 +02:00
Sven Hesse
04d0ec8d03 GOB: Implement exiting floors 2012-06-06 03:33:35 +02:00
Sven Hesse
1782012f9f GOB: Clean up the Penetration map handling a bit 2012-06-06 03:33:35 +02:00
Sven Hesse
b83ac21f60 GOB: Implement Penetration submarine shooting and dying
Shots don't result in bullets yet, though
2012-06-06 03:33:35 +02:00
Sven Hesse
93dda1b227 GOB: const correctness 2012-06-06 03:33:34 +02:00
Thierry Crozat
ac76994781 SWORD1: Use _missingSubTitleStr when asking for an out of bound textId
It was using textId 0, which is not the subtitle we want anyway. So
instead of using the wrong subtitle, it is probably better to not display
a subtitle at all. A test case for this is with the demo when using
non-english language as several subtitles are missing toward the end.
2012-06-05 22:35:36 +01:00
Thierry Crozat
d2c6525d88 SWORD1: Fix crash in demo when using French subtitles 2012-06-05 22:35:36 +01:00
Matthew Hoops
2aeb883123 SCUMM: Show an error dialog when trying to run puttzoo ios lite
The lite version contains the full game and we will not support it due to potential piracy.
2012-06-05 13:17:04 -04:00
Sven Hesse
4392e4d7aa GOB: Implement health gain/loss for mouths 2012-06-05 17:01:40 +02:00
Sven Hesse
7377640668 GOB: Play sounds for mouths and shields in Penetration 2012-06-05 16:21:36 +02:00
Sven Hesse
25938316a8 GOB: Animate mouths in Geisha's Penetration 2012-06-05 16:19:19 +02:00
D G Turner
7d29e4017d DREAMWEB: Modify Sound code to better match original behaviour.
This fixes bug #3531635 - "DREAMWEB: doors don't play "open" sound when
opening".
In addition, the resultant code is simpler and should better match the
original behaviour and a basic playtest has not shown any regressions.
2012-06-05 01:00:01 +01:00
Paul Gilbert
b8989cafc7 COMMON: Merge of pull request #240, coroutine code cleanup 2012-06-04 21:59:10 +10:00
Sven Hesse
db99d23717 GOB: Fix invalid reads in Geisha's minigames 2012-06-03 18:58:03 +02:00
Sven Hesse
d124b87649 GOB: Remove unnecessary include
A remnant of when we were still doing dithering color LUT
creation at startup
2012-06-03 17:15:18 +02:00
Sven Hesse
5a245bd4f2 GOB: Consume shields in Penetration 2012-06-03 03:40:04 +02:00
Sven Hesse
627e870629 GOB: Limit Penetration movement to walkable tiles 2012-06-03 03:29:35 +02:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Sven Hesse
95e467d82c GOB: Display the Penetration submarine 2012-06-03 01:29:44 +02:00
Sven Hesse
8dcb93f2ce GOB: Draw the Penetration map and do basic movement 2012-06-03 01:29:44 +02:00
Sven Hesse
43abb525d4 GOB: Draw the map in a separate surface
Still hidden for now.
2012-06-03 01:29:44 +02:00
D G Turner
db77b9e4a7 DREAMWEB: Modify sound code to prevent missing sound effects.
This should fix bug #3528164 "DREAMWEB: missing sound
effects/music cues during main title" by preventing repeated calls
of SFX id 12 being lost if the next call is made before the sound
handler has cleared the previous one.
2012-06-02 22:28:34 +01:00
Sven Hesse
030509c8eb GOB: Draw the shield and health meters in Penetration 2012-06-02 23:14:12 +02:00
Sven Hesse
585ceb566f GOB: Add animation handling frame to Penetration 2012-06-02 23:14:12 +02:00
Sven Hesse
3eeb3d7416 GOB: Correctly name the Penetration script variables 2012-06-02 23:14:12 +02:00
Lars Skovlund
c1dd3d5c29 SCI32: Implement GetConfig("language") 2012-06-02 18:50:46 +02:00
D G Turner
d9983a6224 DREAMWEB: Cleanup of debugging code and formatting in sound code.
This commit removes various temporary debugging output, cleans up
some points of formatting and replaces some hexadecimal sizes and
offsets with decimal for readability.
2012-06-02 07:03:40 +01:00
Travis Howell
79f6f63daf SCUMM: Add debugInput opcode difference in Backyard Basketball. 2012-06-01 14:30:47 +10:00
Johannes Schickel
72ec77a631 Merge pull request #241 from fingolfin/osx-spelling
ALL: Correct spelling of "Mac OS X" in various places
2012-05-31 04:28:09 -07:00
Travis Howell
dfa5405db8 SCUMM: Change the nest.number default to zero in stopScript and stopObjectScript too. 2012-05-31 19:01:07 +10:00
Max Horn
5de3f9c765 ALL: Correct spelling of "Mac OS X" in various places 2012-05-31 10:30:29 +02:00
D G Turner
6691424397 DREAMWEB: Remove irrelevant additions in SFX id 62 usage. 2012-05-31 05:39:08 +01:00
D G Turner
628cfa3d47 DREAMWEB: Objectify Sound functions & data into DreamWebSound class.
This change should have no functional change, but makes the sound code
more decoupled, modular and readable, prior to attempting a fix for
bug #3528164 - "DREAMWEB: missing sound effects/music cues during main
title".
2012-05-31 05:16:10 +01:00
Matthew Hoops
8860a83bf8 NEWS: Backyard Baseball 2003 is now supported 2012-05-30 23:31:16 -04:00
Travis Howell
4aec92e5e9 SCUMM: Backyard Baseball 2003 uses a unique variable for the subtitle setting, fixes changing subtitles via ScummVM. 2012-05-31 11:40:21 +10:00
Paul Gilbert
29ebb2823d COMMON: Fix comment typo in coroutine comments 2012-05-31 08:06:59 +10:00
Lars Skovlund
403b646c13 SCI32: Case-insensitive configuration getters 2012-05-30 18:43:39 +02:00
Travis Howell
de904c59c4 SCUMM: Fix global script 255 never been resumed by runScriptNested. Thanks to clone2727 for tracking down the problem in baseball2003. 2012-05-31 00:05:05 +10:00
D G Turner
ae31469a9a DREAMWEB: Replaced vsync() function with waitForVSync().
As a call to waitForVSync() was the only contents of vsync(), there
should be no functional change.
2012-05-30 04:23:34 +01:00
D G Turner
96ae10c749 DREAMWEB: Removal of dead code and cleanup in sound code.
The removed blocks in the playChannel<n> functions referencing index are
non-functional leftovers from more complex logic in the original code
structure, and thus can be safely removed.
2012-05-30 03:53:52 +01:00
Sven Hesse
be25e31a0a GOB: Fix v7 cursors drawn by the scripts
When the cursor name is "", then that cursor is drawn by the scripts
instead of loaded from cursor32.dll. That cursor does not have its own
palette then.
Fixes the cursors in the "paint" game in Adibou2.
2012-05-29 17:12:06 +02:00