Commit Graph

468 Commits

Author SHA1 Message Date
Matthew Hoops
4595b75d24 SCUMM: Add support for the mustard mac map file 2011-12-03 15:54:30 -05:00
Matthew Hoops
712100b77e SCUMM: Add support for Putt-Putt Saves the Zoo iOS 2011-11-27 20:13:03 -05:00
Johannes Schickel
09708f7224 SCUMM: Stream sfx/voice sounds from mouster.sou.
This fixes sound corruption when using the new VOC streaming code. It also
reduces the runtime memory needed for compressed sound files slightly, since
it does not preload them into memory anymore. This comes at the expense of one
file descriptor needed per sfx being played though.

Thanks to Kirben for his review and feedback.
2011-11-06 13:33:55 +01:00
Alyssa Milburn
63aa0ef6f3 SCUMM: Initialize Sprite fields in constructor.
This fixes a crash when HE games return from init() early due to the
required color mode not being available.
2011-10-25 10:51:31 +02:00
Johannes Schickel
6fe7b020a8 SCUMM: Made some static data const. 2011-09-08 20:13:13 +02:00
Travis Howell
b3457144ed SCUMM: Add basic support for setOffHeap resource flag in HE90+ games. 2011-08-28 10:40:23 +10:00
Sven Hesse
440ff92e0c SCUMM: Hopefully fix DS compilation 2011-08-18 05:42:48 +02:00
Alyssa Milburn
ae287ccee5 Merge remote-tracking branch 'origin/master' into soccer
Conflicts:
	engines/scumm/he/logic_he.cpp
	engines/scumm/he/logic_he.h
2011-08-17 09:28:51 +02:00
Matthew Hoops
f5255288ea SCUMM: Split HE logic classes to their own files 2011-08-17 09:12:19 +02:00
Alyssa Milburn
9fd46049de SCUMM: Mass-comment/rename/simplify the soccer u32 code. 2011-08-17 00:03:49 +02:00
Alyssa Milburn
23dce51605 SCUMM: Fix cross product call in soccer u32 code.
Thanks to wjp and clone2727 for staring at this with me.
2011-08-16 23:37:26 +02:00
Matthew Hoops
111d70af7d SCUMM: Make the default cursor for all v80+ games be the Windows cursor 2011-08-16 02:47:23 -04:00
Matthew Hoops
310bd54e64 SCUMM: Set the default moonbase cursor to be the default Windows cursor 2011-08-16 01:23:02 -04:00
Matthew Hoops
c109a60a92 SCUMM: Implement basic basketball court data parsing 2011-08-12 16:41:48 -04:00
Matthew Hoops
26befa4b40 SCUMM: Implement basketball u32 op 1012
The game no longer divides by zero when starting a match and the court is now visible.
2011-08-12 09:29:37 -04:00
Matthew Hoops
a9345c0cc3 SCUMM: Remove unused soccer u32 code 2011-08-10 10:12:56 -04:00
Matthew Hoops
acb0a36b6e Merge remote branch 'upstream/master' into soccer 2011-08-09 16:26:25 -04:00
Matthew Hoops
b087acd793 SCUMM: Fix bug in soccer u32 op_1014_sub3 2011-08-09 16:25:57 -04:00
Travis Howell
05c0c8e98b SCUMM: Backyard Soccer 2004 uses a different INI setting to disable printing. 2011-08-09 11:46:50 +10:00
Matthew Hoops
677aa78370 Merge remote branch 'upstream/master' into soccer 2011-08-08 21:36:50 -04:00
Matthew Hoops
9c52724ce5 SCUMM: Fix another original soccer u32 difference
Soccer is slightly more playable, but clicking does nothing most of the time.
2011-08-08 00:59:09 -04:00
Travis Howell
99d5087918 SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini. 2011-08-08 14:46:12 +10:00
Travis Howell
c87ff89b4a SCUMM: Update stub in arrayOps for Moonbase Commander. 2011-08-08 13:50:47 +10:00
Travis Howell
905e9bc3ed SCUMM: Add sprite code difference in Moonbase Commander. 2011-08-08 11:41:06 +10:00
Matthew Hoops
c05c42ecc6 Merge remote branch 'upstream/master' into soccer 2011-08-07 20:11:27 -04:00
Travis Howell
45dc303159 SCUMM: Fix endian issue in captureWizPolygon. 2011-08-08 09:48:31 +10:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Matthew Hoops
e43a6671fc SCUMM: Fix some soccer u32 code in op_1011
Spotted by fuzzie
2011-08-06 15:54:11 -04:00
Matthew Hoops
605473d117 SCUMM: Add a few more notes to soccer u32 code 2011-08-06 13:08:56 -04:00
Matthew Hoops
6528f902fc SCUMM: Remove soccer editor-related u32 code
The built-in editor, while could potentially be a cool feature, seems incomplete and unusable. Room 4 (the editor room) in all three games is not accessible without jumping to it.
2011-08-06 13:02:43 -04:00
Matthew Hoops
bf841e1e94 SCUMM: Fix a few more bugs in soccer u32 op_1014_sub1
Thanks to fuzzie
2011-08-05 13:03:08 -04:00
Matthew Hoops
68f07efa95 SCUMM: Fix another typo in soccer u32 op_1014_sub1 2011-08-05 11:46:21 -04:00
Matthew Hoops
2b92f6df0f SCUMM: Fix minor logic bug in soccer u32 op_1014
Spotted by fuzzie
2011-08-05 11:29:06 -04:00
Matthew Hoops
3b3ab9a502 SCUMM: Add note to soccer u32 op_1011 about cursor scaling 2011-08-05 09:23:18 -04:00
Matthew Hoops
51fc76acd4 SCUMM: Add notes on the unused soccer u32 opcodes
Might be nice to implement the soccer editor one day in the future, but it's definitely a secondary goal. In fact, I'm not even sure how to access it yet other than jumping to the room (4).
2011-08-04 11:02:11 -04:00
Matthew Hoops
2ea594de83 SCUMM: Fix shadows in soccer
Spotted by fuzzie
2011-08-03 11:57:18 -04:00
Matthew Hoops
a160179f37 SCUMM: Fix remaining soccer u32 op_1007 bugs
Thanks to fuzzie for snooping that one out.

