Commit Graph

45805 Commits

Author SHA1 Message Date
Max Horn
cf513e3ed6 SCUMM: Get rid of the unused Resource::_globSize field 2011-05-13 14:40:45 +02:00
Max Horn
749a1beb35 SCUMM: Remove useless allocateArrays call, and make sure all resources are properly killed upon restart 2011-05-13 14:39:34 +02:00
Max Horn
4108f09543 SCUMM: Make it clearer that SCUMM's 'restart' feature leaks like hell 2011-05-13 14:33:22 +02:00
Max Horn
65a82610d1 DEVTOOLS: Remove obsolete TeX mode from credits.pl, mention Credits.rtf 2011-05-13 14:30:56 +02:00
Max Horn
d63c2d17c2 SCUMM: Improve and document res tag sanity check 2011-05-13 14:26:35 +02:00
Max Horn
1faf89c524 SCUMM: Improve ResTypeData doxygen comments 2011-05-13 14:26:09 +02:00
Max Horn
45207a52d4 SCUMM: Remove ResTypeData::_num 2011-05-13 14:12:00 +02:00
Max Horn
dfd6112403 SCUMM: Rename resTypeFromId -> nameOfResType 2011-05-13 14:04:59 +02:00
Max Horn
649f8e0a84 SCUMM: Rename ResTypes->ResType, introduce ResId typedef, change code to use both 2011-05-13 14:02:53 +02:00
Max Horn
aaf2c0e6eb TSAGE: Fix warning when compiling in release mode 2011-05-13 11:47:13 +02:00
Max Horn
c02420df43 SCUMM: Add a Resource class, refactor res code around it 2011-05-13 11:47:13 +02:00
Max Horn
abaaf0cad9 SCUMM: Tweak sound res syncing 2011-05-13 11:47:12 +02:00
Max Horn
107e25ff5b SCUMM: Document resource usage count / expiry a little bit 2011-05-13 11:47:12 +02:00
Max Horn
ff3087e56c SCUMM: Remove obsolete TODO 2011-05-13 11:47:11 +02:00
Max Horn
82a6f2ee3c SCUMM: Rename ResTypeData::tag to _tag, get rid of ResTypeData::name 2011-05-13 11:47:11 +02:00
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