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
Paweł Kołodziejski
25dbf529ab
some changes for stampObject opcode to be more similiar dissassembly
...
svn-id: r9098
2003-07-20 20:42:58 +00:00
Max Horn
59346f5c9a
oops, this was a serious bug: message referred to buf_output (and was used by buf_output[300],) even after buf_output was out of scope
...
svn-id: r9046
2003-07-15 21:33:57 +00:00
Max Horn
c74e2eb4d7
factored out some duplicate code into a new method translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?)
...
svn-id: r9045
2003-07-15 21:30:53 +00:00
Max Horn
bb87787314
fix for bug #769744 (COMI: Trying to append to a nonexistant stream)
...
svn-id: r9025
2003-07-14 21:37:45 +00:00
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Paweł Kołodziejski
1ec23e5f3a
implemented missing puttputt actor opcode 218. this opcode is strange (based of disassembly)
...
svn-id: r8821
2003-07-06 23:19:03 +00:00
Paweł Kołodziejski
bb756317b3
added comment for missing puttputt actor opcode
...
svn-id: r8810
2003-07-06 17:15:42 +00:00
Paweł Kołodziejski
290a974fcd
added stub opcode 218 for o6_actorOps()
...
svn-id: r8806
2003-07-06 16:14:35 +00:00
Max Horn
a0133fdbc6
code transformation on setScaleItem: this shows that rtScaleTable's are actually (almost) the same as scale slots in V8.
...
svn-id: r8719
2003-07-03 01:24:50 +00:00
Max Horn
f1fc68773d
made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
...
svn-id: r8493
2003-06-15 00:54:14 +00:00
Torbjörn Andersson
67d1a48efc
Fixed o6_band() to be "logical AND" instead of "logical OR". I've forgotten
...
who pointed this out, and I don't know which games use it.
svn-id: r8479
2003-06-14 16:59:20 +00:00