Commit Graph
290 Commits
Author SHA1 Message Date
Eugene Sandulenko ff7e16dc2b o Added few targets
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and
    logos, so we may add them.
  * artdemo and readdemo also use Bink, but seems that additionally it uses
    them in cutscenes, but since there are just few of them, not like in
    full games, we may try to look at them too
  * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets
    to select from it but then fails at some Wiz stuff and there is no
    hotspots to choose. I think it may be related to overall HE99 problem
    with inventory where there is a bug preventing from item selection
o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it
o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it
o Alternative russian freddi3 uses badly formatted logo substitution in intro,
  so error() in default case in Gdi::drawBMAPBg() was replaced with warning().

svn-id: r16722
2005-02-02 00:32:02 +00:00
Eugene Sandulenko 66c524f0ee Add support for Humongous Mac titles in native format. Please test :)
svn-id: r16693
2005-01-29 17:58:47 +00:00
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn b93dd59a44 Reduce code size of resource.cpp to help PalmOS port, by moving util code to a new file util.cpp and sound resource code to sound.cpp
svn-id: r16105
2004-12-17 22:27:15 +00:00
Max Horn dce059eebf Reduce code duplication
svn-id: r15908
2004-11-27 13:10:41 +00:00
Max Horn d172111444 Don't use directory param of File::open unless you have to
svn-id: r15904
2004-11-27 02:26:21 +00:00
Chris Apers 2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Travis Howell 9531348692 _images not required.
Free extra HE resources on exit.

svn-id: r15605
2004-10-18 14:37:38 +00:00
Max Horn f52893217e Adjusted come comments
svn-id: r15447
2004-10-07 16:09:30 +00:00
Travis Howell 4364606894 Add some HE99 vars
Rename opcodes

svn-id: r15403
2004-10-04 02:23:02 +00:00
Travis Howell 9570bf38de Definately Palettes.
Update HE todo.

svn-id: r15369
2004-10-01 11:25:25 +00:00
Travis Howell a412809335 Oooops
svn-id: r15357
2004-09-30 09:37:46 +00:00
Travis Howell f3a06934fd Add some extra cases/opcodes for lost/smaller.
Add work around for paths

svn-id: r15356
2004-09-30 09:35:02 +00:00
Travis Howell 26225b1815 Actually always stored in index
svn-id: r15355
2004-09-30 07:26:21 +00:00
Travis Howell 0013beac55 roomVars rises to 256 is some HE games.
svn-id: r15353
2004-09-30 06:46:02 +00:00
Travis Howell d066b12eae Correction for roomImages
RMSC is room scripts.

svn-id: r15307
2004-09-27 10:25:45 +00:00
Eugene Sandulenko 64043ff1fc Removed some not necessary #defines which could (and did) lead to program
logic misinterpretation. I assume these were added for readability, but
 (a) names suggestet that they're class variables but they didn't
 (b) their use wasn't consistent, i.e. there were places where variables were
     used directly, not by means of the macros
 (c) they didn't save that much space because they are used in few places.

