aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-01-12SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier ↵Martin Kiewitz
code, also fixed stupid oversight that made the code crash in e.g. lsl6 svn-id: r47278
2010-01-12SCI: interactive menu with mouse fully implemented, mouse within keyboard ↵Martin Kiewitz
menu not yet done svn-id: r47277
2010-01-12Fix memory leak in MidiPlayer_Adlib.Johannes Schickel
svn-id: r47276
2010-01-12Fix some memory leaks caused by never freeing the allocated memory, which is ↵Johannes Schickel
pointed at by KernelFuncWithSignature::signature. svn-id: r47275
2010-01-12Fix some memory leaks caused by never deleting the objects inside ↵Johannes Schickel
SoundCommandParser::_soundCommands. svn-id: r47274
2010-01-12SCI: changed interactive with mouse menu code (still not finished)Martin Kiewitz
svn-id: r47273
2010-01-12A null pointer can be safely passed to "delete", thus there is no need to ↵Johannes Schickel
check against the pointer being non-zero in advance. svn-id: r47272
2010-01-12SCI: added comment about "not behaving like sierra here", also added TODO on ↵Martin Kiewitz
mouse state change svn-id: r47270
2010-01-12SCI: deleting _font when changing active fontMartin Kiewitz
svn-id: r47269
2010-01-12SCI: deleting _music in destructorMartin Kiewitz
svn-id: r47268
2010-01-12SCI: View::getCelCount now validates inputMartin Kiewitz
svn-id: r47267
2010-01-12SCI: continue when kPortrait is called with no sync resource existant for ↵Martin Kiewitz
mouth movement, prints warning() instead svn-id: r47263
2010-01-12SCI: Handle master volume inside music driversWalter van Niftrik
svn-id: r47261
2010-01-12Added mouse click handling for top menus (mouse clicks on menu items of each ↵Filippos Karapetis
menu are not handled yet) svn-id: r47260
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258
2010-01-11SCI: changed displaceY and displaceX for cels to int16, also inserted cast ↵Martin Kiewitz
to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems svn-id: r47257
2010-01-11Fix bug #2929619: "IHNM: Small problem detecting German version"Eugene Sandulenko
svn-id: r47255
2010-01-11Don't update the screen twice while waitingFilippos Karapetis
svn-id: r47254
2010-01-11Changed all kGraph calls which handle rectangles to use kGraphCreateRect(). ↵Filippos Karapetis
Also, changed kGraphCreateRect() to return a rect, rather than update a rect pointer svn-id: r47253
2010-01-11New music code: Implemented sound stopping after fading, and disabled MIDI ↵Filippos Karapetis
sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1 svn-id: r47252
2010-01-11Some portrait-related changes, to be used when portrait loading/unloading is ↵Filippos Karapetis
done. Also, added a comment on where the class is used svn-id: r47251
2010-01-11Moved all the cache limits inside helpers.h and removed an obsolete TODOFilippos Karapetis
svn-id: r47250
2010-01-11- Set the palette inside doit() againFilippos Karapetis
- Removed a now obsolete TODO - Portrait animations are now stopped when the Esc key is pressed, or when the engine should quit svn-id: r47247
2010-01-11The portrait file data is now freed after the portrait animation is doneFilippos Karapetis
svn-id: r47246
2010-01-11Cleanup, fixed a memory leakFilippos Karapetis
svn-id: r47245
2010-01-11Improve support for negative Timestamps, and add + and - operatorsMax Horn
svn-id: r47244
2010-01-11MADE: Use Mixer::getElapsedTime and Audio::Timestamp instead of ↵Max Horn
Mixer::getSoundElapsedTime svn-id: r47243
2010-01-11- Don't set the palette per portrait frame - setting the whole screen ↵Filippos Karapetis
palette is a very expensive operation, and shouldn't be done on each frame, especially when all of the frames use the same palette - Cleanup svn-id: r47241
2010-01-11Hide the mouse cursor while a video is being playedFilippos Karapetis
svn-id: r47240
2010-01-10SCI: Fix default optimization level in AvoidPathWalter van Niftrik
svn-id: r47239
2010-01-10Silenced warnings ("this" isn't defined on object instantiation, and ↵Filippos Karapetis
commented out some unused variables) svn-id: r47237
2010-01-10fix #2926655: "Teenagent: Inventory problems on BE systems"Joost Peters
svn-id: r47236
2010-01-10Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual ↵Johannes Schickel
keyboard in menu mutes audio") svn-id: r47233
2010-01-10Fix a memory leak.Johannes Schickel
svn-id: r47227
2010-01-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-10SCI: kPortrait - abort on mouse presses onlyMartin Kiewitz
svn-id: r47225
2010-01-10SCI: kPortrait - mouse click now aborts portraitMartin Kiewitz
svn-id: r47224
2010-01-10SCI: fixed typo when getting resourceId on kPortrait call - fixes resource ↵Martin Kiewitz
not found in kq6 within pawn shop svn-id: r47223
2010-01-10SCI: kPortrait - error() out when resource could not be foundMartin Kiewitz
svn-id: r47222
2010-01-10SCI: ignore hiresMode when not being upscaledHires for kDrawCel and ↵Martin Kiewitz
updateBox on kGraph - fixes kq6 dos svn-id: r47221
2010-01-10SCI: changed SoundResource constructor to set values for ↵Martin Kiewitz
digitalChannelNr/digitalSampleRate and digitalSampleSize at any time svn-id: r47220
2010-01-10SCI: updateBox now also supports hires modeMartin Kiewitz
svn-id: r47219
2010-01-10SCI: changed location of hack inside kDrawCel, coordinates of savedhiresbox ↵Martin Kiewitz
may not get port adjusted svn-id: r47218
2010-01-10SCI: switching to hires kDrawCel when 8th parameter is passed, fixed ↵Martin Kiewitz
kDrawCel port adjust - fixes kq6 hires inventory svn-id: r47217
2010-01-10Handle properly shouldQuit()Robert Špalek
svn-id: r47215
2010-01-09SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor ↵Martin Kiewitz
still works during execution, makes lip sync perfect (thx to the other fix by fingolfin) svn-id: r47214
2010-01-09Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a ↵Max Horn
higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it. svn-id: r47213
2010-01-09SCI: kPortrait - drawing base bitmap before drawing animation bitmapMartin Kiewitz
svn-id: r47211
2010-01-09kPortrait: found the coordinate offsets, corrected actual bitmap size ↵Martin Kiewitz
(sometimes extra bytes are appended per line) animation bitmaps now valid svn-id: r47210
2010-01-09SCI: deleting _bitmaps and unlocking sync resource in kPortraitMartin Kiewitz
svn-id: r47208