45840 Commits

Author SHA1 Message Date
Max Horn
0342ab3f1b SCUMM: Rename ResTypeData::num to _num 2011-05-13 11:47:11 +02:00
Max Horn
75b9deb185 SCUMM: Get rid of the MemBlkHeader hack
This uncovered at least one potentially serious bug in the inventory
code, which still needs to be investigated and fixed.
2011-05-13 11:47:10 +02:00
Max Horn
0af2f71c71 SCUMM: Clean up ResourceManager initialization 2011-05-13 11:47:10 +02:00
Max Horn
7be0305da9 SCUMM: Rename saveLoadResource to loadResourceOLD, remove unused save code in it 2011-05-13 11:47:09 +02:00
Max Horn
26efa39d2c SCUMM: Document and cleanup resource type mode 2011-05-13 11:47:09 +02:00
Max Horn
45e65d7ea0 SCUMM: Refactor how resource (types) are srepresented
Previously, we had a couple of arrays of size N (where N = number of
resource types), one for each attribute of a resource type (such as as
the number of resources of that type.

Now, we have one array of size N, whose elements are a record
aggregating all the attributes of each resource type.
2011-05-13 11:47:08 +02:00
Max Horn
b37463fe59 SCUMM: Move class ResourceManager to its own header 2011-05-13 11:47:08 +02:00
Max Horn
7773a17b0a SCUMM: Unify & extend index block related debug messages 2011-05-13 11:47:08 +02:00
Max Horn
f05de5228f SCUMM: Print SCUMM & HE version when starting a game in deug mode 2011-05-13 11:47:07 +02:00
Max Horn
068b4a5351 SCUMM: Move tmsk code into its own Gdi subclass 2011-05-13 11:47:07 +02:00
md5
c9cef5e971 SCI: Marked the sanity check inside processWorkList() as a workaround
The sanity check added in rev #35086fe17c fixes the crashes with that
code when an invalid reference is about to be processed, but these
references shouldn't be in the stack at all in the first place, so the
root cause seems to be somewhere else.
2011-05-13 00:15:41 +03:00
md5
a3c6439a1a SCI: Added workarounds for bug #3292251, instead of patching the script
This fixes bug #3295853
2011-05-13 00:10:44 +03:00
Bastien Bouclet
4f5ecc4861 MOHAWK: Implement Mechanical opcodes 101, 103 and 202. Singing Bird. 2011-05-12 20:53:53 +02:00
md5
35086fe17c SCI: Fixed bugs #3299458 and #3295849 2011-05-12 12:52:12 +03:00
Tarek Soliman
33b1ca2b08 SCI: Fix signature of script patch qfg3DialogCrash (bug #3300241) 2011-05-12 09:33:40 +02:00
md5
3b75ff9132 SCI: Added a warning for SCI0 games like in bug #3297881
LB1 Amiga doesn't contain MT-32 music tracks. Added a warning for this
situation
2011-05-12 04:34:20 +03:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Littleboy
7cc965d24b CREATE_PROJECT: Only copy necessary data files in postbuild script 2011-05-11 18:13:22 -04:00
Littleboy
3cb7d4b1cc NSIS: Add option to not include data files in the installer (they are now included in the exe by default) 2011-05-11 17:58:29 -04:00
Littleboy
217089adfa CONFIGURE: Fix creation of the NSIS installer when building out of tree 2011-05-11 17:54:34 -04:00
Littleboy
b38d965fdf LASTEXPRESS: Implement last part of inventory handling 2011-05-11 14:20:46 -04:00
Paul Gilbert
82dd68093a TSAGE: Don't show cursor after restoring a game if a cut-scene is now active 2011-05-11 23:06:10 +10:00
Paul Gilbert
0c3c0f2121 TSAGE: Added missing code for loading scene regions in the CD/FW versions of the game 2011-05-11 23:01:15 +10:00
Paul Gilbert
bfc9414487 TSAGE: Bugfix to show cursor after restoring a savegame 2011-05-11 21:58:11 +10:00
Paul Gilbert
5e4b20b3d7 TSAGE: Bugfix for Flesh-eaters moving too fast in Scene #5100 2011-05-11 21:32:52 +10:00
Paul Gilbert
f88acd489d TSAGE: Completely remove the resetting of _scrollFollower. It needs to be maintained between scenes 2011-05-11 21:11:11 +10:00
Paul Gilbert
0639e98df5 TSAGE: Fix animation of Quinn and Seeker approaching cave in Scene #5000 2011-05-11 21:06:12 +10:00
Paul Gilbert
2b112a9c58 TSAGE: Rework parts of the cursor code to better match the original
This also fixes the problem with the cursor appearing in cutscenes when you press any key
2011-05-11 20:28:30 +10:00
Paul Gilbert
e448ad0f5d TSAGE: Further fix for resetting _scrollFollower 2011-05-11 19:13:16 +10:00
Paul Gilbert
3cbbd5cfac TSAGE: Reset the Globals::_scrollFollower to NULL when a scene ends 2011-05-11 19:09:55 +10:00
Littleboy
33c3e19cea LASTEXPRESS: Implement item selection and scene loading 2011-05-10 19:18:32 -04:00
Littleboy
2bc865f01a LASTEXPRESS: Implement highlight of inventory items 2011-05-10 19:18:30 -04:00
Littleboy
8d4622d70d LASTEXPRESS: Draw portrait non-highlighted in Inventory::show() 2011-05-10 19:18:29 -04:00
Littleboy
3088acf69a LASTEXPRESS: Add button pressed state for inventory handling 2011-05-10 19:18:26 -04:00
Littleboy
1516ba7367 LASTEXPRESS: Implement skeleton code for selected item and inventory selection 2011-05-10 19:18:22 -04:00
strangerke
9b896e473e TSAGE: Fix a glitch in setCursor() 2011-05-10 23:51:20 +02:00
Max Horn
9511af6682 COMMON: Always prefer GCC 4.x versions of READ_UINT*/WRITE_UINT*
In addition, we use them if in GCC >= 3.3 if unaligned access is
possible. The GCC variants of these macros also contain protection
against overzealous compilers' static aliasing optimizations.
2011-05-10 15:38:18 +02:00
Paul Gilbert
5bf8a0bf84 TSAGE: Adjusted scaling process to fix scaling image to a 1x1 pixel in Scene #7600 2011-05-10 22:56:53 +10:00
Max Horn
b8d858a00b TINSEL: Cleanup reel saving code 2011-05-10 14:43:54 +02:00
Max Horn
43ca9c86ab TINSEL: Remove unnecessary casts 2011-05-10 14:43:53 +02:00
Max Horn
b22ca4ffe8 AUDIO: Change byte data tables to type AdLibInstrument 2011-05-10 14:43:53 +02:00
Paul Gilbert
26aca5ac43 TSAGE: Standardised on checks for showing the Save and Restore dialogs 2011-05-10 22:38:05 +10:00
Paul Gilbert
2e34747712 TSAGE: Further tweaks to movement in Scene #6100 2011-05-10 21:49:32 +10:00
Paul Gilbert
ef282206b0 TSAGE: Tweaked mouse movement in Scene #6100 when mouse is in the centre of the screen 2011-05-10 20:50:40 +10:00
Max Horn
8754c86686 COMMON: Refactor typedefs a bit 2011-05-10 11:02:08 +02:00
Max Horn
76780268f2 COMMON: Refactor scummsys.h 2011-05-09 16:23:22 +02:00
Max Horn
3920cfe69e COMMON: Do not #undef _MSC_VER 2011-05-09 16:23:22 +02:00
Max Horn
49ab6d0289 COMMON: If config.h is present, don't use hardcoded settings from scummsys.h 2011-05-09 16:23:22 +02:00
Max Horn
dfff22e56b COMMON: Unify definition of scumm_str(n)icmp 2011-05-09 16:23:22 +02:00
Max Horn
6eba8e8292 N64: Fix code formatting 2011-05-09 16:23:21 +02:00