aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.cpp
AgeCommit message (Collapse)Author
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-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-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-17TINSEL: fix warningEugene Sandulenko
svn-id: r52149
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-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-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-28TINSEL: Avoid global constructor for clickPosMax Horn
svn-id: r48841
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-11-02TINSEL: Turn config code into a simple C++ classMax Horn
svn-id: r45617
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-27TINSEL: Change MemoryAllocFixed to return a (kind of fake) MEM_NODE pointer; ↵Max Horn
add MemoryDeinit() svn-id: r45426
2009-10-20TINSEL: Move Common::List instances mouseButtons & keypresses into TinselEngine.Max Horn
Global C++ objects are not portable, as their constructors / destructors may never be called. svn-id: r45283
2009-10-20TINSEL: Move BMV player code into a new BMVPlayer classMax Horn
svn-id: r45269
2009-10-20TINSEL: Start cleanup BMV codeMax Horn
svn-id: r45268
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-08-18Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD ↵Johannes Schickel
audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files) svn-id: r43512
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-06-16Formatting.Johannes Schickel
svn-id: r41588
2009-06-16tinsel: check only english.txt for DW1 psx version detection, and use ↵Fabio Battaglia
recursive "SearchMan.addDirectory()" to obtain subdirs for Discworld PSX datafiles svn-id: r41587
2009-05-31tinsel: workaround for "missing red dragon in Act IV" bug in Discworld PSXFabio Battaglia
svn-id: r41068
2009-05-26tinsel: add default paths needed by Discworld PSX, now the user shouldn't ↵Fabio Battaglia
need to move files around svn-id: r40901
2009-05-25Till we specify an common behavior when loading a game state on startup ↵Johannes Schickel
fails / the user tries to load an non existing save slot, change Tinsel to start up the game as if no slot was specified. (This 'fixes' bug #2796215 "DW: Black screen when loading via command line") svn-id: r40890
2009-04-29Re-introduced the ability to skip the title scenes in Discworld 1. Since the ↵Paul Gilbert
exact scene numbers differed between language versions, this new version simply relies on skipping the first four screens - hopefully, none of the various versions will have any extra title screens. svn-id: r40196
2009-04-25Added code to enable Discworld 2 to play directly from the CD (only the ↵Paul Gilbert
first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd). svn-id: r40141
2009-03-15Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the ↵Max Horn
SCI engine svn-id: r39428
2009-03-01only center vertically in DW2Kostas Nakos
svn-id: r39052
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-20Implemented loading from the command line and the GMM for tinsel ↵Filippos Karapetis
(kSupportsLoadingDuringStartup) svn-id: r35958
2009-01-20Some WIP code for the kSupportsLoadingDuringStartup engine featureFilippos Karapetis
svn-id: r35932
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-21Disable loading from command line again, it seems it only worked for saves, ↵Johannes Schickel
which did a cd change in DW2 and I only tested those by chance. svn-id: r35456
2008-12-20- Added comment about error check when loading save on startupJohannes Schickel
- Updated code to properly test the last three digits of save filenames instead of only the last two svn-id: r35455
2008-12-20Implemented support for loading saves from launcher / via command line.Johannes Schickel
svn-id: r35454
2008-12-12- Save games are now listed from oldest to newest in the GMM load dialog for ↵Filippos Karapetis
tinsel games, like in other engines - Added some disabled code for saving through the GMM (still incomplete) svn-id: r35316
2008-12-04This should make the US version workSven Hesse
svn-id: r35243
2008-12-03- Added back the English V1 CD version of DW1 (with *.gra files)Filippos Karapetis
- Added the US version of DW2 - Added placeholders for the Hebrew, Hungarian and Japanese versions of DW2 (not sure if they're correct) svn-id: r35222
2008-12-02DW2: Add support for the Italian/Spanish releaseJordi Vilalta Prat
svn-id: r35211