Commit Graph

43810 Commits

Author SHA1 Message Date
Filippos Karapetis
38444a3712 SCI: updated comments concerning robot videos
svn-id: r55757
2011-02-03 18:24:55 +00:00
Filippos Karapetis
e1cea3b879 SCI: Robot related changes
- Reverted accidental changes in r55752, and moved all the deletion code in freeData()
again
- Now skipping v6 videos (in SCI3), instead of throwing an error

svn-id: r55756
2011-02-03 18:18:36 +00:00
Matthew Hoops
be1f62af23 SCI: Add a stub for kFont which calls kSetFontRes as a subop
svn-id: r55755
2011-02-03 18:07:47 +00:00
Matthew Hoops
4d088332a2 SCI: Add support for GK1 Mac high-res fonts
svn-id: r55754
2011-02-03 15:51:51 +00:00
Filippos Karapetis
c4861605df SCI: Fix a typo, the interpreter can handle robot video versions 3 - 5
svn-id: r55753
2011-02-03 14:44:58 +00:00
Filippos Karapetis
74caf6cd71 SCI21: Some robot related changes
- Don't reallocate the frame buffer on each update if its dimensions haven't changed
- Don't attempt to display the currently unsupported v4 robot files (used in PQ:SWAT)
- Signed/unsigned fixes
- Disabled the unused getFrameRect() function
- Some cleanup and reordering

svn-id: r55752
2011-02-03 14:37:50 +00:00
Matthew Hoops
496ca9a669 SCI: Fix KQ6 Mac audio resources
A regression from r55715

svn-id: r55751
2011-02-03 12:42:52 +00:00
Matthew Hoops
7c3d65912d SCI: Fix GK1 Mac messages
svn-id: r55750
2011-02-03 05:10:24 +00:00
Matthew Hoops
4088e735a9 SCI: Properly reset the array/string segment ids
svn-id: r55749
2011-02-03 04:06:22 +00:00
Matthew Hoops
4c0af01d6a SCI: Disable the special QFG1 Mac icon bar
The original interpreter completely ignores it in favor of the regular one.

svn-id: r55748
2011-02-03 02:26:57 +00:00
David Turner
9e761d6f29 TOON: Switched configure script to build Toon Engine by default.
Needed to allow Toonstruck playtesting with daily builds.

svn-id: r55747
2011-02-03 01:47:41 +00:00
Filippos Karapetis
9b8c04045b MIDI: Fix for bug - "MONKEY2: Messed up MT-32 music"
This is a regression from r55256. Apparently, SCUMM has issues when sending a sustain
off on a notes off event. Thus, this has been turned into a feature, which is disabled
by default. Since MADE, SAGA and tinsel all share the same music code and play regular
MIDI files, and this feature fixes hanging notes for them, it has been enabled for them.
Also, applied a patch for a bug regarding the notes off event in MADE and tinsel,
which has been applied in SAGA already

svn-id: r55746
2011-02-02 23:27:59 +00:00
David Turner
149082c9e9 N64: Fix Signed to Unsigned Comparison GCC Warning.
svn-id: r55745
2011-02-02 23:22:45 +00:00
Matthew Hoops
c62e507890 SCI: Fix GK1 Mac scaling
svn-id: r55744
2011-02-02 22:29:14 +00:00
David Turner
cf39749dcb IPHONE: Fix Unsigned to Signed Comparison Compiler Warning.
svn-id: r55743
2011-02-02 22:26:05 +00:00
Filippos Karapetis
2f08dcb667 GRAPHICS: Fixed a bug with indexed PNGs in the PNG decoder (a byte can't hold 256 entries)
svn-id: r55742
2011-02-02 21:18:10 +00:00
Arnaud Boutonné
4263549536 HUGO: 'Constify' engine as much as possible
svn-id: r55741
2011-02-02 21:12:51 +00:00
Lars Skovlund
441c5e0211 SCI: Fix memory leaks in GfxRobot
svn-id: r55740
2011-02-02 21:05:38 +00:00
Sven Hesse
b9b8b4d3eb GOB: Oops, set the correct opcode :P
svn-id: r55739
2011-02-02 19:56:24 +00:00
Sven Hesse
c3e7b03b46 GOB: Add o7_findCDFile
Stubbing that for now

svn-id: r55738
2011-02-02 19:53:22 +00:00
Sven Hesse
c1967c1a0a GOB: Add o7_gob0x201
svn-id: r55737
2011-02-02 19:52:47 +00:00
Filippos Karapetis
832cfddf34 SWORD25: Cache related changes
- Increase the resource cache limits
- Added a check before forcing resources to be freed
- Only force free image and animation resources, with a warning. It seems like there is
a bug in the resource reference code and several bitmap resources are not freed - added
a FIXME
- Clarify that initializeAnimationResource() is used with XML resources

svn-id: r55736
2011-02-02 19:32:04 +00:00
Sven Hesse
1d38568bc1 GOB: Fix detection of JPEG images
Thanks, clone :P

svn-id: r55735
2011-02-02 17:28:28 +00:00
Sven Hesse
fed0adacb7 GOB: Close the just ended live video, not the first one
svn-id: r55734
2011-02-02 17:03:14 +00:00
Sven Hesse
3d0edd71c9 GOB: Implement o7_loadLBMPalette
svn-id: r55733
2011-02-02 16:51:31 +00:00
Sven Hesse
63c6d4432c GOB: Implement LBM loading
svn-id: r55732
2011-02-02 16:50:57 +00:00
Sven Hesse
729be647a0 GOB: o7_draw0xA4 is o7_loadLBMPalette
Stubbing that one for now.

svn-id: r55731
2011-02-02 16:50:23 +00:00
Sven Hesse
b9b7b449b9 GOB: Stub o7_loadImage further
svn-id: r55730
2011-02-02 16:49:49 +00:00
Sven Hesse
812680d187 GOB: Rename Draw::kSpritesCount to Draw::kSpriteCount
svn-id: r55729
2011-02-02 16:49:20 +00:00
Sven Hesse
113d5a5a9a GOB: Make flags optional in Video::initSurfDesc
svn-id: r55728
2011-02-02 16:48:46 +00:00
Sven Hesse
076b9c9e53 GOB: Remove the vidMode parameter from Video::initSurfDesc
svn-id: r55727
2011-02-02 16:48:04 +00:00
Filippos Karapetis
e6f2f7e615 GRAPHICS: Updated the copyright information regarding LodePNG. Removed the obsolete reference to ysflight, as no code is actually used from or based on that project
svn-id: r55726
2011-02-02 16:40:39 +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