Commit Graph
3264 Commits
Author SHA1 Message Date
Johannes Schickel 44bc1bff06 SCUMM: Limit Indy4 Amiga specific code to that version. 2011-09-03 13:41:57 +02:00
Travis Howell fb41b96e96 SCUMM: setOffHeap uses resource status in HE90+ games. 2011-08-28 11:39:05 +10:00
Travis Howell b3457144ed SCUMM: Add basic support for setOffHeap resource flag in HE90+ games. 2011-08-28 10:40:23 +10:00
Johannes Schickel d0e64ce4a3 SCUMM: Properly prefix player_towns.h include with scumm/. 2011-08-27 19:58:36 +02:00
Johannes Schickel 003c16920c SCUMM: Also save first used color beyond 80 in Indy4 Amiga palette. 2011-08-27 19:57:45 +02:00
Johannes Schickel cd45d63e06 SCUMM: Added some comments about special colors in Indy4 Amiga. 2011-08-27 17:41:12 +02:00
Johannes Schickel f77fc07b6b SCUMM: Save Indy4 Amiga specific palettes like the original did.
For older saves I added a warning and a fallback which tries to setup
everything correctly. This might cause some issues, but should hopefully be
just fine.
2011-08-26 18:43:28 +02:00
Johannes Schickel ffc09f8647 SCUMM: Mark some more ScummEngine members Indy4 Amiga specific. 2011-08-26 18:36:44 +02:00
Johannes Schickel b4a17c702d SCUMM: Add some comments to our Indy4 Amiga verb palette handling.
We handle the verb palette map a bit different, since we use one 64 color
palette instead of two 32 color palettes for different screen areas.
2011-08-26 18:35:13 +02:00
Johannes Schickel e791f904ed SCUMM: Fix Indy4 Amiga cursor.
The original did not use the room nor verb palette map for the cursor, but
seems to use a custom palette. I now just changed the cursor to use the colors
from the DOS version of Indy4.

This is rather guesswork, but the original did always show a flashing color in
those colors instead of based on the screen colors.
2011-08-26 18:29:03 +02:00
Johannes Schickel cef09b345b SCUMM: Fix bug in Indy4 Amiga's implementation of darkenPalette. 2011-08-26 06:49:00 +02:00
Johannes Schickel 618d01c41c SCUMM: Fix some range checks in Indy4 Amiga palette code. 2011-08-26 06:35:46 +02:00
Johannes Schickel 4ea4172cba SCUMM: Implement proper Indy4 Amiga palette handling.
This should fix incorrect text colors in some scenes.
2011-08-26 05:54:47 +02:00
Willem Jan Palenstijn 48dd74dd6d SCUMM: Revert "Avoid calling malloc with new_size=0"
This reverts commit d6f7e59336, and
marks the issue with a FIXME. The problem is that it not only skips the malloc,
but also the other code in that block.
2011-08-22 10:24:26 +02:00
Willem Jan Palenstijn 4f748884bc Merge pull request #67 from chrisws/initial-bada-port-master
This is the initial implementation of the BADA port.
2011-08-22 08:57:06 +02:00
Johannes Schickel ae19be0628 SCUMM: Actually disable the setShadowPalette used in Indy4... 2011-08-21 22:07:17 +02:00
Johannes Schickel a07908a001 SCUMM: Fix typo in PC Speaker output. 2011-08-21 22:00:22 +02:00
Johannes Schickel 7ed005716c SCUMM: Disable setShadowPalette for Indy4 Amiga.
Like palManipulateInit the setShadowPalette function is a nullsub in the
original Amiga executable of Indy4.
2011-08-21 21:52:49 +02:00
Johannes Schickel bc6ed998a9 SCUMM: Fix for bug #3174197.
The bug is: "FOA: Wrong colors in the Amiga version".

In the original Indy4 Amiga executable palManipulateInit is a nullsub, thus
the palette effect set up by the scripts is just ignored.

The same might be true for other SCUMM Amiga games, but I can not check these
thus I limited this to Indy4 Amiga for now.
2011-08-21 18:52:29 +02:00
Chris Warren-Smith d6f7e59336 BADA: Avoid calling malloc with new_size=0 2011-08-21 16:38:18 +10:00
Johannes Schickel 59200bf426 SCUMM: Fix compilation when translation support is disabled.
For this I added a convenience version of getLanguageYesNo, which works on the
currently setup GUI translation language. All other code which requires this
acan also use it instead of having to worry about the USE_TRANSLATION and thus
having two code paths.
2011-08-20 19:36:54 +02:00
Eugene Sandulenko c577ff1b2a SCUMM: Fix typo in comment 2011-08-20 17:53:55 +01:00
Eugene Sandulenko 03d3b683d2 I18N: Added comments to some of obscure translatable strings 2011-08-20 15:11:47 +01:00
Eugene Sandulenko 4294c6c67a SCUMM: Added support for localization in Y/N dialog 2011-08-20 12:52:36 +01:00
Eugene Sandulenko ab8de3add5 SCUMM: Added translation support for V1 dialogs 2011-08-20 12:52:13 +01:00
Eugene Sandulenko 0e3c629ceb SCUMM: Added translation support to subtitle settings 2011-08-20 12:52:10 +01:00
Johannes Schickel 0d887aa245 SCUMM: Fix AdLib output in (MI2/)Indy4 Amiga.
Indy4 Amiga features only ROL tracks, thus with
69adb13c2f the MIDI -> AdLib conversion was
broken. Fixed that now by allowing ROL tracks to be played on AdLib output for
Amiga games.

This probably also affected Monkey Island 2 Amiga, but I don't have it to test.
2011-08-19 14:39:35 +02:00
Matthew Hoops ced79d8f29 SCUMM: Fix cursor palette in the HE80+ default cursor 2011-08-18 00:21:13 -04: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 8892f2ec70 SCUMM: Fix AdLib output for MI2/Indy4 Mac
A regression from 69adb13c2f
2011-08-16 10:44:20 -04: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
Johannes Schickel 74560278b2 SCUMM: Change CMS sfx methods to use its own register set.
This is now like in the original and helps comparing register writes against
DOSBox's behavior.
2011-08-10 00:00:12 +02:00
Johannes Schickel 37a34e6da2 SCUMM: Do not pack structs in CMS code. 2011-08-10 00:00:06 +02: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 dbceb0a77d SCUMM: Add some HE72 differences to mouse click handling
Backyard Soccer at least requires this to have input during gameplay.
2011-08-08 21:15:28 -04:00
Johannes Schickel fdb2f735dc SCUMM: Remove unneeded check for CMS in readSoundResource.
CMS support is only available in games using readSoundResourceSmallHeader.
2011-08-08 20:15:24 +02: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