The field boundaries now work correctly. SoccerMLS/Soccer2004 only are missing proper shadow support now. The original soccer is still having problems with clicking on the field.
2011-08-03 11:14:52 -04:00
Matthew Hoops
c36642651e SCUMM: Remove BluesBirthday dependency on the binary
The game scripts detected Yellow or Red variants based on what binary was present. That could potentially cause problems with a Mac dump in case someone dumped into MacBinary format.
2011-08-03 00:15:27 -04:00
Matthew Hoops
743ed0517b SCUMM: Implement soccer u32 op_1017
Used sporadically during gameplay
2011-08-02 16:57:44 -04:00
Matthew Hoops
6d6192b9f7 SCUMM: Fix soccer u32 op_1007 atan2 calls
The games are now becoming playable. Players and the ball appear on the field. However they go off the field at times and shadows do not work properly yet. It's progress though!

Thanks to fuzzie for spotting
2011-08-02 16:45:17 -04:00
Matthew Hoops
6d5d5f8269 SCUMM: Fix some more soccer u32 logic bugs
The camera now pans correctly. The players/ball have yet to reappear on the field, however. Thanks to fuzzie for spotting
2011-08-02 16:11:29 -04:00
Matthew Hoops
42c359a879 SCUMM: Fix op_1011 parameters 2011-08-02 14:38:02 -04:00
Matthew Hoops
96307dc2d8 SCUMM: Implement soccer u32 op_1016
Used when a goal is scored
2011-08-02 13:49:00 -04:00
Matthew Hoops
6a31b57d39 SCUMM: Fix more bugs in soccer u32 spotted by fuzzie 2011-08-02 13:35:25 -04:00
Matthew Hoops
b609004ba2 SCUMM: Fix several soccer u32 logic bugs
Spotted by fuzzie
2011-08-02 11:39:04 -04:00
Matthew Hoops
8259365f1f SCUMM: Add code for remaining soccer u32 opcodes
While it should be complete now, it doesn't quite work properly yet. I need to go back through and double-check everything to make sure I got it right.
2011-07-31 22:41:09 -04:00
Matthew Hoops
a50abde1b1 BUILD: Allow for disabling Bink support 2011-07-13 12:08:26 -04:00
Matthew Hoops
9374215789 SCUMM: Add support for Bink video 2011-07-02 16:37:41 -04:00
Matthew Hoops
666d3815ec SCUMM: Don't have MoviePlayer inherit from SmackerDecoder 2011-07-02 14:55:36 -04:00
Matthew Hoops
f7efd3fe2a SCUMM: Remove backslashes from Mac file names too
Fixes Smacker videos in Blue's Birthday
2011-07-02 14:55:05 -04:00