Commit graph

223 commits

Author SHA1 Message Date
Max Horn
b5db74b2ac _inventory was sometimes accessed one-based and sometimes zero-based -> always use zero-base, for consistency
svn-id: r11925
2003-12-25 21:56:12 +00:00
Paweł Kołodziejski
feb39c5b05 updated kernelSetFunctions opcode 20
svn-id: r11920
2003-12-25 17:59:10 +00:00
Paweł Kołodziejski
35cbe8d3a0 some changes to digital imuse
svn-id: r11907
2003-12-25 13:56:22 +00:00
Paweł Kołodziejski
1abfe5d63f start sound call directly digital imuse, only script part handled by mainloop of scumm script
svn-id: r11906
2003-12-25 11:14:05 +00:00
Max Horn
b38acd10e7 cleanup
svn-id: r11720
2003-12-17 17:36:04 +00:00
Max Horn
c3a9b2df67 indention
svn-id: r11663
2003-12-15 20:53:16 +00:00
Eugene Sandulenko
578d2efa77 Preliminary support for FT INSANE is added. To enable the code define
INSANE in config.h. But only non-interactive parts work and there is no
insane scene skip. Only one choice during those scenes is Ctrl+X.

svn-id: r11507
2003-12-06 05:47:24 +00:00
Travis Howell
83bf2e2593 Add keyboard support for derby in FT and cannon battle in COMI, patch #853099
svn-id: r11496
2003-12-05 00:02:01 +00:00
Max Horn
d099759279 game targets can now have a base filename different from the target name; misc tweaks
svn-id: r11417
2003-11-28 22:29:56 +00:00
Jonathan Gray
151a2dcc44 revert use of GF_DEMO in Humongous games fixing several problems
svn-id: r11345
2003-11-18 10:16:49 +00:00
Travis Howell
5589cdc10c Fix object names in dig demo
svn-id: r11340
2003-11-18 04:05:06 +00:00
Paweł Kołodziejski
185395ca36 replaced demo GIDs wth GF_DEMO
svn-id: r11326
2003-11-17 21:16:43 +00:00
Paweł Kołodziejski
d5eddef057 changed some shift operators to *, /
svn-id: r11315
2003-11-16 20:52:57 +00:00
Travis Howell
313a912af2 *** empty log message ***
svn-id: r11281
2003-11-13 10:51:02 +00:00
Max Horn
5d863586dc Disambiguate o6_jump execution (is _scriptPointer read before or after fetchScriptWordSigned() (which modifies _scriptPointer) is being called)
svn-id: r11261
2003-11-11 13:47:53 +00:00
Paweł Kołodziejski
514a9b5120 renamed back to o6_ifclassofif and extended names for dim opcodes
svn-id: r11242
2003-11-10 08:00:55 +00:00
Paweł Kołodziejski
2b509bc0b6 renamed opcode and added sobopcode comments
svn-id: r11236
2003-11-10 00:05:17 +00:00
Paweł Kołodziejski
a657b8e7ba renamed some opcodes and added sobopcode comments
svn-id: r11232
2003-11-09 22:12:16 +00:00
Travis Howell
27bb10900e Add missing opcode needed for Spanish version (And maybe others?) of Full Throttle, patch #838309
svn-id: r11201
2003-11-08 03:33:21 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Jonathan Gray
1de6c5adb0 kill reference to old url
svn-id: r10702
2003-10-09 14:10:20 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Paweł Kołodziejski
02efb31591 a little better
svn-id: r10419
2003-09-26 17:58:42 +00:00
Paweł Kołodziejski
3745b176b2 added v6 version of stamp object opcode
svn-id: r10418
2003-09-26 17:55:50 +00:00
Paweł Kołodziejski
a84f204b72 now more match dissassembly
svn-id: r10416
2003-09-26 17:33:58 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Max Horn
6512592d0f moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
2003-09-14 18:16:45 +00:00
Paweł Kołodziejski
199e9632b8 fixed badly commit
svn-id: r10244
2003-09-13 21:04:47 +00:00
Paweł Kołodziejski
b735d9031d implemented fileWrite opcode
svn-id: r10242
2003-09-13 20:54:12 +00:00
Paweł Kołodziejski
bd11fd1217 remove path in filename at delete func too
svn-id: r10239
2003-09-13 18:45:56 +00:00
Paweł Kołodziejski
971fff61b8 fixed size logic in readFileToArray()
svn-id: r10238
2003-09-13 18:36:16 +00:00
Paweł Kołodziejski
0c0f967c59 implemented fileread opcode
svn-id: r10232
2003-09-13 16:25:33 +00:00
Max Horn
b6e4fb2ef7 since _hFileTable is only used by Scumm_v6, there is no reason to put it into class Scumm
svn-id: r10227
2003-09-13 13:59:46 +00:00
Paweł Kołodziejski
c334c1103f implemented opcodes: openfile and closefile
svn-id: r10226
2003-09-13 13:41:44 +00:00
Paweł Kołodziejski
f02d38ce5a a little updated opcode: openFile and deleteFile
svn-id: r10221
2003-09-13 12:37:21 +00:00
Max Horn
ff225c470c cleanup
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
deb4f6b786 cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
svn-id: r10144
2003-09-09 20:54:19 +00:00
Max Horn
d875bb69fe fix for bug #782086 (COMI: a long walk)
svn-id: r10143
2003-09-09 19:30:25 +00:00
Max Horn
1dbab0237f cleanup/refactoring
svn-id: r10070
2003-09-07 19:28:45 +00:00
Jonathan Gray
018d2ee6b1 add some stub cases for later humongous games, queue loading and a decodeParseString case
svn-id: r9985
2003-09-03 08:55:24 +00:00
Jonathan Gray
876fe0ac8a add readINI stub (a HEv7 op)
svn-id: r9894
2003-08-28 15:23:23 +00:00
Jonathan Gray
9d450bc9ce assert that string variable actually exists before we start doing comparisons against the string
svn-id: r9696
2003-08-15 03:15:41 +00:00
Bertrand Augereau
03524d071e Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.
svn-id: r9674
2003-08-13 23:07:05 +00:00
Torbjörn Andersson
2973317f1d Fix for bug #787841 ("SAM: Crash when using retriever on Max"). For
whatever reason, o6_walkActorToObj() was trying to find the coordinates for
an object that was marked as being in the inventory.