svn-id: r15179
2004-09-19 00:15:17 +00:00
Eugene Sandulenko 4869c2f9c1 Revert last commit by Fingolfin "removed _heV7RoomIntOffsets".
res.roomoffs[rtRoom] has a nick _roomFileOffsets (by means of #define), and
it gets overwritten in ScummEngine::readRoomsOffsets(). HE games actually
stored those offsets in additional array. Removing it breaks all
HE72+ games badly.

svn-id: r15178
2004-09-18 23:48:48 +00:00
Max Horn ce2c5a0d1d removed _heV7RoomIntOffsets
svn-id: r15176
2004-09-18 22:45:53 +00:00
Max Horn 768133d6e6 Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
svn-id: r15175
2004-09-18 22:42:45 +00:00
Travis Howell d34da28ed9 nukeArrays still nuking wrong arrays.
Add some more differences in later HE versions.
Add HE opcodes changes.

svn-id: r15145
2004-09-17 05:43:37 +00:00
Travis Howell 5ff185d7f8 Correct local script range in HE99+
svn-id: r15134
2004-09-16 09:20:49 +00:00
Travis Howell d662863db1 Lower debug level
svn-id: r14957
2004-09-08 07:10:43 +00:00
Travis Howell fc60379b21 Caused crash.
svn-id: r14956
2004-09-08 06:46:52 +00:00
Travis Howell c9a4f23e51 No shadow palette in later games.
svn-id: r14955
2004-09-08 06:38:31 +00:00
Travis Howell 8d6e15b34a Verified values.
No extra object data in later HE games.

svn-id: r14954
2004-09-08 06:35:38 +00:00
Travis Howell 6b0b39c7d6 Add extra index types.
Remove duplicate code.

svn-id: r14953
2004-09-08 05:58:36 +00:00
Travis Howell 5532f83a56 Load talkie block
svn-id: r14945
2004-09-07 13:23:26 +00:00
Jonathan Gray 67498a174b add some he c++ engine related changes. For some reason the cpp versions of spydemo and timedemo aren't getting _heversion set correctly
svn-id: r14940
2004-09-07 12:54:41 +00:00
Travis Howell c6e0afadf0 Add index for HE C++ games.
Enable all HE games again.

svn-id: r14939
2004-09-07 12:21:54 +00:00
Travis Howell a8a75eb009 HE games should check _numSounds to check whether sound type is music.
Set maximum resource idx at 8000 for now, some HE games include huge amounts of sound resources.

svn-id: r14859
2004-09-02 03:54:29 +00:00
Travis Howell 704ad7f63b Correct resource value, to match original.
Adjust rtLast

svn-id: r14833
2004-08-30 00:10:36 +00:00
Travis Howell cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +00:00
Travis Howell 0f71f50d37 Sound change for later HE 7.x games
Revert cursor change, later games have no .he3 file.
Add some stubs/opcodes
Later HE games use hard code value for _numRoomVariables

svn-id: r14808
2004-08-28 09:19:53 +00:00
Travis Howell 22fb004e20 akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes

svn-id: r14799
2004-08-28 03:18:52 +00:00
Eugene Sandulenko eb7671f0a7 Add another variable which improves readability.
svn-id: r14791
2004-08-26 23:30:28 +00:00
Travis Howell 3b7d3120c1 Add var difference in later HE games
svn-id: r14789
2004-08-26 23:15:39 +00:00
Jonathan Gray 30c31c9cb0 make more he titles get to boot scripts
svn-id: r14780
2004-08-26 14:35:38 +00:00
Jonathan Gray 3d8ef64d39 allocate memory for dobj in he 90, point games claiming to be 90 at 72he class
svn-id: r14777
2004-08-26 14:07:19 +00:00
Travis Howell 8e2e48e40c Add some stubs for HE 7.2
Fix warning
Add music support for later HE 7.2 games

svn-id: r14761
2004-08-26 06:08:41 +00:00
Travis Howell 4bdbd79690 Don't skip arrayindex in HE 7.2 games
svn-id: r14741
2004-08-25 06:58:30 +00:00
Eugene Sandulenko d3727e1c2a HE 7.2 uses different array headers. they introduced start indexes, so it
became in somewhat Pascal fashion, i.e. array[2..3][10..20]. So I had to
override ArrayHeader function in ScummEngine_v72he.

Also there is new array type kDwordArray. So that is implemented as well.

Though, not everything yet transferred to use new ArrayHeader, so running
HE 7.2 titles is risky now.

Some opcodes were implemented along the way.

svn-id: r14735
2004-08-25 02:12:03 +00:00
Travis Howell 07eb3f50f9 Correct bug in array loading from index.
A few changes/corrections for HE 7.2

svn-id: r14724
2004-08-24 05:04:14 +00:00
Travis Howell deeadc97fa Resource corrections
svn-id: r14723
2004-08-24 02:02:56 +00:00
Travis Howell a5ebe93bc7 Correct value
svn-id: r14717
2004-08-23 11:47:51 +00:00
Travis Howell dd20c05db5 Adjust max resource type
svn-id: r14716
2004-08-23 11:44:29 +00:00
Travis Howell f362bad646 Corrections
svn-id: r14715
2004-08-23 11:28:28 +00:00
Travis Howell bbfe489e9f More changes for He 7.2 games
Might need HE7.2 class eventually

svn-id: r14704
2004-08-23 08:41:23 +00:00
Jonathan Gray 5f3009d7d0 note existance of DISK index block found in f4-demo
svn-id: r14702
2004-08-23 08:35:35 +00:00
Travis Howell c7b0f20269 Correction
svn-id: r14700
2004-08-23 07:10:16 +00:00