aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-05-26SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 ↵Martin Kiewitz
games introduced by r49216 svn-id: r49238
2010-05-26Avoid adding a null char in the sierraId Common::StringFilippos Karapetis
svn-id: r49234
2010-05-26FormattingFilippos Karapetis
svn-id: r49233
2010-05-26Added more info to the warning thrown when argc > 1 while modifying a ↵Filippos Karapetis
variable selector in send_selector() svn-id: r49232
2010-05-26After running some tests, it appears that modifying argc inside ↵Filippos Karapetis
send_selector() was a bad idea. Reverting the relevant code, and putting the warning back, with some extra comments svn-id: r49231
2010-05-26Silence a warning inside send_selector(): argc > 0 means "write selector". ↵Filippos Karapetis
Added code do make sure that argc is always either 0 or 1 when referencing variable selectors (this isn't strictly necessary, but better safe than sorry...). Some cleanup svn-id: r49230
2010-05-26More work on controlling access to members of the Object class:Filippos Karapetis
- Moved the code for initializing the object class, species and base object inside the Object class - Made propertyOffsetToId() a method of the Object class - Made relocateObject() a method of the Object class - The Object getVariable() method now returns a reference to the requested variable Only SegManager::reconstructScripts() is left needing direct access to the members of the Object class svn-id: r49228
2010-05-26CleanupFilippos Karapetis
svn-id: r49227
2010-05-26Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' ↵Matthew Hoops
videos now play. However, they require multiple edit list support to look completely correct. svn-id: r49224
2010-05-25SCI: adding comment about error() on pattern opcodes sci1.1+Martin Kiewitz
svn-id: r49217
2010-05-25SCI: error out on pattern opcodes inside vector data when drawing pictures ↵Martin Kiewitz
in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4 svn-id: r49216
2010-05-25SCI: dont lock mutex in pauseAll(), isn't needed anyway - fixes deadlock in sq4Martin Kiewitz
svn-id: r49214
2010-05-25SCI: sci1.1 uses hardcoded white for picture cel data instead of the value ↵Martin Kiewitz
specified in header - fixes pixel glitches in island of dr. brain title, sq4 title and qfg3 room during intro svn-id: r49213
2010-05-25SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in ↵Martin Kiewitz
island of dr. brain intro svn-id: r49212
2010-05-24SCI: forgot one rename in r49202 - MSVC, why?Martin Kiewitz
svn-id: r49203
2010-05-24SCI: renaming MacIconBar to GfxMacIconBarMartin Kiewitz
svn-id: r49202
2010-05-24Surface is a struct, not a classFilippos Karapetis
svn-id: r49201
2010-05-24Oops, forgot to delete the icon bar.Matthew Hoops
svn-id: r49199
2010-05-24SCI: leave console open for pic_visualize/undither commands - also don't use ↵Martin Kiewitz
SciGui class for undither anymore svn-id: r49198
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-24SCI: sort according to original order in kAnimate, when y and z are the same ↵Martin Kiewitz
- fixes iceman half-open compartment in room 35 svn-id: r49189
2010-05-24SCI: only remove isQueued status for sound sci0Martin Kiewitz
svn-id: r49187
2010-05-24SCI: remove isQueued status when sound gets stopped - fixes iceman resuming ↵Martin Kiewitz
music when entering hotel complex (with bar) right at the start svn-id: r49186
2010-05-23SCI: Enabled saving from the ScummVM menu againFilippos Karapetis
svn-id: r49164
2010-05-23SCI: removed hack for iceman in kDoBresen - fixes all sorts of automatic ↵Martin Kiewitz
walking issues (like rescueing ambassador) in iceman, dancing at the beginning also still works - thx to [md5] svn-id: r49163
2010-05-23Remove the unused SCI_GAME_WAS_RESTARTED_AT_LEAST_ONCE flagFilippos Karapetis
svn-id: r49161
2010-05-23SCI: fixing crash in _vocab_add_rule when running qfg2 demoMartin Kiewitz
svn-id: r49160
2010-05-23Made shrink_execution_stack() a member of EngineStateFilippos Karapetis
svn-id: r49159
2010-05-23SCI: reenabling "stopAllSounds" code disabled in r49101 - isn't called ↵Martin Kiewitz
anymore since priority is honored so it may have been right after all svn-id: r49158
2010-05-23SCI: fix regression of r49156 - if multiple songs are stored for ↵Martin Kiewitz
resume-play, use the last one - fixes iceman wrong music played after going through door in room 14 - still not sure about this, added fixme svn-id: r49157
2010-05-23SCI: use priority when queuing up music in sound sci0 -> fixes lsl3 jingle ↵Martin Kiewitz
issues svn-id: r49156
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-22SCI: adding ability to specify hexadecimal number as index for debug command ↵Martin Kiewitz
vmvars - also report error if invalid index is given to us svn-id: r49148
2010-05-22CleanupFilippos Karapetis
svn-id: r49143
2010-05-22Rewrote and simplified the game ID detector. It now properly works with ↵Filippos Karapetis
SCI0-SCI2.1 games svn-id: r49142
2010-05-21Slight cleanupFilippos Karapetis
svn-id: r49129
2010-05-21Removed the reliance on the segment manager from the fallback detector, for ↵Filippos Karapetis
SCI0-SCI1 games (it still doesn't work with SCI1.1 and newer games, though) svn-id: r49126
2010-05-21Some further work on the fallback detector, reducing the reliance on the ↵Filippos Karapetis
segment manager svn-id: r49125
2010-05-20SCI: fix regression of r49109 - only queue up midi soundsMartin Kiewitz
svn-id: r49114
2010-05-20SCI: adding workaround for some underwater rooms in iceman - removing ↵Martin Kiewitz
visual&priority lines that appear because of non dither mode (would merge with dithered fill color combination normally) svn-id: r49113
2010-05-19Slight bugfix in the object iteration inside getSierraGameId()Filippos Karapetis
svn-id: r49110
2010-05-19SCI: sound code now queues up music in sci0, wip-code: not reacting on ↵Martin Kiewitz
priority yet - fixes iceman room 14 svn-id: r49109
2010-05-19SCI: updated comment on kDoSound(12)Martin Kiewitz
svn-id: r49108
2010-05-19Fixed silly typo in #49099. Iceman works again (thanks m_kiewitz)Filippos Karapetis
svn-id: r49104
2010-05-19Added a new method to the resource manager, to help determine if we got a ↵Filippos Karapetis
SCI1.1 Mac game. Started rewriting the fallback detector so that it doesn't rely on the segment manager to find the internal game ID svn-id: r49102
2010-05-19SCI: removed cmdStopAllSounds(), can't be right - added FIXME - fixes iceman ↵Martin Kiewitz
room 14 music stopping within 1-2 seconds svn-id: r49101
2010-05-19Fixed signed/unsigned warning, changed to CamelCaseFilippos Karapetis
svn-id: r49100
2010-05-19Cleaned up script_instantiate_sci0()Filippos Karapetis
svn-id: r49099
2010-05-19SCI: cleanup soundcode - number renamed to resourceId, prio renamed to priorityMartin Kiewitz
svn-id: r49098
2010-05-19SCI: changing debugger commands to not require "?"-prefix for objects ↵Martin Kiewitz
anymore. It's now also possible to use 0x prefix for hexadecimal values e.g. "vo 0x13", "vo 13h", "vo theSound", "vo 12f:34f" is now possible svn-id: r49097