aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2007-04-21Slighty modified patch #1704979: "Fix for #1690045: ITE: Item description ↵Eugene Sandulenko
missing" svn-id: r26558
2007-04-21More meaningful error messageEugene Sandulenko
svn-id: r26557
2007-04-14oops, openStreamFile of course uses milliseconds, not frames, for the ↵Max Horn
playback offsets/durations svn-id: r26475
2007-04-14Removed some leftoversMax Horn
svn-id: r26474
2007-04-14Replaced the use of DigitalTrackInfo objects (which were being leaked, BTW) ↵Max Horn
with a call to openStreamFile (code completely *untested*, so it might not work properly yet). Note the new FIXME comment regarding the playback duration svn-id: r26473
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2007-03-18SAGA: Make use of EventManager::getMousePosMax Horn
svn-id: r26223
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-02-25Fix looping for enchanced soundtracks.Eugene Sandulenko
svn-id: r25855
2007-02-24Added numLoops parameter to DigitalTrackInfo::playMax Horn
svn-id: r25836
2007-02-19Renamed SAGA_xxx_H_ to SAGA_xxx_H for consistency.Torbjörn Andersson
svn-id: r25726
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13AdvancedDetector changes:Max Horn
* Renamed genGameList to gameIDList to make it match the corresponding plugin API function name * removed the detectFunc param from detectGameForEngineCreation, as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames * as a consequence, removed the various GAME_detectGames functions from the engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN svn-id: r25547
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and ↵Max Horn
add it for AGOS, too svn-id: r25543
2007-02-13(re)added flags field to ADGameDescription, with currently only one value ↵Max Horn
(GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet) svn-id: r25539
2007-02-04AdvancedDetector now has built-in fallback detection based on file lists.Eugene Sandulenko
Currently only gob engine benefits from it. svn-id: r25374
2007-02-03* Reimplemented Mixer::pauseAll to simply invoke pause on all channelsMax Horn
(implying change of semantics) * Reordered the params of Mixer::playRaw (the SoundType now comes first, not last) * Removed Mixer::isPaused * Removed Mixer::getSoundElapsedTimeOfSoundID * Added some doxygen comments to the Mixer svn-id: r25356
2007-01-30warningsGregory Montoir
svn-id: r25284
2007-01-29Now AdvancedDetector could use single ID per engine. Also it can suggestEugene Sandulenko
more complex game IDs with platform and language specified. AGI engine benefits most from that. Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID. svn-id: r25269
2007-01-28Add more paramteres to AdvancedDetector. Not used yet.Eugene Sandulenko
svn-id: r25241
2007-01-25Lots of cleanup in the AdvancedDetectorMax Horn
svn-id: r25194
2007-01-25Reduce #include dependenciesEugene Sandulenko
svn-id: r25178
2007-01-25Use file sizes in detection too.Eugene Sandulenko
svn-id: r25172
2007-01-24Sync with last AdvancedDetector changesEugene Sandulenko
svn-id: r25167
2007-01-24Add optional size parameter to ADGameFileDescription. Not used now.Eugene Sandulenko
svn-id: r25164
2007-01-21Reduce dependency from common/advancedDetector.hEugene Sandulenko
svn-id: r25156
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2006-12-29Make ADGameFileDescription is built in directly into ADGameDescription.Eugene Sandulenko
svn-id: r24947
2006-12-19Renamed real_ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION to ↵Max Horn
ADVANCED_DETECTOR_DETECT_GAMES_FUNCTION, and real_ADVANCED_DETECTOR_DETECT_INIT_GAME to ADVANCED_DETECTOR_DETECT_INIT_GAME svn-id: r24896
2006-12-19Merged SagaEngine::postInitGame() into SagaEngine::initGame()Max Horn
svn-id: r24887
2006-12-19Get rif od ARRAYSIZE in ADGameDescriptionEugene Sandulenko
svn-id: r24882
2006-12-19Got rid of ARRAYSIZE in advanceDetector callsEugene Sandulenko
svn-id: r24881
2006-11-27Got rid of an 'unused variable' warningGregory Montoir
svn-id: r24792
2006-11-12Reworked code in the advanced game detector (getting rid of much of the evil ↵Max Horn
#define hell it consisted of previously) svn-id: r24685
2006-11-10Next step in AdvancedDetector unification. Moved all common functions toEugene Sandulenko
macroses. Now typical usage is just list of macros with parameters and array of game details. svn-id: r24670
2006-11-09Workaround for bug #1259608: "ITE: Riff ignores command in Ferret merchantEugene Sandulenko
center" svn-id: r24664
2006-11-03got rid of two memory leaksGregory Montoir
svn-id: r24589
2006-10-24const correctnessMax Horn
svn-id: r24488
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21cleanupMax Horn
svn-id: r24407
2006-10-14Remove unneeded #includes.Eugene Sandulenko
svn-id: r24311
2006-10-08More const madness.Eugene Sandulenko
svn-id: r24191
2006-10-02Moved unrelated fields out of ADGameDescription structure.Eugene Sandulenko
svn-id: r24090
2006-10-02Unify SAGA/AGOS detection code so other engines could also reuse itEugene Sandulenko
without further code duplication. svn-id: r24083
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-16Overhaul of the debugger codeMax Horn
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker restrictions) * Change the base Debugger class to *not* be a template class anymore; instead, a thin (template based) wrapper class is used to hook up debugger commands * Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single version of each in GUI::Debugger * New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries the console to determine when to wrap * Debugger::preEnter and postEnter aren't pure virtual anymore svn-id: r23890