42061 Commits

Author SHA1 Message Date
Julien Templier
ae2c4b7cd2 LASTEXPRESS: Savegame support update
- Implement Menu::startGame() properly
 - Add stubs functions for game restart
 - Made savegame headers serializable and moved validity checks inside struct definition
 - Implement create/init savegame functions
 - Add SavegameStream to be able to read/write to the same memory stream
 - Add stubs for setup, writeEntry & loadEntry functions

svn-id: r53841
2010-10-26 00:41:42 +00:00
Max Horn
8217efc74a SWORD25: Disable script triggered screenshots
svn-id: r53840
2010-10-25 23:34:36 +00:00
Max Horn
ed0de8462d SWORD25: Add FIXME about savegame names; cleanup
svn-id: r53839
2010-10-25 23:34:12 +00:00
Max Horn
a783285625 SWORD25: Simplify FS 'wrapper' code a bit, add FIXME comments
The save system of this engine currently partially bypasses the
SaveFileManager API, by (abusing) the fact that the Lua engine allows
creating files in arbitrary places (it exposes fopen, fread, fwrite
etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable.

In addition, the filenames used for the savestates ("0.b25s") do not
comply with our naming conventions for engine savestates.

It should be possible to overcome all this, but it might require hacking
the Lua engine; or we could try to replace some of the BS2.5 script
functions with our own, dynamically.

svn-id: r53838
2010-10-25 23:19:39 +00:00
Max Horn
e0d5db0bb8 SWORD25: 'Implement' RTL support & add TODOs about missing feature support
svn-id: r53837
2010-10-25 22:41:48 +00:00
Sylvain Dupont
c509752da1 TOON: Fixed some Z-order issues for animations
Happened when the flag 0x20 was set in Init_Scene_Anim
It says to use the background layer system

svn-id: r53836
2010-10-25 22:41:34 +00:00
Max Horn
e761f76653 SWORD25: Get rid of most of the 'kernel service/superclass' code
svn-id: r53835
2010-10-25 22:41:25 +00:00
Sylvain Dupont
7ab1e368e8 TOON: Implemented Ambient SFX
For example used in arcade playing sounds, lullaby music,
toilet game win sound effects...

svn-id: r53834
2010-10-25 22:15:47 +00:00
Julien Templier
f370ba174a LASTEXPRESS: Add Date-time comments for US & FR Broderbund releases
svn-id: r53833
2010-10-25 22:14:53 +00:00
Max Horn
90dcc8c91a SWORD25: Get rid of classes ScummVMWindow and Window
svn-id: r53832
2010-10-25 21:51:11 +00:00
Arnaud Boutonné
b42faf72e8 HUGO: Add specific versions of doAction() for Dos versions
svn-id: r53831
2010-10-25 19:59:32 +00:00
Max Horn
075919756f SCUMM: Move shared code of Player_V2 & Player_V2CMS to new common base class
svn-id: r53830
2010-10-25 16:42:24 +00:00
Max Horn
d2a7a840c7 SCUMM: Move class Player_V2CMS to its own header file
svn-id: r53829
2010-10-25 16:41:39 +00:00
Martin Kiewitz
adcab043a2 SCI: fix comment in kAddToPic
svn-id: r53828
2010-10-25 16:33:04 +00:00
Florian Kagerer
65c7299b38 GUI/LAUNCHER: follow-up to r53771
The GM and MT-32 popup widgets would be set to the first available MIDI device by default (before any selection has taken place yet). Instead, default will now be the first list entry.

svn-id: r53827
2010-10-25 14:31:06 +00:00
Arnaud Boutonné
f4ae774751 HUGO: Add a debug channel for Object functions
svn-id: r53826
2010-10-25 14:03:01 +00:00
Arnaud Boutonné
35f220ace2 HUGO: cleanup: Suppress trailing spaces and tabs
svn-id: r53825
2010-10-25 13:31:01 +00:00
Arnaud Boutonné
4e9a2798ef HUGO: Fix display priority order in H1 Dos
svn-id: r53823
2010-10-25 13:20:15 +00:00
Arnaud Boutonné
8e923d9c54 HUGO: Add specific function variantes for H2 Dos and H3 Dos
Also add pathfinding to H1 Dos

svn-id: r53822
2010-10-25 12:07:07 +00:00
Travis Howell
57b571ecd0 SCUMM: Add patch #3094711 - MMC64: Correct position of plant actor.
svn-id: r53814
2010-10-25 10:35:52 +00:00
Arnaud Boutonné
0053b7011e HUGO: Add missing files (sorry!)
svn-id: r53812
2010-10-25 09:22:46 +00:00
Arnaud Boutonné
6889fe42a3 HUGO: Fix GCC warnings
svn-id: r53811
2010-10-25 09:19:06 +00:00
Arnaud Boutonné
eb6dd6d8c8 HUGO: Add specific v1d object class
svn-id: r53810
2010-10-25 09:13:57 +00:00
Angus Lees
a0a9de42e1 ANDROID: Add --disable-timidity to the recommended flags
svn-id: r53809
2010-10-25 08:51:10 +00:00
Angus Lees
3bd60b09c1 ANDROID: Don't trust eglChooseConfig and refilter/sort results manually
It seems some Android versions and devices (eg Droid) don't implement
eglChooseConfig according to spec and the first result isn't the best
choice.  Implement our own filtering / scoring to workaround this.

svn-id: r53808
2010-10-25 08:50:16 +00:00
Travis Howell
f158688c33 SCUMM: Add patch #3089936 - MMC64: Parcel/Tombstone/Verb Fix.
svn-id: r53807
2010-10-25 08:26:21 +00:00
Travis Howell
4f0cc6a435 SCUMM: Add patch #3093541 - MMC64: Actor Walk / Object Fix.
svn-id: r53806
2010-10-25 08:03:55 +00:00
Travis Howell
f228c76b35 SCUMM: Add patch #3093061 - MMC64: sentence highlighting.
svn-id: r53805
2010-10-25 07:53:02 +00:00
Angus Lees
7d0598d810 ANDROID: Provide an alternate partial texture update for stride != width
The new one copies into a temp buffer and only does one
glTexSubImage2D.  I'm led to believe that this is faster on some
devices (but slower on others).  Disabled for now, but someone might
want to try both versions on their slow device.

Also manually set glColor before calling DrawTexiOES, following
mention of a bug in a discussion I stumbled across.  DrawTexiOES-use
is disabled for now, so this is a noop.

svn-id: r53803
2010-10-25 07:35:40 +00:00
Angus Lees
2bf64b1050 ANDROID: Force extra screen update when updating overlay.
This appears to work around a blank screen bug Nexus1.  I never
tracked it down, but as far as I can tell it is triggered by multiple
overlapping updates before flushing the texture to screen.  This
condition only happens in the overlay atm so an extra redraw isn't the
end of the world.

(Also remove an unused _full_screen_dirty property)

svn-id: r53801
2010-10-25 07:27:05 +00:00
Travis Howell
5942382ad4 SCUMM: Add patch #3093051 - MMC64: Ladder facing patch.
svn-id: r53799
2010-10-25 07:07:23 +00:00
Travis Howell
8e10c5bc3b SCUMM: Add patch #3093048 - MMC64: German actor names.
svn-id: r53796
2010-10-25 05:26:16 +00:00
Sven Hesse
66de867fe4 GOB: Fix the Gob3 ladder walking bug
Fix the bug where Blount stops in the middle of big ladders.

svn-id: r53794
2010-10-25 03:39:58 +00:00
Sven Hesse
9605cda50b GOB: Fix the Gob3 stairs walking bug
Fix the bug where blount keeps moving between two steps
of wide stairs.

svn-id: r53793
2010-10-25 03:39:28 +00:00
Sven Hesse
f1d41b8326 GOB: Format optimizePoints() to be a bit more readable
svn-id: r53792
2010-10-25 03:39:04 +00:00
Sven Hesse
bcb8579954 GOB: Minor map cleanup
Make the direction a named enum and create a function moveDirection()
for increasing coordinates according to a direction.

svn-id: r53791
2010-10-25 03:38:34 +00:00
Sven Hesse
27cfa21230 GOB: Fix a typo in checkDirectPath()
svn-id: r53790
2010-10-25 03:38:12 +00:00
Sven Hesse
029aee61a6 GOB: Format getDirection() to be more readable
svn-id: r53789
2010-10-25 03:37:48 +00:00
Sven Hesse
d751212eb3 GOB: Add sanity checks to getPass()/setPass()
svn-id: r53788
2010-10-25 03:37:24 +00:00
Sven Hesse
3b66f3d920 GOB: Make moveAdvance() and movePathFind() a bit more readable
svn-id: r53787
2010-10-25 03:37:00 +00:00
Travis Howell
b2e8daa2d7 SCUMM: Add patch #3093057 - MMC64: sentence/inventory color.
svn-id: r53785
2010-10-25 03:21:49 +00:00
David Turner
816ef5708f LASTEXPRESS: Adding Date-Time Comments To UK Broderbund Detection Entry
As per Littleboy's request.

svn-id: r53784
2010-10-25 00:50:51 +00:00
Matthew Hoops
4f37c92602 LASTEXPRESS: Don't use NULL in arithmetic
svn-id: r53783
2010-10-25 00:16:38 +00:00
Andrew Kurushin
0970cdf5e5 SAGA: reduce memory usage
svn-id: r53782
2010-10-24 22:52:57 +00:00
Andrew Kurushin
599094d3a0 SAGA: fix SAGA_DEBUG; fix IHNM cutaway typo
svn-id: r53781
2010-10-24 22:40:37 +00:00
Andrew Kurushin
0f1ae79ac4 SAGA: fix const cast warns
svn-id: r53780
2010-10-24 22:25:16 +00:00
Andrew Kurushin
67cc1b8a84 SAGA: replace Resource:loadResource malloc with ByteArray class
svn-id: r53779
2010-10-24 22:17:44 +00:00
Julien Templier
859c1c2c08 LASTEXPRESS: Fix issues when copying debugger commands
- Properly free allocated memory in resetCommand()
 - Make sure _commandParams strings are null-terminated

svn-id: r53778
2010-10-24 22:15:36 +00:00
Julien Templier
e4dc5336db LASTEXPRESS: Fix crash in subtitle handling
svn-id: r53777
2010-10-24 22:15:25 +00:00
Filippos Karapetis
77d20f6962 SCI: Fixed bug #3094235 - "SQ4CD: Crashes at Roger jr. in beam"
svn-id: r53776
2010-10-24 21:53:27 +00:00