Torbjörn Andersson
55739f1715
Cleaned up updateCallback35() and renamed it setAMDepth(). It looks like the
...
_unkOutputByte2 variable is there to keep track of the current value of the
BD register (AM Depth / Vibrato Depth / Rhythm)
svn-id: r20984
2006-03-01 07:21:51 +00:00
Torbjörn Andersson
90cbe402b2
Minor cleanup and comments.
...
svn-id: r20983
2006-03-01 06:56:53 +00:00
Travis Howell
68f289398e
Remove HE specific string array from SCUMM6 table, since the value is different in some games
...
svn-id: r20982
2006-03-01 05:00:25 +00:00
Travis Howell
0a3b58ff2a
Update string array tables and use for all possible games and strings
...
svn-id: r20980
2006-03-01 04:32:44 +00:00
Travis Howell
d5710033a0
Update string array table for SCUMM7
...
svn-id: r20979
2006-03-01 01:17:40 +00:00
Travis Howell
2892e33f1d
Add comment to workaround for music in Sam & Max, based on commit log. And limit the workaround to specific game.
...
svn-id: r20976
2006-02-28 23:02:15 +00:00
Gregory Montoir
e4ac92c2af
updated some bugs/issues comments and removed wrong 'FIXME' markers.
...
svn-id: r20975
2006-02-28 22:20:13 +00:00
Johannes Schickel
1e2aa59bcb
Added lock() and unlock() again to readBuffer.
...
Implemented stateCallback1_1.
Fix some small bugs here and there (can't say what the fixed but it should be correct now)
Also set's the correct timer call value (with the other the music was too fast)
svn-id: r20973
2006-02-28 17:02:14 +00:00
Torbjörn Andersson
6ee443f316
Added some basic comments, along with some very, very minor cleanup.
...
svn-id: r20972
2006-02-28 15:44:39 +00:00
Torbjörn Andersson
f03958be01
Removed unnecessary line.
...
svn-id: r20971
2006-02-28 09:54:09 +00:00
Torbjörn Andersson
005861cb14
This may be needless paranoia, but I always get nervous about order of
...
evaluation when there are multiple side-effects on the same variable (in this
case the internal state modified by va_arg()) in the same expression. So let's
just humor me and do the va_arg() calls one at a time.
svn-id: r20970
2006-02-28 08:49:51 +00:00
Travis Howell
41e7bb67e4
These zakTowns specific changes aren't explained and don't match original code. If problems still occur, add bug reports with details.
...
svn-id: r20967
2006-02-28 01:14:02 +00:00
Travis Howell
e1d96cba87
Typo.
...
svn-id: r20966
2006-02-28 00:49:54 +00:00
Travis Howell
db925b310e
Update code and comment for screen savers issue in Sam & Max.
...
svn-id: r20965
2006-02-28 00:46:05 +00:00
Johannes Schickel
2bcd6bb95e
Fixes hangs in the "Pool of Sorrow" scene (at least I don't get them anymore).
...
svn-id: r20964
2006-02-27 23:41:27 +00:00
Travis Howell
d0bba4cb56
Typo.
...
svn-id: r20963
2006-02-27 23:32:59 +00:00
Travis Howell
86c913a5f4
Update comment for SO_WAIT_FOR_TURN workaround in The Dig, this is due to script bugs. SO_WAIT_FOR_TURN is never used by FT r COMI either, so remove game check.
...
svn-id: r20962
2006-02-27 23:25:07 +00:00
Johannes Schickel
f3106feaf5
Added WIP Adlib sound playing code to kyra.
...
It needs some checks since it doesn't work correctly in every case at the moment.
svn-id: r20960
2006-02-27 22:39:55 +00:00
Gregory Montoir
1b1bc9cde4
Revert the 'get rid of SO_WAIT_FOR_TURN workaround' commit but keep it specific to TheDig
...
svn-id: r20959
2006-02-27 22:15:21 +00:00
Gregory Montoir
0f5ef6f5b1
Get rid of the SO_WAIT_FOR_TURN hack for TheDig as the original interpreter didn't do anything special here. This will probably trigger some 'invalid actor' errors, but those are most likely caused by scripting mistakes... which should be worked around separately.
...
svn-id: r20958
2006-02-27 21:55:18 +00:00
Gregory Montoir
9c80770411
cleanup
...
svn-id: r20957
2006-02-27 21:25:59 +00:00
Travis Howell
deecb61656
Use _numStrips when checking for foreced sprite redraw, instead of set values.
...
svn-id: r20956
2006-02-27 12:23:34 +00:00
Travis Howell
be30d257e3
Charset 0 is loaded on start in original versions of OLD_BUNDLE games too
...
svn-id: r20955
2006-02-27 12:00:10 +00:00
Jamieson Christian
2469e00248
SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
...
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers.
svn-id: r20952
2006-02-27 01:59:07 +00:00
Jamieson Christian
52d55bf976
Removed deprecated IMUSE_DEBUG #define in favor of debugC calls using the runtime-selectable DEBUG_IMUSE category.
...
svn-id: r20950
2006-02-26 22:23:29 +00:00
Max Horn
52970c9936
Cleanup
...
svn-id: r20949
2006-02-26 21:59:44 +00:00
Max Horn
90c916de4b
Do not compute the MD5 checksum if an override for it is set
...
svn-id: r20948
2006-02-26 21:52:49 +00:00
Paul Gilbert
dc75adbb25
Initial add of the Lure of the Temptress disassembly
...
svn-id: r20947
2006-02-26 21:36:33 +00:00
Torbjörn Andersson
094382a6d0
With the added delay to the popup menu loop, it's much more likely that each
...
iteration will see several events, so pop all events from the queue each time.
Of course, we still only need to check the mouse position once. Warp the mouse
back to neutral even if we're trying to go past the first/last menu entry.
svn-id: r20918
2006-02-26 15:24:11 +00:00
Torbjörn Andersson
f13d294ae5
Cleaned up my earlier "delay in busy-wait loop" commit, and added a similar
...
delay to PopupMenu::Show().
svn-id: r20914
2006-02-26 13:43:50 +00:00
Torbjörn Andersson
686d463def
Added delays to the waitForRelease() and waitForPress() busy-wait loops.
...
svn-id: r20912
2006-02-26 13:02:25 +00:00
Travis Howell
73af2a6938
Remove roomOps cases which are never used by COMI scripts
...
svn-id: r20908
2006-02-26 07:49:11 +00:00
Travis Howell
a5cb120898
COMI uses a separate setting for the verb charset, verbs use correct charset now
...
svn-id: r20907
2006-02-26 06:55:56 +00:00
Travis Howell
270a16b37b
Camera variables are initialised on startup by COMI too
...
svn-id: r20906
2006-02-26 06:15:13 +00:00
Travis Howell
0f60eaa166
Move debug mode setting to initScummVars(), so it is reset when game is restarted
...
svn-id: r20905
2006-02-26 05:48:40 +00:00
Travis Howell
bd2a59787b
That change shouldn't have been commited
...
svn-id: r20903
2006-02-26 02:23:59 +00:00
Willem Jan Palenstijn
06e02f6010
stop playing a sample before deleting the sample data
...
svn-id: r20902
2006-02-26 01:25:27 +00:00
Travis Howell
76962c3ce6
Change debugInput opcode result to zerod array for now, since it expects input string
...
svn-id: r20901
2006-02-26 00:32:10 +00:00
Max Horn
a76e3bab2f
Remove the dummy index 0 entry from substResFileNameTable
...
svn-id: r20898
2006-02-25 21:36:19 +00:00
Max Horn
331110271b
Moved the plugin interface code of the SCUMM engine into a separate source file
...
svn-id: r20885
2006-02-25 19:20:51 +00:00
Gregory Montoir
164f35b878
cleanup unpacking function and get rid of an old hack to prevent buffer overflows.
...
svn-id: r20884
2006-02-25 18:26:16 +00:00
Max Horn
bb4d463138
Fix compiler warning (wrong return type)
...
svn-id: r20883
2006-02-25 18:24:55 +00:00
Max Horn
05559c89f2
Moved check for unknown MD5 checksum from ScummEngine::ScummEngine to Engine_SCUMM_create
...
svn-id: r20882
2006-02-25 18:24:22 +00:00
Gregory Montoir
0364eeed5c
cleanup (endianess fixes, fixed partBufferStruct structure)
...
svn-id: r20881
2006-02-25 18:16:40 +00:00
Max Horn
779028dcd2
Modified the workaround for bug #1407789 to not depend on MD5 detection
...
svn-id: r20880
2006-02-25 18:16:24 +00:00
Max Horn
2ae0f79de3
Split SCUMM's generateSubstResFileName into two functions: findSubstResFileName and applySubstResFileName
...
svn-id: r20879
2006-02-25 17:36:32 +00:00
Travis Howell
7b9baa4f9f
Cleanup decompress wizImage functions, to help find similar code
...
svn-id: r20874
2006-02-25 11:48:35 +00:00
Max Horn
1f987027f8
Removed last two uses of MKID
...
svn-id: r20872
2006-02-25 11:12:44 +00:00
Sven Hesse
f51dd597dd
Fix c&p mistake in adding DEBUG_PARSER debug level
...
svn-id: r20868
2006-02-25 10:16:46 +00:00
Max Horn
142bfeb356
Some more MKID -> MKID_BE changes
...
svn-id: r20867
2006-02-25 02:47:22 +00:00