Commit Graph

20099 Commits

Author SHA1 Message Date
Sven Hesse
076b9c9e53 GOB: Remove the vidMode parameter from Video::initSurfDesc
svn-id: r55727
2011-02-02 16:48:04 +00:00
Matthew Hoops
d3e30f3038 SCI: Fix SCI32 Mac fonts
svn-id: r55725
2011-02-02 16:22:58 +00:00
Matthew Hoops
f1f86646de SCI: Fix SCI32 Mac pictures
svn-id: r55724
2011-02-02 16:15:49 +00:00
Filippos Karapetis
a86cb87b98 GRAPHICS: Implemented a PNG decoder, and set it as default for the sword25 engine
libpng is still needed for PNG encoding (for thumbnails in saved games of sword25), but
since we'll probably drop support for the original saved games anyway, the PNG encoding
code will ultimately be removed

svn-id: r55723
2011-02-02 15:43:45 +00:00
Filippos Karapetis
a4a09ac284 SWORD25: Added a cache minimum and maximum limit, so that the resources loaded will always be inside these limits. Resources can now be forcefully unlocked when the upper limit is reached
svn-id: r55722
2011-02-02 15:35:05 +00:00
Matthew Hoops
24e983610d SCI: Fix GK1 Mac views, the game now starts
svn-id: r55721
2011-02-02 15:33:33 +00:00
Matthew Hoops
3c04db1ebf SCI: Set Mac cursors as a non-compressable type too
svn-id: r55720
2011-02-02 15:21:24 +00:00
Matthew Hoops
47b2611f50 SCI: Add comment about GK1 Mac using kSetFontRes
svn-id: r55719
2011-02-02 14:52:02 +00:00
David Turner
8afafd89eb MOHAWK: Fix GCC-3 cast warning.
Seen with a number of buildbot chains.

svn-id: r55718
2011-02-02 14:36:09 +00:00
Sven Hesse
e3713746a0 GOB: Fix Databases constructor
Ooops, a leftover I forgot to remove.

svn-id: r55717
2011-02-02 14:15:13 +00:00
Matthew Hoops
a6891a4372 SCI: Fix Mac sync resource support
svn-id: r55716
2011-02-02 02:20:25 +00:00
Matthew Hoops
1e14752d4d SCI: Add support for Mac audio36/sync36 resources in resource forks
svn-id: r55715
2011-02-02 00:23:46 +00:00
Sylvain Dupont
7ad4241649 TOON: Remove misc/ from paths since it's in global folders
Caps'ed the filenames, even if it should not matter normally

svn-id: r55714
2011-02-01 23:26:54 +00:00
Alyssa Milburn
22f87250e9 MOHAWK: Handle a few more LB notify opcodes.
svn-id: r55713
2011-02-01 22:00:57 +00:00
Alyssa Milburn
40a9b710a5 MOHAWK: Handle some LB script entry params.
svn-id: r55712
2011-02-01 22:00:37 +00:00
Matthew Hoops
e1bdfe16e3 SCI: Make Hoyle4 workarounds without names so they work in the Mac version (that has no class names)
svn-id: r55711
2011-02-01 21:15:26 +00:00
Arnaud Boutonné
31fc032c27 HUGO: in the menu, show modified button before closing the menu, with a short delay.
Thanks _sev for the help!

svn-id: r55710
2011-02-01 20:45:22 +00:00
Alyssa Milburn
ee200c946d MOHAWK: Add LB poetry mode logic to updatePage.
svn-id: r55709
2011-02-01 18:09:01 +00:00
Matthew Hoops
26f5523156 SCI: Mac SCI1.1+ games can use SYNC as the resource type for sync resources too
svn-id: r55708
2011-02-01 15:17:39 +00:00
Alyssa Milburn
4ea38d3f33 MOHAWK: Remove broken LB anim items stopSound calls.
svn-id: r55707
2011-02-01 13:39:24 +00:00
Alyssa Milburn
4d094feb3a MOHAWK: Allow mode changes from LB's debug console.
svn-id: r55706
2011-02-01 12:57:34 +00:00
Matthew Hoops
1ac0680a77 SCI: Fix SCI1.1+ Mac views with uint16 rle lengths (thanks, Walter)
svn-id: r55705
2011-02-01 03:50:29 +00:00
Matthew Hoops
ac4bf4ffb8 MOHAWK: Add detection for the LBSampler v1
svn-id: r55704
2011-02-01 03:05:18 +00:00
Matthew Hoops
6ae0198ae8 MOHAWK: Add detection for the Mac LBSampler v3
svn-id: r55703
2011-02-01 03:00:42 +00:00
Matthew Hoops
e47ac9f937 MOHAWK: Add detection for Arthur's Computer Adventure
svn-id: r55702
2011-02-01 02:54:51 +00:00
Matthew Hoops
403a33b11c MOHAWK: Add detection for The Berenstain Bears Get in a Fight
svn-id: r55701
2011-02-01 02:47:24 +00:00
Arnaud Boutonné
088b5f7743 HUGO: Use a separate thread for honker player and fix ticks per seconds
This fixes the speaker music stopped by message boxes, and the speaker music itself.

