Commit Graph

4473 Commits

Author SHA1 Message Date
Travis Howell
2b5c7c37b6 Clean up
svn-id: r14824
2004-08-29 03:19:44 +00:00
Travis Howell
8c8ed39b05 Add HE 7.2 differences
svn-id: r14823
2004-08-29 03:19:09 +00:00
Travis Howell
4d4dd4fe02 Add some charset codes for HE 7.2 gasmes
Later HE 7.2 games use hard coded sound rate for speech (Rate never changes anyway)

svn-id: r14822
2004-08-29 01:24:17 +00:00
Max Horn
c749061405 Reduced warning to the case which actually might be broken...
svn-id: r14821
2004-08-29 00:15:36 +00:00
Travis Howell
8198af44a2 Small correction for code c025
svn-id: r14820
2004-08-28 15:09:54 +00:00
Max Horn
4fea28887e cleanup
svn-id: r14818
2004-08-28 14:48:51 +00:00
Max Horn
3e75807fa8 more cleanup
svn-id: r14816
2004-08-28 14:33:34 +00:00
Max Horn
13356dfa17 Reduce code duplication
svn-id: r14815
2004-08-28 14:19:56 +00:00
Max Horn
98bcae943d Cleaning up code a bit while trying to understand it...
svn-id: r14814
2004-08-28 14:06:36 +00:00
Travis Howell
b0be0f0452 Revert last change, was wrong opcode.
Add a few more HE 7 opcodes

svn-id: r14813
2004-08-28 14:05:33 +00:00
Max Horn
0e203f6ccd Fix for bug #1015941 (COMI: There's only background behind dialogue lines)
svn-id: r14812
2004-08-28 13:30:59 +00:00
Travis Howell
3d7955dab7 Need throughout puttmoon
svn-id: r14811
2004-08-28 12:01:28 +00:00
Travis Howell
d552e6d8ea Add stub
svn-id: r14810
2004-08-28 11:01:01 +00:00
Travis Howell
1c390ece72 Add other version of puttzoo
svn-id: r14809
2004-08-28 10:20:02 +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
51c1ca442e akos code C025 is almost the same as complex_channel
svn-id: r14807
2004-08-28 08:02:28 +00:00
Travis Howell
d1a5cd802e Should redraw too.
svn-id: r14806
2004-08-28 07:20:04 +00:00
Travis Howell
0dd52d351b Add missing case
svn-id: r14805
2004-08-28 07:14:14 +00:00
Travis Howell
75fd690c20 Safety check
svn-id: r14804
2004-08-28 04:34:34 +00:00
Travis Howell
4c732d15c6 Limit nukeArrays to only location thats requires it for now.
svn-id: r14803
2004-08-28 04:14:33 +00:00
Travis Howell
dc7c03029d Update HE games
Update HE game issues/todo
Disable opcode E4 (Specific to fbear and has no benefit so far)

