Commit Graph

283 Commits

Author SHA1 Message Date
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
Jonathan Gray
b7ad2a612a add readMAXS debug statement
svn-id: r14699
2004-08-23 06:30:34 +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
Travis Howell
66cb97e66b Shorter check
svn-id: r14592
2004-08-14 03:16:32 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
83600ac731 Removing annoying debug messages
svn-id: r14515
2004-08-08 13:23:31 +00:00
Travis Howell
c5446494b8 Should have limited that to HE games only.
svn-id: r14430
2004-08-02 05:09:53 +00:00
Travis Howell
d60973b05e HE games use different method to clear some arrays resources.
svn-id: r14423
2004-08-01 13:57:00 +00:00