svn-id: r9664
2003-08-13 16:38:02 +00:00
Jamieson Christian
1615278ecc Upgraded IMuse::doCommand() to support more than 8 parameters.
V6 scripts can specify up to 16 parameters to be passed to
doCommand(). In most cases 8 or fewer parameters were used,
but occasional uses of 9 or 10 parameters resulted in
incorrect iMuse behavior due to lost doCommand() data.

ImTrigger was also upgraded to support 8 parameters instead
of 4, since the incorrect behavior that was observed involved
the use of triggered commands that required more than 4
parameters. Since ImTrigger data is not currently being saved
(which is bad), we do not at this time have to go to another
savegame format to support the additional ImTrigger data
(which is good).

This fix corrects a problem in the Tunnel of Love. When the
"execution scene" music finishes and the hidden door opens,
the Tunnel of Love music is supposed to start up again. In
ScummVM, it never would, do to the loss of parameters for a
trigger-based "Parameter Fade" command.

A bit of miscellaneous cleanup has also been made.

svn-id: r9579
2003-08-06 18:20:15 +00:00
Max Horn
becd70d243 cleanup: encapsulate some more members of class Actor, and rename newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy)
svn-id: r9175
2003-07-24 17:44:00 +00:00
Max Horn
a62e49d0d4 added a FIXME
svn-id: r9121
2003-07-22 16:05:40 +00:00
Paweł Kołodziejski
ec2b0cca04 improved stampObject opcode for FT mine field, still layers? problem
svn-id: r9099
2003-07-20 21:01:06 +00:00