aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
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
2010-05-19Updated the save game format for the changes in #49093Filippos Karapetis
svn-id: r49094
2010-05-19Removed the exportsAreWide variable from the segment manager and save games, ↵Filippos Karapetis
and moved validateExportFunc() in the Script class, thus resolving a TODO svn-id: r49093
2010-05-19Moved the breakpoint information inside the DebugState structFilippos Karapetis
svn-id: r49092
2010-05-18SCI: set signal on fadeOut and also set signal when fade is requested but ↵Martin Kiewitz
sound is not playing (& show warning in that case) - fixes iceman hang after fireworks in room 14 svn-id: r49087
2010-05-18Add a new class 'RewindableVideoDecoder' that allows a video to be rewound ↵Matthew Hoops
and have QTPlayer inherit from that. svn-id: r49084
2010-05-18Added the number of parameters passed in unknown kDoAudio subopsFilippos Karapetis
svn-id: r49083
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-18- Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵Filippos Karapetis
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078
2010-05-18SCI: fixing crash in pq2 - not sure about this, lskovlun should take a look ↵Martin Kiewitz
at this svn-id: r49077
2010-05-18- Moved kernel_lookup_text inside the Kernel classFilippos Karapetis
- Added a pointer to the segment manager from within the Kernel class, thus simplifying the calls to it svn-id: r49076
2010-05-18- Moved determine_reg_type() and kernel_matches_signature() inside the ↵Filippos Karapetis
Kernel class, where they belong - Moved the kernel signature defines inside kernel.h - Removed some unused references to EngineState svn-id: r49075
2010-05-18Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXMEFilippos Karapetis
svn-id: r49071
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-05-17SCI: adding speed throttler special case for iceman / submarine control roomMartin Kiewitz
svn-id: r49056
2010-05-16SCI: fixing possible typo for Shift-F1/F10 keys, fixing submarine controls ↵Martin Kiewitz
in iceman svn-id: r49048
2010-05-15SCI: handle TAB like Ctrl-I on menu key checking, sci0 also did it that way ↵Martin Kiewitz
- makes TAB work for inventory in iceman/qfg1ega svn-id: r49044
2010-05-15SCI: setting port _menuPort, fixing crash on setFont()Martin Kiewitz
svn-id: r49043
2010-05-15SCI: removed _mainPort (was unused, is unused)Martin Kiewitz
svn-id: r49042
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-05-14Made locateVarSelector() a method of the Object classFilippos Karapetis
svn-id: r49031
2010-05-14Silenced some MSVC warningsFilippos Karapetis
svn-id: r49030
2010-05-14SCI: if no priority is set (=255) and a cel is embedded in picture vector ↵Martin Kiewitz
data -> set priority to 0, fixes kq5/amiga - first scene not showing svn-id: r49029
2010-05-13SCI: fix window, when its too large for screen (fixes sq3 crash at ending, ↵Martin Kiewitz
actually caused by script bug) svn-id: r49028
2010-05-13SCI: fix regression of r49026 - line between titlebar and actual window was ↵Martin Kiewitz
overdrawn svn-id: r49027
2010-05-13SCI: remove hack code for shadows and implement them properly (shadow is ↵Martin Kiewitz
actually part of the window, not added onto the window) - fixes especially lsl5 svn-id: r49026
2010-05-13SCI: don't adjust new windows to _wmgrPort for oldGfxFunctions() games (till ↵Martin Kiewitz
kq4 .502), fixes all window positions for those especially sq3old speech bubble windows svn-id: r49025
2010-05-13SCI: removing one assert() from view loading, cause view 260 in kq6 really ↵Martin Kiewitz
contains a celCount == 0 o_O svn-id: r49024
2010-05-13SCI: adding some more assert()s in view data loading for clone :DMartin Kiewitz
svn-id: r49023
2010-05-13Remove useless const on a value return type.Johannes Schickel
svn-id: r49022
2010-05-13SCI: figured out weird special mac sci1.1 view decompression (currently ↵Martin Kiewitz
commented out for clone2727) svn-id: r49020
2010-05-12SCI: header size within sci1.1+ views doesn't include the actual header size ↵Martin Kiewitz
word, adjust accordingly (should make mac view support possible now) svn-id: r49019
2010-05-12SCI: changed behaviour for kDisplay change (r49012) to use oldGfxFunctions ↵Martin Kiewitz
(.502), which isn't 100% accurate (should be .566) but better than not restoring for whole SCI0LATE svn-id: r49017
2010-05-12SCI: tracked down the kDisplay change, added comment about thatMartin Kiewitz
svn-id: r49016
2010-05-12SCI: fix code that was commented out (wasn't meant to get commited that way) ↵Martin Kiewitz
during cleanup r47745 svn-id: r49015
2010-05-12SCI: added comments about r49012, change actually happened during sci0lateMartin Kiewitz
svn-id: r49014
2010-05-12SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used ↵Martin Kiewitz
when scanning for planets) svn-id: r49012
2010-05-12ListIndexOf can have a null object reference, so adjust its signature. GK1 ↵Matthew Hoops
no longer crashes when right clicking in the inventory. svn-id: r49009
2010-05-11SCI: fix crash/heap issue when saving games (change was actually made by ↵Martin Kiewitz
waltervn) svn-id: r49007
2010-05-11SCI: remove unneeded _mutex lock to fix deadlock issueMartin Kiewitz
svn-id: r49006
2010-05-11SCI: init _sysPaletteChangedMartin Kiewitz
svn-id: r49003