aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
AgeCommit message (Collapse)Author
2006-05-24Downgraded startHETalkSound() error (when the speech file isn't open) to aTorbjörn Andersson
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu screen. svn-id: r22593
2006-05-20Pass values by-reference, using C++ references, and not by using pointersMax Horn
svn-id: r22548
2006-05-20Apparently, passing a file handle directly to a function causes that fileTorbjörn Andersson
handle (a copy of the original?) to be destroyed at the end of the function, and that closes the internal file handle, even though we want it to stay open. Who am I to argue with how C++ handles its parameters? I've simply changed the functions to take pointers to file handles instead. Seems to fix crashes in the Macintosh resource extractor for me. svn-id: r22546
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
2006-05-08Avoid closing a video file in HE games twiceTravis Howell
svn-id: r22396
2006-05-08Fix regression in lost, the middle directories were removedTravis Howell
svn-id: r22388
2006-05-08Fix off by one in rect when capturing imageTravis Howell
svn-id: r22387
2006-05-08Add initial DXA support for HE gamesTravis Howell
svn-id: r22384
2006-05-02Add support for reading/writing config files through saveGameManager and use ↵Travis Howell
for config files in HE games svn-id: r22273
2006-05-01Some cleanup, and added a FIXME comment concerning the wrong usage of ↵Max Horn
getSavePath() svn-id: r22266
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-29* Renamed several methods in favor of a somewhat more uniform naming scheme: ↵Max Horn
setupFOO for stuff that inits static data (i.e. will be called only once, or after loading savegames), vs. resetFOO / updateFOO methods which are called frequently and (re)set dynamic data. * Doing this, split scummInit into setupScumm and resetScumm methods * Moved some init code to new methods (huuuuge init methods are hard to read, and hard to customize using subclassing) * Renmaed various setup???Palette methods to set???Palette * Some minor cleanup / tweaks svn-id: r22227
2006-04-29Make use of the new scummLoop_* functions to move some SCUMM version ↵Max Horn
specific stuff around svn-id: r22219
2006-04-26Replaced _hFileTable by _hInFileTable/_hOutFileTableMax Horn
svn-id: r22182
2006-04-26isSoundRunning always returns sound id in HE gamesTravis Howell
svn-id: r22176
2006-04-26Replace unneeded File::exists callsMax Horn
svn-id: r22173
2006-04-23Some more cleanup in class Scumm::SoundMax Horn
svn-id: r22125
2006-04-23Detect (and error out) if readMAXS failsMax Horn
svn-id: r22120
2006-04-23Fix access to .he3/.he4 filesMax Horn
svn-id: r22118
2006-04-23Moved _heTimers to ScummEngine_v60heMax Horn
svn-id: r22116
2006-04-23Move HE specific stuff from class Sound to its new subclass SoundHEMax Horn
svn-id: r22115
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements. svn-id: r22110
2006-04-22- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it isEugene Sandulenko
out of sync with video. See TODO there. - Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams. svn-id: r22080
2006-04-17Replaced o70_seekFilePos by o60_seekFilePos (both were identical)Max Horn
svn-id: r21979
2006-04-16Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have ↵Max Horn
new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch) svn-id: r21951
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21827
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
Fix a lot of debug/error statements that were using %d/%x for the result of pointer arithmetic. As C++ apparently has no format string for ptrdiff_t use %lu/%lx as appropriate. svn-id: r21824
2006-04-09Fix regression introduced by removing of GF_HE_CURSORLESS feature flag.Eugene Sandulenko
There are 3 cases of HE cursors: o Default one. We set up cursor palette for it. o Loaded from .HE3 (windows resource file). We use default cursor palette. o Loaded from WizImage. We disable default cursor palette. svn-id: r21711
2006-04-08Renamed various *GameSettings to GameSettings (our namespaces are enough to ↵Max Horn
distinguish them) svn-id: r21684
2006-04-03GF_HE_CURSORLESS feature flag not required, since HE games always set a ↵Travis Howell
default cursor too. svn-id: r21576
2006-04-01Always check array bounds are valid in HE games, matching originalTravis Howell
svn-id: r21524
2006-04-01Fix painting and fridge magnet palette glitches in thinker1Travis Howell
svn-id: r21522
2006-03-31Rename two WizParameters fieldsTravis Howell
svn-id: r21514
2006-03-30Add missing check for invalid object number in getObjectData opcodeTravis Howell
svn-id: r21501
2006-03-26Always use the correct string slot for HE games specific cases in ↵Travis Howell
decodeParseString() svn-id: r21462
2006-03-25Move convertFilePath() to ScummEngine_v60he, to allow use by earlier HE gamesTravis Howell
svn-id: r21450
2006-03-25Minor cleanupTravis Howell
svn-id: r21446
2006-03-25- Implemented case insensitive file reading. Left old system as a fallbackEugene Sandulenko
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443
2006-03-19Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStreamTravis Howell
svn-id: r21375
2006-03-19Move the sound loop detection, so it is used by all HE70+ gamesTravis Howell
svn-id: r21374
2006-03-19Skip HSHD block by set size, since there are sound resources (ie Caiman in ↵Travis Howell
jungle) which have incorrect size in HSHD header svn-id: r21373
2006-03-13Confirmed it is safe to remove workaround for Macintosh HE99 version of water.Travis Howell
svn-id: r21253
2006-03-12Unfortunately the workaround for Macintosh version of water is still required.Travis Howell
svn-id: r21231
2006-03-12Use script support for Macintosh versions of HE80+ gamesTravis Howell
svn-id: r21227
2006-03-12Revert mistaken commit of local debug codeTravis Howell
svn-id: r21222
2006-03-12Revert mistaken commit of local debug codeTravis Howell
svn-id: r21220
2006-03-12Correct mistake in md5 tables for Simon the Sorcerer 2 (DOS Floppy)Travis Howell
svn-id: r21219
2006-03-11Fix endian issue in getArrayDim()Travis Howell
svn-id: r21216
2006-03-10o6_setObjectName is never used by HE72+ gamesTravis Howell
svn-id: r21211