52192 Commits

Author SHA1 Message Date
Eugene Sandulenko
ec92a867da Merge pull request #243 from lordhoto/cursor-no-scale
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
2012-06-08 23:20:28 -07:00
Travis Howell
3968f31948 SCUMM: Add HE101 version, for debugInput opcode difference in some HE100 games. 2012-06-09 15:36:47 +10:00
Matthew Hoops
8675f51001 NEWS: Fix a typo 2012-06-08 23:06:58 -04:00
Sven Hesse
6559a74dac NEWS: Add Geisha to the supported games 2012-06-09 04:55:11 +02:00
Matthew Hoops
e8ab1f5088 SCUMM: Implement listing playbook files in football2002 2012-06-08 22:22:38 -04:00
Matthew Hoops
f22661e4b9 SCUMM: Stub off other football2002 u32 opcodes 2012-06-08 19:45:31 -04:00
Matthew Hoops
c735b2acda SCUMM: Give football u32 opcodes proper names 2012-06-08 14:32:13 -04:00
Filippos Karapetis
a643981a38 SCI: Handle resource ID -1 when setting the palVary resource
Fixes several wrong colors in SQ6
2012-06-08 11:57:43 +03:00
Willem Jan Palenstijn
18dd5e5128 SCI: Fix mouse up events
Regression from 906f0248317e1a4167190a666fe308a09334bfac.
Fixes bug #3533069.
2012-06-08 08:31:06 +02:00
Sven Hesse
c414baa35d GOB: Implement shooting in Penetration
Geisha's Penetration minigame should be complete now.
This also means that Geisha is now basically complete.

The only thing missing is the MDYPlayer, but since the
music is only played once during the title screen, and it
has a PCM-based fallback (which is currently played), this
is low priority.
2012-06-08 05:16:01 +02:00
Sven Hesse
421b93ce05 GOB: Rewrite "pathfinding" and implement moving enemies
Since shooting does not yet work, we're just getting mauled by them...
2012-06-08 03:16:53 +02:00
Johannes Schickel
e1d45a7b89 TINSEL: Remove unused member _scheduler in TinselEngine.
This is a leftover from before the move of the coroutine code.
2012-06-07 18:19:58 +02:00
Johannes Schickel
8e7f874db3 COMMON: Make CoroutineScheduler's constructor and destructor private.
CoroutineSchedule is a singleton, thus it should not be possible to create
a custom instance of it.
2012-06-07 18:11:38 +02:00
Johannes Schickel
27aa097449 COMMON: Slightly adapt coroutine code to better match our guidelines.
I used astyle here, which automatically removes the use of tabs in comments.
2012-06-07 18:06:59 +02:00
Johannes Schickel
b17b38cc36 COMMON: Move coroutine documentation to the header file. 2012-06-07 18:06:13 +02:00
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