aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-19Disabled probably false positive warning 4121 (alignment of a member was ↵Filippos Karapetis
sensitive to packing) in mohawk svn-id: r49107
2010-05-19Reverted commit #49088, seems like to be a false positive from MSVC on the ↵Filippos Karapetis
QTPlayer::*func pointer of the ParseTable struct (warning 4121, alignment of a member was sensitive to packing) svn-id: r49106
2010-05-19Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. ↵Nicola Mettifogo
Patch 3003382 by fuzzie, with enhancements. svn-id: r49105
2010-05-19Fixed silly typo in #49099. Iceman works again (thanks m_kiewitz)Filippos Karapetis
svn-id: r49104
2010-05-19Do not try and run dialogues when there is no dialogue defined in a SPEAK ↵Nicola Mettifogo
zone. Patch 3003382 by fuzzie. svn-id: r49103
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-19Implement FR #2841445: FW: Restart doesn't workEugene Sandulenko
svn-id: r49096
2010-05-19Implement FR #2841494: FW: Pause doesn't workEugene Sandulenko
svn-id: r49095
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-19Added missing single quoteFilippos Karapetis
svn-id: r49091
2010-05-19formattingEugene Sandulenko
svn-id: r49090
2010-05-19Patch from Littleboy to silence useless warning due to VideoDecoder changesEugene Sandulenko
svn-id: r49089
2010-05-19Added packing to the QT structuresFilippos Karapetis
svn-id: r49088
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-18Replace some strncpy usages with Common::strlcpy.Johannes Schickel
svn-id: r49086
2010-05-18Replace one instance of strncpy with Common::strlcpy.Johannes Schickel
svn-id: r49085
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-18Started simplifying and removing a lot of unused code from the SAGA Mac ↵Filippos Karapetis
resource loader, to be ultimately replaced by the common Mac resource loader svn-id: r49082
2010-05-18Have QTPlayer inherit from VideoDecoder. The video downscaling (QuickTime is ↵Matthew Hoops
insane) has also been moved to the QTPlayer class. svn-id: r49081
2010-05-18Added back video skipping in SAGA2 with the escape key or left mouse buttonFilippos Karapetis
svn-id: r49080
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-18Added getBaseFileName() method and enhanced open() with trying macbinary ↵Eugene Sandulenko
format in plain files svn-id: r49074
2010-05-18Fix currentFrame semantics in Flic playerOri Avtalion
svn-id: r49073
2010-05-18Fix missing dialogue index.Willem Jan Palenstijn
This is the BR case of the NS fix in r45053. Patch by fuzzie@fuzzie.org . svn-id: r49072
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-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-05-17Minor formatting.Johannes Schickel
svn-id: r49067
2010-05-17Get rid of Common::Rational::normalize and other redundant codeMax Horn
svn-id: r49066
2010-05-17Use TS_ASSERT_EQUALS in test casesMax Horn
svn-id: r49065
2010-05-17Some tweaks and fixes for Common::RationalMax Horn
* Fix Common::gcd to work with negative input * This fixes a bug in Common::Rational's multiplication code * Add some more basic unit tests (including one which checks for the now fixed multiplication bug) * cleanup svn-id: r49064
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-17Add tests for Common::Rational from patch #2963496 (VideoDecoder Rewrite), ↵Matthew Hoops
also courtesy of DrMcCoy who wrote the main Common::Rational class too svn-id: r49062
2010-05-17Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)Matthew Hoops
svn-id: r49061
2010-05-17Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with ↵Joost Peters
gcc on irix. svn-id: r49060