aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
AgeCommit message (Collapse)Author
2010-11-01TINSEL: Correcting my previous commit, oopsMax Horn
svn-id: r54030
2010-11-01TINSEL: Fix a leak in DW2, and a potential OOB in NextTaggedActorMax Horn
svn-id: r54029
2010-11-01TINSEL: Fixed two places that weren't reset when exiting to the launcher and ↵Filippos Karapetis
reentering the game. There could be (and most likely are) others as well svn-id: r54028
2010-11-01TINSEL: Explain why exactly RTL is disabledMax Horn
The very same issue probably affects more engines, possibly even some which have RTL enabled. svn-id: r54027
2010-11-01ENGINES: Get rid of some (f)printfsMax Horn
svn-id: r54011
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
2010-10-31TINSEL: Reintroduce DUMMY variable removed in r53932Ori Avtalion
This placates compilers that complain about the semicolon in "CORO_BEGIN_CONTEXT;" svn-id: r53992
2010-10-31TINSEL: cleanupMax Horn
svn-id: r53991
2010-10-30TINSEL: Remove redundant if()Max Horn
svn-id: r53936
2010-10-30TINSEL: Remove unnecessary CORO_PARAM from ObjectTextOutMax Horn
As a nice side effect, this gets rid of 25 out of 64 occurrences of nullContext in the TINSEL code. svn-id: r53935
2010-10-30TINSEL: Fix subtle leak in coroutine code, some minor tweaksMax Horn
* Fix a bug which caused coroutines invoked with nullContext to leak their state. Sadly, nullContext is underdocumented, yet very delicate and full of subtleties... ./ * Move nullContext decl from sched.cpp to coroutine.cpp * Enhance a few doxygen comments svn-id: r53934
2010-10-30TINSEL: Dispose state of active coroutines in Scheduler destructorMax Horn
This fixes some leaks that occurred when exiting the game resp. returning to launcher. Note that we still leak some coroutines when exiting after loading a savegame. svn-id: r53933
2010-10-30TINSEL: Add COROUTINE_DEBUG macro to ease debugging coroutine codeMax Horn
svn-id: r53932
2010-10-22TINSEL: Fix for #3091314 - Added extra detection entries for Multi-lingual DW1Paul Gilbert
This adds in German, Italian, and Spanish as detection entries, so a user can immediately select what language to run the game in. svn-id: r53724
2010-10-22TINSEL: Ignore SV_SPEECHDELAY in DW2 DemoPaul Gilbert
This stops the long delays at the start of playing each sample svn-id: r53717
2010-10-22TINSEL: Load samples file for DW2 DemoPaul Gilbert
svn-id: r53714
2010-10-22TINSEL: Fix incorrectly mapped opcode in DW2 DemoPaul Gilbert
svn-id: r53712
2010-10-22TINSEL: Remove unused functionPaul Gilbert
svn-id: r53711
2010-10-22TINSEL: Compilation fixPaul Gilbert
svn-id: r53709
2010-10-22TINSEL: Added new opcode set for the DW2 DemoPaul Gilbert
svn-id: r53708
2010-10-22TINSEL: Added detection entry for DW2 DemoPaul Gilbert
svn-id: r53707
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-10-15TINSEL: Fix for #3087863 - Code analysis warningsPaul Gilbert
svn-id: r53471
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-09-28TINSEL: Remove redundant '_Windows' checkMax Horn
svn-id: r52932
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-12TINSEL: Remove unused variableEugene Sandulenko
svn-id: r52684
2010-09-11TINSEL: Fix for #3032780 - Mute not respected in DW1Paul Gilbert
svn-id: r52674
2010-09-11TINSEL: Fix for #3032778 - Mute not respected in DW2Paul Gilbert
svn-id: r52673
2010-08-25TINSEL: Fix bug #3032780: "DW: Mute setting does not work"Eugene Sandulenko
Bug #3032778 was fixed too as it is the duplicate. Since there is no engine-specific logic, rely on superclass' setupSoundSettings(), and use it on startup too. svn-id: r52374
2010-08-24TINSEL: Code cleanup, fixed potentially undefined behaviorFilippos Karapetis
svn-id: r52338
2010-08-24TINSEL: Adjusted the commented out music debug code for the latest changes toFilippos Karapetis
the lookup tables svn-id: r52333
2010-08-24TINSEL: Removed the hardcoded MIDI offset arrays.Filippos Karapetis
MIDI offsets for the enhanced music soundtrack are now calculated on the fly svn-id: r52331
2010-08-24TINSEL: Fixed final track mapping to Ench soundtrack.Eugene Sandulenko
For some reason it referred to non-existent 3141. Changed it to correct 3142. svn-id: r52324
2010-08-24TINSEL: Partial fix for MIDI in German release.Eugene Sandulenko
Bug #2827022: "DW: Enhanced music doesn't work". This release has completely different MIDI.DAT file. So far offsets and detection for this version were added. The mapping has to be confirmed with James Woodcock. svn-id: r52323
2010-08-17TINSEL: fix warningEugene Sandulenko
svn-id: r52149
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-16Cleanup.Torbjörn Andersson
svn-id: r50924
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-12TINSEL: Replace global object s_rectList by a TinselEngine member varMax Horn
svn-id: r50834
2010-06-29Silence possible use of uninitialized variable warning in g++.Johannes Schickel
svn-id: r50501
2010-06-27Fixed GCC warnings. (Same warning twice, actually.)Torbjörn Andersson
svn-id: r50383
2010-06-27Workaround that corrects some bad frame data in the Russian version that was ↵Paul Gilbert
causing the several game crashes svn-id: r50372
2010-06-27Script workaround fix for bug #2917661 - Crash when interacting with D'BlahPaul Gilbert
svn-id: r50360
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-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-15Moved tinsel detection tables to separate file.Eugene Sandulenko
svn-id: r49694
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678