svn-id: r14802
2004-08-28 04:02:49 +00:00
Travis Howell
26ff4a2b70 *** empty log message ***
svn-id: r14801
2004-08-28 03:25:13 +00:00
Travis Howell
09b3b6cb57 Remove left overs
svn-id: r14800
2004-08-28 03:24:29 +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
Max Horn
13b6cf7c67 Added support for ImageHeader version 800, used by the COMI demo (inspired by cyx' work, see RFE #690559: support comi demo)
svn-id: r14798
2004-08-27 23:50:45 +00:00
Travis Howell
1d8c4794bf HE 7.2 games use difference charset codes, skip for now.
svn-id: r14797
2004-08-27 13:10:22 +00:00
Travis Howell
4aeb595967 Applies to all HE 7.0+ games
svn-id: r14796
2004-08-27 12:56:01 +00:00
Travis Howell
c89bfad61d Correct music skip value for HE 7.2
Play TALK sounds

svn-id: r14792
2004-08-27 00:08:43 +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
Travis Howell
4075398e6c Original games always used screen height instead of pop() value.
svn-id: r14783
2004-08-26 15:39:24 +00:00
Travis Howell
e54006b5b8 Fix height
svn-id: r14782
2004-08-26 15:33:51 +00:00
Travis Howell
8a9fa534b8 Add another HE 7.2 opcode
svn-id: r14781
2004-08-26 14:56:10 +00:00
Jonathan Gray
30c31c9cb0 make more he titles get to boot scripts
svn-id: r14780
2004-08-26 14:35:38 +00:00
Travis Howell
f6eae9d1a1 Update akos error messages
Add proper timer opcodes
Up some debug msgs.

svn-id: r14779
2004-08-26 14:28:42 +00:00
Travis Howell
5805529c2c c & p error
svn-id: r14778
2004-08-26 14:09:51 +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
Jonathan Gray
a6da84d0c6 catalog2 also needs pajama gid
svn-id: r14774
2004-08-26 12:35:17 +00:00
Travis Howell
3377ea476c Change title
svn-id: r14773
2004-08-26 12:27:20 +00:00
Travis Howell
1edf055385 *** empty log message ***
svn-id: r14772
2004-08-26 12:25:14 +00:00
Travis Howell
5072ee6c2f balloon/dog seem to be HE 7.2 too.
svn-id: r14771
2004-08-26 12:17:10 +00:00
Travis Howell
a124e88ec0 Correction version
svn-id: r14770
2004-08-26 12:13:54 +00:00
Travis Howell
ce56e0d517 Added stub
svn-id: r14769
2004-08-26 12:06:08 +00:00
Jonathan Gray
61bf875b33 farm also has similiar actor requirements to pajama so change the gid, also add smaller target while here
svn-id: r14768
2004-08-26 11:44:08 +00:00
Travis Howell
6384093878 HE 7.2 games use @ as charset code
Small sound fix

svn-id: r14767
2004-08-26 10:51:11 +00:00
Travis Howell
79fb54ba29 Remove leftovers
svn-id: r14766
2004-08-26 09:50:44 +00:00
Travis Howell
fe59c97cc8 socks used 62 actors too.
svn-id: r14765
2004-08-26 08:52:12 +00:00
Travis Howell
b1d8b144ba More code/stubs for HE 7.2 games
Add another temp hack
Add id for water, uses more actors
Another small correction to music playback for HE 7.2 games

svn-id: r14764
2004-08-26 08:47:07 +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
Eugene Sandulenko
68d35856c0 Fix bugs in decompressBMAPbg. It appeared to be similiar to
decodestripHE. Now it works.

svn-id: r14760
2004-08-26 03:21:33 +00:00
Eugene Sandulenko
70dbcaf9da Added initial support for BMAP resources of HE 7.2 games. Doesn't work
correctly yet.

svn-id: r14759
2004-08-26 02:47:49 +00:00
Travis Howell
0d8488d605 Add game id for Pajama Sam, since it uses different amount of actors
svn-id: r14758
2004-08-26 00:44:49 +00:00
Max Horn
09e07912d0 Support Mac DOTT straight from the disk (note: those fooMac targets may be removed again in the near future)
svn-id: r14757
2004-08-26 00:35:32 +00:00
Travis Howell
468404ab33 Add some file opcode difference for HE 7.2
svn-id: r14752
2004-08-25 12:48:47 +00:00
Eugene Sandulenko
daa7d32b75 Revert back proper array bounds checks in readArray/writeArray
Fix type in redimArray

svn-id: r14751
2004-08-25 11:34:28 +00:00
Travis Howell
34b7c1a31f Add case for HE 7.2 games
svn-id: r14750
2004-08-25 11:20:33 +00:00
Travis Howell
742e023e85 Add a few cases for later games.
svn-id: r14749
2004-08-25 11:17:16 +00:00
Travis Howell
e5855ab0a9 Add missing break
svn-id: r14748
2004-08-25 08:54:43 +00:00
Travis Howell
c6a9167362 Rename var/opcode
Add missing breaks

svn-id: r14747
2004-08-25 08:49:34 +00:00
Jonathan Gray
a8a53b1e54 casts to avoid gcc warnings
svn-id: r14746
2004-08-25 07:30:05 +00:00
Travis Howell
057ea5cba8 Fix compile
svn-id: r14745
2004-08-25 07:23:48 +00:00
Travis Howell
d0ebee2517 Add stub
svn-id: r14744
2004-08-25 07:18:18 +00:00
Travis Howell
f249e3e508 No mainmenu variable in HE 7.2
svn-id: r14743
2004-08-25 07:10:12 +00:00
Paweł Kołodziejski
5b7f8b5e78 added comment for insane hack and not tested fix for deadlock bug imuse + debugger
svn-id: r14742
2004-08-25 07:03:38 +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
Travis Howell
0d3d9b4c09 Add all array related functions to HE 7.2
Add some more HE 7.2 code

svn-id: r14739
2004-08-25 06:34:33 +00:00
Travis Howell
7aa9f41188 Another array change for HE 7.2
svn-id: r14737
2004-08-25 02:48:44 +00:00
Travis Howell
2917071bd6 Add back change that were reverted by last commit.
Add comment

svn-id: r14736
2004-08-25 02:34:17 +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
Eugene Sandulenko
649e9b71a5 HE 7.2 correction to o6_pickVarRandom
svn-id: r14733
2004-08-24 16:30:20 +00:00
Travis Howell
531b570394 HE 7.2 uses different size in this opcode alone
svn-id: r14732
2004-08-24 16:02:26 +00:00
Travis Howell
35a354bab7 That should not have been removed
svn-id: r14731
2004-08-24 15:25:32 +00:00
Torbjörn Andersson
467b724798 Typo
svn-id: r14730
2004-08-24 15:08:26 +00:00
Travis Howell
2cf3a12fae Add var
svn-id: r14729
2004-08-24 11:24:51 +00:00
Travis Howell
f9059d591d Missed spot
svn-id: r14728
2004-08-24 11:18:45 +00:00
Travis Howell
f16065d86d Remove some old/duplicate code.
Add a few more functions/stubs for HE 7.2
Moved HE 7.2 o_resourceRoutine() specifics.

svn-id: r14727
2004-08-24 11:17:28 +00:00
Torbjörn Andersson
103cbac40a Fixed bug #1014296, the Loom cursor hotspot regression.
svn-id: r14726
2004-08-24 06:36:12 +00:00
Torbjörn Andersson
bb0b18515b Fixed slight regression in the Loom cursor shape: The whole thing was
shifted one step to the left, so the leftmost column wasn't included.

(Hotspot is still wrong, of course - that's a different bug.)

svn-id: r14725
2004-08-24 06:20:30 +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
bdd0dfef43 init var.
avoid valgrind warning

svn-id: r14722
2004-08-24 00:58:28 +00:00
Travis Howell
400582bd9d Update opcode table for HE 7.2
svn-id: r14721
2004-08-23 14:23:40 +00:00
Travis Howell
6d62e7ec66 Another stub
svn-id: r14720
2004-08-23 14:11:53 +00:00
Travis Howell
25ccf3a0ee Another He 7.2 function
svn-id: r14719
2004-08-23 14:03:54 +00:00
Travis Howell
42fb68694d Minor cleanup
svn-id: r14718
2004-08-23 12:19:08 +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
4f55b334eb Re-order opcodes
svn-id: r14714
2004-08-23 11:20:25 +00:00
Travis Howell
2b2b55be90 Ooops
svn-id: r14713
2004-08-23 10:59:53 +00:00
Travis Howell
d35660a6cb Switch to case
svn-id: r14712
2004-08-23 10:52:10 +00:00
Travis Howell
d8aa922695 Switch function to He 7.2
svn-id: r14711
2004-08-23 10:46:00 +00:00
Travis Howell
b57fa3a20b Missed a spot
svn-id: r14710
2004-08-23 10:37:29 +00:00
Travis Howell
bbc75e4220 Add He 7.2 class
svn-id: r14709
2004-08-23 10:34:50 +00:00
Travis Howell
85addeb67b Oops
svn-id: r14708
2004-08-23 09:25:37 +00:00
Travis Howell
bb5cae10b4 More HE 7.2 changes
svn-id: r14707
2004-08-23 09:18:55 +00:00
Jonathan Gray
b1654de7aa compilation fix
svn-id: r14706
2004-08-23 08:50:54 +00:00
Travis Howell
71678056ab Typo
svn-id: r14705
2004-08-23 08:49:04 +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
Max Horn
28c32a9fb7 Add LOOM cursor support
svn-id: r14703
2004-08-23 08:37:55 +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
Jonathan Gray
9d081a640e add md5 based windows targets for HE titles that also have DOS targets and make the description appear in the title bar
svn-id: r14701
2004-08-23 08:12:09 +00:00
Travis Howell
c7b0f20269 Correction
svn-id: r14700
2004-08-23 07:10:16 +00:00
Jonathan Gray
b7ad2a612a add readMAXS debug statement
svn-id: r14699
2004-08-23 06:30:34 +00:00
Jonathan Gray
e46c81ad74 fix compilation by removing what was presumably a typo
svn-id: r14697
2004-08-23 05:56:29 +00:00
Travis Howell
dffbcceb91 Add opcode
svn-id: r14695
2004-08-23 05:23:58 +00:00
Eugene Sandulenko
48c0be7b5f Fix bug, actually a typo introduced with last cursors improvements. It crashed
all HE7.0+ games with custom cursors.

svn-id: r14694
2004-08-23 00:41:43 +00:00
Travis Howell
bfe88771cb A few changes for freddemo
svn-id: r14693
2004-08-23 00:17:07 +00:00
Max Horn
b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell
4f51ae9988 Basic start on freddemo (old version)
svn-id: r14685
2004-08-22 15:02:53 +00:00
Travis Howell
50719f7b68 If bug still occurs, the problem is elsewhere.
Since case doesn't exist in zak256.

svn-id: r14682
2004-08-22 11:33:11 +00:00
Max Horn
8ced6f85e4 Quick & dirty HACK to allow building the SCUMM plugin again; this will break building plugins on systems w/o zlib for now, but currrently it's broken on all other systems, and plugins aren't enabled by default anyway (better solution can be implemented later)
svn-id: r14681
2004-08-22 10:52:55 +00:00
Travis Howell
60cc2470b3 Change to invalid, should never be called
svn-id: r14680
2004-08-22 09:47:12 +00:00
Travis Howell
bb3cc5b077 Make function protected again
svn-id: r14679
2004-08-22 09:38:18 +00:00
Travis Howell
a13966d64c Switch to debug channel
svn-id: r14678
2004-08-22 09:30:08 +00:00
Travis Howell
319f2c8333 No longer required
svn-id: r14677
2004-08-22 09:17:24 +00:00
Travis Howell
2e3833dc1f Switch smush debug to channel
svn-id: r14676
2004-08-22 09:14:19 +00:00
Max Horn
12dc81cdbf Removed obsolete TODO
svn-id: r14675
2004-08-22 08:59:33 +00:00
Max Horn
178d577eb4 Oops, I didn't mean to check in those actor.cpp changes (thangs Kirben!)
svn-id: r14674
2004-08-22 08:53:53 +00:00
Travis Howell
4e2d3af646 Original games used blastTextQueue size of 50.
Hack no longer required.

svn-id: r14673
2004-08-22 07:22:03 +00:00
Travis Howell
312200f530 Ooops
svn-id: r14672
2004-08-22 06:18:56 +00:00
Travis Howell
82b9f1e599 Mac. version of indy3 uses VAR_VIDEOMODE value of 50
Add initial support for loading EGA resource

svn-id: r14671
2004-08-22 06:16:16 +00:00
Max Horn
0574c35fa4 HACK to work around bug #1009344 (Doesn't distinguish monkey and monkey1)
svn-id: r14670
2004-08-21 23:12:11 +00:00
Max Horn
d35ef7c7f1 Removed some obsolete TODO comments
svn-id: r14669
2004-08-21 22:33:23 +00:00
Travis Howell
61ad833dbd Also used in Atari ST versions.
svn-id: r14668
2004-08-21 10:18:13 +00:00
Travis Howell
cc585c1773 Used in Amiga versions
svn-id: r14667
2004-08-21 10:01:19 +00:00
Travis Howell
01c0cb3d8f Skip copy protection screen in indy3ega.
svn-id: r14663
2004-08-21 09:02:45 +00:00
Travis Howell
b318794cc1 Comment no longer valid
svn-id: r14662
2004-08-21 07:18:57 +00:00
Travis Howell
3b420ef939 All FM Towns versions set VAR_VIDEOMODE to 42.
svn-id: r14661
2004-08-21 07:16:27 +00:00
Travis Howell
49d31d7fbe Missed a spot
svn-id: r14660
2004-08-21 04:15:03 +00:00
Travis Howell
3158a9c1d0 Missed one spot
svn-id: r14659
2004-08-21 03:35:08 +00:00
Travis Howell
47785295d2 Change to allow FM Towns platform to be used with later games
svn-id: r14658
2004-08-21 03:29:02 +00:00
Travis Howell
396ae19f5d FM Towns version of MI2 seems to use different value too.
svn-id: r14657
2004-08-21 01:36:59 +00:00
Travis Howell
6a2306c969 Enable original method of skipping copy protection
svn-id: r14645
2004-08-20 01:26:56 +00:00
Travis Howell
6ebe5ab306 Enable function
svn-id: r14642
2004-08-19 07:25:34 +00:00
Travis Howell
5ef8aa4ed5 Correction from disasm.
svn-id: r14641
2004-08-18 12:20:26 +00:00
Travis Howell
98aeb40968 Causes name to be lost in the Dig too.
Only scumm6 games originally used this method.

svn-id: r14640
2004-08-18 10:41:39 +00:00
Travis Howell
8d4c2fd9dd Typo
svn-id: r14637
2004-08-17 13:09:20 +00:00
Travis Howell
bb00a8b7bc This check is Sam & Max specific, doesn't exist in other games.
svn-id: r14636
2004-08-17 12:47:03 +00:00
Max Horn
bf7eae7932 Added another sanity assert (I got one crash in this sport while using a memory debugger -- likely a thread race condition
svn-id: r14635
2004-08-16 22:24:24 +00:00
Max Horn
a4ac437968 Yet another charset fix (should help bug #1008621)
svn-id: r14634
2004-08-16 22:23:58 +00:00
Travis Howell
65f026732b Fix regression in HE games
svn-id: r14633
2004-08-16 04:37:58 +00:00
Travis Howell
60a7d60627 Init array
svn-id: r14631
2004-08-16 02:38:02 +00:00
Max Horn
b48c56875f Fix potential OOB access
svn-id: r14630
2004-08-15 16:23:18 +00:00
Max Horn
784a786969 cleanup
svn-id: r14629
2004-08-15 16:07:30 +00:00
Max Horn
6c48497059 Show a bit less info so that the output of the 'actors' command fits into the console
svn-id: r14628
2004-08-15 14:40:02 +00:00
Travis Howell
54a5e3612d Correct value
svn-id: r14622
2004-08-15 07:44:57 +00:00
Travis Howell
4f4b5c713d Add missing code
Not sure where they are used though.

svn-id: r14621
2004-08-15 07:40:09 +00:00
Travis Howell
d8dbb063b5 Add patch for:
#1009417 - scummvm crashes in first dialogue at sophia's flat

Verified via disasm. of original games.

svn-id: r14619
2004-08-15 04:52:18 +00:00
Travis Howell
9f13a75c79 Fix Dig regression, small part of code was lost.
svn-id: r14617
2004-08-15 01:22:04 +00:00