svn-id: r55700
2011-02-01 00:08:12 +00:00
Alyssa Milburn
e2d3521d7d MOHAWK: LB detection/path updates.
Mark the v2.9x games as v3, mark Rugrats as v4, add detection for
CarmenTQ and add its install directory to the path.

svn-id: r55698
2011-01-31 23:10:18 +00:00
Matthew Hoops
956dc54e3d SCI: Update the Mac version detection comments
svn-id: r55697
2011-01-31 23:09:22 +00:00
Matthew Hoops
4c8a9ab24a SCI: Add support for Mac SCI1.1+ resource compression
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?).

*Much* thanks to Walter for his help.

svn-id: r55696
2011-01-31 22:45:51 +00:00
Sven Hesse
5c1e21818a GOB: o7_draw0xA4 has something to do with LBMs, though
svn-id: r55695
2011-01-31 21:02:13 +00:00
Sven Hesse
a3a51efa80 GOB: Actually, draw opcode 0x90 is loadImage
Not just loadLBM. The image can be a TGA, LBM, BRC, BMP or JPEG.

svn-id: r55694
2011-01-31 21:01:50 +00:00
Sven Hesse
1c1cfaf867 GOB: Set the language before opening the database
svn-id: r55693
2011-01-31 20:43:04 +00:00
Sven Hesse
a29282eefd GOB: Fix last updated month's range
svn-id: r55692
2011-01-31 20:42:41 +00:00
Sven Hesse
b874396219 GOB: o7_draw0x45 is o7_logString
svn-id: r55691
2011-01-31 20:42:16 +00:00
Arnaud Boutonné
1799c4f045 Hugo: Some cleanup
svn-id: r55690
2011-01-31 18:22:20 +00:00
Sven Hesse
250f5a97fa SCI: Add missing initializations
_resourceData, _imageStart, _audioStart and _audioLen

svn-id: r55689
2011-01-31 18:18:39 +00:00
Alyssa Milburn
309cb47572 MOHAWK: LB anim sound improvements.
The parent animation now keeps track of sounds, and animations don't
emit a done event while their sounds are still playing.

svn-id: r55688
2011-01-31 18:03:27 +00:00
Filippos Karapetis
4a07ae6829 SAGA: Simplified loadActorResources() and removed the unused _disabled field
svn-id: r55687
2011-01-31 16:11:49 +00:00
Filippos Karapetis
d45a2a97a3 TEENAGENT: Hopefully fixed an issue reported by Valgrind (found by digitall)
svn-id: r55686
2011-01-31 15:25:29 +00:00
Filippos Karapetis
fc02bd3722 DRASCULA: Fixed a warning
svn-id: r55685
2011-01-31 15:05:45 +00:00
Sven Hesse
7cb4b49db9 GOB: Fix a compiler warning
svn-id: r55684
2011-01-31 14:08:33 +00:00
Filippos Karapetis
dce4f404e6 SAGA: Fixed compilation with MSVC
svn-id: r55683
2011-01-31 14:05:47 +00:00
Sven Hesse
a8d62921c7 GOB: Fix text end positons for non-monospaced fonts
Fixes Adibou's recipices.

svn-id: r55682
2011-01-31 13:29:19 +00:00
Sven Hesse
9810ec1442 GOB: Make Font::_itemSize unsigned
This fixes a font drawing error in Adibou.

svn-id: r55681
2011-01-31 13:28:55 +00:00
Filippos Karapetis
7cc8d8d403 SAGA: Fixed compilation
svn-id: r55680
2011-01-31 12:01:24 +00:00
Filippos Karapetis
83d7ac7e1f SAGA: Fixed some typos, and removed an obsolete comment
svn-id: r55679
2011-01-31 11:45:24 +00:00
Filippos Karapetis
8bd7ace4d2 SAGA: Split the resource patching code into appropriate game-specific resource methods
svn-id: r55678
2011-01-31 11:40:40 +00:00
Filippos Karapetis
e0314f9ecd SAGA: Turned several unnecessarily inherited classes into typedefs
svn-id: r55677
2011-01-31 11:36:14 +00:00
Sven Hesse
b187551a01 GOB: Add support for dBase III files
Implementing o7_opendBase, o7_closedBase and o7_getDBString

svn-id: r55676
2011-01-31 10:49:43 +00:00