aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2010-10-23SAGA: replace decodeBGImage malloc with ByteArrayAndrew Kurushin
svn-id: r53748
2010-10-23ALL: Fix indention (whitespaces -> tabs)Max Horn
svn-id: r53738
2010-10-23SAGA: Add some const qualifiers to SagaEngine methodsMax Horn
svn-id: r53737
2010-10-23SAGA: Improve comment for ByteArray::getBuffer()Max Horn
svn-id: r53736
2010-10-22SAGA: fix gcc size_t warnsAndrew Kurushin
svn-id: r53722
2010-10-22SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, ↵Andrew Kurushin
Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation add ByteArray type fix debug Tile Hittest frame drawing debug 0x%x => 0x%X svn-id: r53719
2010-10-21SAGA: fix gcc warnAndrew Kurushin
svn-id: r53679
2010-10-21SAGA: replace Script and Thread "::*alloc" & "::free" with Common::ArrayAndrew Kurushin
svn-id: r53678
2010-10-21SAGA: unroll IsoMap::drawTile buffer copy loop; refactor Sprite::drawClipAndrew Kurushin
svn-id: r53677
2010-10-20SAGA: Fix warning: comparison of unsigned expression < 0 is always falseMax Horn
svn-id: r53660
2010-10-20SAGA: replace Sprite "::*alloc" & "::free" with Common::ArrayAndrew Kurushin
svn-id: r53658
2010-10-20SAGA: replace Font "::*alloc" & "::free" with Common::ArrayAndrew Kurushin
svn-id: r53656
2010-10-20SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of ↵Andrew Kurushin
memory for every string table svn-id: r53651
2010-10-20SAGA: Silence warningTorbjörn Andersson
svn-id: r53632
2010-10-19SAGA: SAGA: replace SpriteList "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53628
2010-10-19SAGA: replace Actors "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53627
2010-10-19SAGA: fix submit 53486 "Added sanity checks for realloc() calls - bug report ↵Andrew Kurushin
#3087852". zero count realloc may return NULL as valid value svn-id: r53614
2010-10-15SAGA: Added sanity checks for realloc() calls - bug report #3087852Filippos Karapetis
svn-id: r53486
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-10-02SAGA: Fix bug #3065113 with patched sound glitchEugene Sandulenko
Bug #3065113: "ITE demo: patched sound at intro is not played correctly" svn-id: r52975
2010-09-28SAGA: Fix wrong logo animation in some versions of ITETorbjörn Andersson
Not all releases put the Wyrmkeep credits patch in a "graphics" sub-directory, so assume it could be anywhere. svn-id: r52930
2010-09-28SAGA: Fix an ITE intro regressionTorbjörn Andersson
(Possibly related to bug #3076822 - ITE: Dialog repeats in intro.) The p2_a.voc patch file wasn't played. This was because the engine first loaded p2_a.voc as a replacement for voice resource 4. Then it tried to load p2_a.iaf and, when it failed, removed the patch data for the very same resource. Now it only tries to read a patch if it hasn't already found a patch for the resource. (There may have been a similar bug in the end credits as well.) svn-id: r52928
2010-09-28SAGA: Initialise _driverTypeTorbjörn Andersson
svn-id: r52922
2010-09-19SAGA: Fixed bug #3068840 - "ITE: ScummVM crashes when talking on the ferry"Filippos Karapetis
svn-id: r52799
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-15MIDI: Send a reset MIDI device signal on startup.Johannes Schickel
This is currently done in the engine code. I adapted AGI, AGOS, DRACI, GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset device on startup. The sound output still works fine (started up a game from every engine), so this should hopefully not introduce any regressions. As far as I can tell it seems that SCUMM does send a proper device reset, so I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am not sure about SCI though. This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI". svn-id: r52736
2010-09-14SAGA: Fix audio flags for VOC soundsWillem Jan Palenstijn
This is a regression from r43470 and fixes the speech in the intro. Bug #3065113. svn-id: r52727
2010-08-17SAGA: fix warningEugene Sandulenko
svn-id: r52150
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-16Removed unused variable. I believe thread->_instructionOffset serves the sameTorbjörn Andersson
purpose that 'addr' was inteded to. svn-id: r50951
2010-07-16The standalone MIDI files for one of the re-releases of Inherit the Earth areTorbjörn Andersson
General MIDI, not MT-32. (I hope this doesn't break anything else.) svn-id: r50927
2010-07-14Don't close the MIDI driver twice. It's unnecessary, and some of our driversTorbjörn Andersson
may crash. (The ALSA one did, until a few minutes ago.) svn-id: r50871
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-05SAGA: Fix warning on systems where enum's are unsignedMax Horn
svn-id: r50685
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-18CleanupFilippos Karapetis
svn-id: r50004
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-15AdvancedDetector: Add new parameter directoryGlobs.Eugene Sandulenko
Without this parameter mass detection gave tons of false alarms. Use globbing for narrowing down the depth search. svn-id: r49788
2010-06-15SAGA: fix timers.Eugene Sandulenko
Second parameter to intallTimerCallback is in _micro_seconds. Correct calls which assumed milliseconds. svn-id: r49771
2010-06-15SAGA: Fix bug #2827504.Eugene Sandulenko
Bug #2827504: "ITE: Music restarts on every background change in credits". We errorneously were stopping music on each scene, though it appeared only with Adlib music. svn-id: r49728
2010-06-15SAGA: Fix bug #2928923.Eugene Sandulenko
Bug #2928923: 'ITE: Graphic Glitches during racoon death "Cut Scene"'. Disable actor drawing for these scenes. A long standing bug in original. svn-id: r49727
2010-06-15SAGA: Fix bug #2886130.Eugene Sandulenko
Bug #2886130: "ITE: Graphic Glitches during Cat Tribe Celebration". We redraw statusbar for this scene. Bug in original. svn-id: r49726
2010-06-15SAGA: Fix bug #2886141.Eugene Sandulenko
Bug #2886141: "ITE: Cumulative Snoring sounds in Prince's Bedroom". Implemented safeguard against running same looped sound more than once. svn-id: r49725
2010-06-15SAGA: Fix bug #2886151.Eugene Sandulenko
Bug #2886151: "ITE: Mouse stops responding at Boar Castle" fixed by implementing a workaround. It is a script bug in original. svn-id: r49724
2010-06-15SAGA: Add debug output for sfLockUser()Eugene Sandulenko
svn-id: r49723
2010-06-15SAGA: Fix bug #1970191.Eugene Sandulenko
Bug #1970191: "IHNM: Psychic Profile problem". Still there is a slight artefact. When the profile has 2 pages and is skipped, there are two fade-ins in a row. It could be checked by analysing event queue. svn-id: r49698