aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.cpp
AgeCommit message (Collapse)Author
2014-07-20SAGA: Add debug commands for playing music, sounds and voicesFilippos Karapetis
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2012-11-11SAGA: Add support for played timeFilippos Karapetis
2011-07-09SAGA: Removed several game flags, which are now found more reliably on the flyFilippos Karapetis
- The logo screens of all ITE versions are shown correctly now - Wyrmkeep versions, demo versions with scene substitutes, demos with mono music and demo versions with LE VOX encoded voices are all found automatically now
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-19SAGA: Cleanup syncSoundSettings()dhewg
And respect global mute settings
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-10-24SAGA: replace Resource:loadResource malloc with ByteArray classAndrew Kurushin
svn-id: r53779
2010-10-23SAGA: Add some const qualifiers to SagaEngine methodsMax Horn
svn-id: r53737
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-20SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of ↵Andrew Kurushin
memory for every string table svn-id: r53651
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-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-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-12SAGA: Music code cleanup. The music driver is now placed inside the ↵Filippos Karapetis
MusicPlayer class, instead of the SagaEngine class. Split the functionality that the music parser should handle from the functionality that the music driver should handle. Also, fixed a bug in MusicDriver::send() (the notes off signal was sent to unallocated channels, not allocated ones) svn-id: r49607
2010-06-02OSYSTEM: Get rid of kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r49388
2010-05-16Added automatic detection of the IHNM demoFilippos Karapetis
svn-id: r49047
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-03-10Fix bug #2963556: SAGA: Memory leaksAndrew Kurushin
svn-id: r48224
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-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
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-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-01-20Implemented getDebugger()Filippos Karapetis
svn-id: r35967
2009-01-18Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for nowMax Horn
svn-id: r35915
2009-01-04Improved handling of sound resourcesFilippos Karapetis
svn-id: r35724
2009-01-02Split the script module into two parts, for SAGA1 and SAGA2 gamesFilippos Karapetis
svn-id: r35689
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-31Preliminary Shorten audio support for SAGA 2 games. It's still very wrong ↵Filippos Karapetis
and needs further work, but it's a start svn-id: r35626
2008-12-25- Implemented the SAGA2 resource loaderFilippos Karapetis
- Some cleanup svn-id: r35536
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-22- Split the SAGA resource manager in 3 different ones, depending on the ↵Filippos Karapetis
resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub - Added detection for the voice file of FTA2 svn-id: r35484
2008-12-21Added some more stubs for FTA2Filippos Karapetis
svn-id: r35475
2008-12-21- Added some stubs for the SAGA2 games dino and fta2Filippos Karapetis
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
2008-12-21Cleaned up the mess with game IDs and game types: removed game types, ↵Filippos Karapetis
reduced the game IDs and added game features where necessary svn-id: r35467
2008-12-19Removed defaults which are set in base/commandLine.cppFilippos Karapetis
svn-id: r35444
2008-12-19Removed the hasKey() hackery of my previous commit and used ↵Filippos Karapetis
ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default svn-id: r35437
2008-12-19Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct ↵Filippos Karapetis
default values for missing config manager settings svn-id: r35436
2008-11-13Fixed crash when returning to launcher from the GMMFilippos Karapetis
svn-id: r35050
2008-11-13Added better checks for the current music status in pauseEngineIntern()Filippos Karapetis
svn-id: r35035
2008-11-11Fixed warning. (GCC doesn't like the variable 'isPaused' because there ↵Torbjörn Andersson
already is an isPaused() function.) svn-id: r35009
2008-11-11Implemented pauseEngineIntern() for the SAGA engineFilippos Karapetis
svn-id: r35007
2008-11-10CleanupFilippos Karapetis
svn-id: r34988