Commit Graph

515 Commits

Author SHA1 Message Date
Max Horn
e146d5f8c3 Renamed unkMessage2 to showMessageDialog; use printString() in script_v100he.cpp, too
svn-id: r15862
2004-11-22 22:32:46 +00:00
Eugene Sandulenko
df4d3fe47a Move most heavy initialization from engine constructor to mainInit()
method which is called from go(). This ensures that extrapath is added
to list od default directories after all other paths.

svn-id: r15815
2004-11-15 03:57:22 +00:00
Travis Howell
df17c27ebf Add patch #1060453 - MIVGA: Actor Scale Patch
svn-id: r15712
2004-11-05 05:13:56 +00:00
Travis Howell
c70a3c76d3 Move number of actors to scumm settings.
The amount of actors in HE games changes a lot between games.

svn-id: r15673
2004-10-24 06:58:41 +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
Travis Howell
1922b330ad Add keyboard control for HE80+ games.
svn-id: r15604
2004-10-18 06:40:36 +00:00
Travis Howell
beb1ed4598 Rename as requested.
svn-id: r15530
2004-10-12 14:40:32 +00:00
Travis Howell
4e268316d0 Rename var and enable in COMI.
svn-id: r15410
2004-10-04 14:28:43 +00:00
Travis Howell
db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +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
Gregory Montoir
2f8136b703 constness
svn-id: r15364
2004-09-30 23:49:46 +00:00
Travis Howell
3e4fd97f42 Number of local scripts is no longer constant
svn-id: r15352
2004-09-30 06:39:39 +00:00
Max Horn
40deccb105 cleanup
svn-id: r15350
2004-09-29 21:45:52 +00:00
Travis Howell
7ced14e961 talkQueue should be actor specific
svn-id: r15318
2004-09-28 00:58:00 +00:00
Gregory Montoir
914d00f51a wiz stuff cleanup and o90_unknown1C opcode update
svn-id: r15293
2004-09-26 15:29:58 +00:00
Max Horn
cc7ca9ce4b some more pointless cleanup / moving around of stuff :-)
svn-id: r15284
2004-09-26 07:30:29 +00:00
Travis Howell
db00315d5b Revert change, breaks draw of objects.
svn-id: r15276
2004-09-25 23:14:09 +00:00
Max Horn
a7406555d8 Cleanup / correction
svn-id: r15272
2004-09-25 17:46:23 +00:00
Eugene Sandulenko
5c146947cc Fix compilation.
svn-id: r15271
2004-09-25 16:30:14 +00:00
Max Horn
6749efe84c Avoid out-of-bounds access in V7_SMOOTH_SCROLLING_HACK mode
svn-id: r15258
2004-09-24 22:31:42 +00:00
Travis Howell
be1ab48a57 Fix array pointer overflows in HE80+ games.
Some arrays are nuked in startScene.

svn-id: r15239
2004-09-23 05:02:15 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00
Max Horn
2f9ea12ddd cleanup
svn-id: r15224
2004-09-21 13:54:30 +00:00
Max Horn
899a64cbc9 cleanup
svn-id: r15222
2004-09-21 12:44:34 +00:00
Max Horn
faf42c2858 Moved some init code around (hopefully this'll help PalmOS)
svn-id: r15209
2004-09-20 22:04:06 +00:00
Travis Howell
e9a9a64109 Opcode1C in HE90+ games seems to setup WizImage settings via various cases.
svn-id: r15198
2004-09-20 05:30:26 +00:00
Gregory Montoir
0cb722d71d slightly updated drawWizImage()
svn-id: r15197
2004-09-19 23:21:09 +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
c7ba97b182 removed _heV7RoomIntOffsets
svn-id: r15177
2004-09-18 23:02:08 +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
Max Horn
3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Max Horn
58c574d7cc Moved mouse cursor code into ScummEngine subclasses were possible -- this makes it much easier to see which cursor code is used in which SCUMM version; also changed cursor code to not overwrite default_cursor_* (which would cause problems when switching to another game)
svn-id: r15169
2004-09-18 20:29:13 +00:00
Gregory Montoir
22b2cfa002 preliminar AuxQueue support (freddemo intro), some glitches though
svn-id: r15149
2004-09-18 00:36:17 +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
167f5d543f Save polygons
Move findObject changes to HE72

svn-id: r15118
2004-09-14 15:06:02 +00:00
Travis Howell
b42731afab Load POLD resources in HE80+ games
Some more WIP on polygons

svn-id: r15107
2004-09-14 06:21:11 +00:00
Eugene Sandulenko
1699fae483 Implemented formerly known unknownFB and unknownFC.
ScummEngine_v7he::polygonContains() is still buggy and prevents whole
thing from working.

svn-id: r15103
2004-09-13 23:24:36 +00:00
James Brown
a427d72d04 Store SCUMM md5s in save game. Save format bump.
svn-id: r14996
2004-09-10 12:13:03 +00:00
Travis Howell
00452c4073 Ooops
svn-id: r14992
2004-09-10 10:45:22 +00:00
Travis Howell
0ed136f0c6 Add HE vars
svn-id: r14990
2004-09-10 10:39:10 +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
Travis Howell
98584a42f3 Should be int
svn-id: r14923
2004-09-06 05:50:32 +00:00
Travis Howell
c797a78177 HE 72+ games use a remove object from queue function.
svn-id: r14916
2004-09-06 01:10:31 +00:00
Torbjörn Andersson
11a449a08c Fixed scrollEffect() regression introduced when move_screen() was removed.
I have tested this on all the cases I know of where scrollEffect() is used:

* The diving scene in Monkey Island 2
* The camel and balloon rides in Fate of Atlantis
* The arrival of the thunder storm in Day of the Tentacle
* Seeing the loose end in Sam & Max

So far it seems to work fine. Knock on wood.

svn-id: r14908
2004-09-05 15:44:29 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Travis Howell
ac140c2963 HE 72+ games set VARS with amount of each type of resource.
Often used by their scripts.

svn-id: r14899
2004-09-04 23:35:14 +00:00
Max Horn
91a57ad8f5 cleanup (this actor clip stuff is really evil -- I have to agree with Kirben, it's totally unclear why they didn't just use the good old virt screen system...
svn-id: r14890
2004-09-04 10:29:06 +00:00