aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2010-11-18ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵Max Horn
avoid using 'using' svn-id: r54323
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-10-24SAGA: reduce memory usageAndrew Kurushin
svn-id: r53782
2010-10-24SAGA: fix SAGA_DEBUG; fix IHNM cutaway typoAndrew Kurushin
svn-id: r53781
2010-10-24SAGA: fix const cast warnsAndrew Kurushin
svn-id: r53780
2010-10-24SAGA: replace Resource:loadResource malloc with ByteArray classAndrew Kurushin
svn-id: r53779
2010-10-24SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with ↵Andrew Kurushin
Common::Array svn-id: r53773
2010-10-24SAGA: replace Actor::_actors and _objs malloc base arrays with Common::ArrayAndrew Kurushin
svn-id: r53766
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-23SAGA: replace Events malloc base linked list with Common::ListAndrew Kurushin
svn-id: r53751
2010-10-23SAGA: fix typoAndrew Kurushin
svn-id: r53750
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