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
Max Horn
075dc8a538
A typical example why MKID is dangerous: Kyra uses it incorrectly, thus savegames are not interchangable between BE and LE systems. Fixing this, by breaking all LE savegames (enabling a compatibility mode, if desired, is easy)
...
svn-id: r20866
2006-02-25 02:35:45 +00:00
Max Horn
ee0f0a1f13
Replaced some more MKIDs by MKID_BE; this then enabled me to remove ScummEngine::fileReadDword()
...
svn-id: r20865
2006-02-25 02:31:49 +00:00
Max Horn
87fd6957ac
Got rid of the 'tag' parameter for readResTypeList()
...
svn-id: r20864
2006-02-25 02:22:17 +00:00
Max Horn
6914121f61
Replaced MKID by MID_BE in most places in the SCUMM engine
...
svn-id: r20862
2006-02-25 02:12:58 +00:00
Max Horn
a30f829773
Some more cine header cleanup
...
svn-id: r20859
2006-02-25 01:18:01 +00:00
Travis Howell
a0b7c01762
Adjust masking in copyWizImageWithMask() to match ScummVM, wizImages masking works fine now
...
svn-id: r20858
2006-02-25 01:02:07 +00:00
Max Horn
275344a931
Reducing the header dependencies in cine a bit more
...
svn-id: r20857
2006-02-25 01:01:27 +00:00
Max Horn
5ea3b8f9cd
- avoid using typedef for structs (it is just not necessary in C++)
...
- added a const/static here and there
- started to reduce header dependencies
svn-id: r20856
2006-02-25 00:46:56 +00:00
Max Horn
e35eb1dd2f
Fix cine module.mk file (this fixed the dependencies system)
...
svn-id: r20855
2006-02-25 00:42:26 +00:00
Travis Howell
d08dbb2a3c
More corrections to copyWizImageWithMask() in HE games
...
svn-id: r20854
2006-02-25 00:35:36 +00:00
Max Horn
f396995173
Use static/const on data tables when possible (this helps the compiler to optimize things better)
...
svn-id: r20853
2006-02-25 00:33:12 +00:00
Max Horn
2fc23c85da
Moved cine engine into namespace Cine
...
svn-id: r20851
2006-02-25 00:26:14 +00:00
Travis Howell
3064679e6c
Add corrections to copyWizImageWithMask() in HE games
...
svn-id: r20849
2006-02-24 23:39:40 +00:00
Sven Hesse
1758260c39
Changed debug()s to debugC()s
...
svn-id: r20848
2006-02-24 23:31:31 +00:00
Gregory Montoir
047298745f
added TRLE wiz masking (mostly untested)
...
svn-id: r20847
2006-02-24 22:36:55 +00:00
Gregory Montoir
481094ada0
cleanup
...
svn-id: r20846
2006-02-24 22:34:22 +00:00
Sven Hesse
ca504aca4f
Adding GOB2's CD handling opcodes, the CD version of GOB2 now starts
...
correctly; playMult() doesn't work yet, though
svn-id: r20844
2006-02-24 21:58:03 +00:00
Torbjörn Andersson
36180ed017
I assume -1 and 0xFFFFFFFF are supposed to be the same value when assigned to
...
_lastHitArea3, so use -1 consistently.
svn-id: r20838
2006-02-23 22:38:16 +00:00