aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
AgeCommit message (Collapse)Author
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-14Extended advancedDetector with depth parameter.Eugene Sandulenko
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
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-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-19Fix static initializationRobert Špalek
svn-id: r48722
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-11Fix bug 2983187 on continuing palette changeRobert Špalek
svn-id: r48615
2010-04-02Fixed bug 2976767 on corrupted char glyphs.Robert Špalek
After unfinished translation of the game, several inaccessible characters have been left in the game files. Since the font does not contain all 256 characters, trying to draw them brings them random jump. I now properly skip these characters. svn-id: r48462
2010-04-01Dragon History: fixing properly bug 2976774Robert Špalek
The previous bugfix just hid the problem by removing an assert, but it might demonstrate itself in another way later. This is a proper bugfix. svn-id: r48460
2010-03-31Basic correction for bug #2976774 "DRACI: Segfault Crash When Leaving ↵David Turner
Inventory". This patch corrects the valgrind fault, but may not be the ultimate fix. This should be reviewed before backport to v1.1.0 branch. svn-id: r48434
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-02-27DRACI: Don't try to set the volume for channels that couldn't be allocated ↵Jordi Vilalta Prat
(fixes bug #2907954: "DRAGON: Crash in Intro") svn-id: r48147
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-02-09Remove last traces of File::addDefaultDirectoryMax Horn
svn-id: r48027
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-19Started to get rid of Audio::FLAG_LOOPMax Horn
svn-id: r47397
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Remove loop start/end params from Mixer::playRaw; convert some code from ↵Max Horn
Mixer::playRaw to Mixer::playInputStream svn-id: r47375
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
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
2010-01-10Handle properly shouldQuit()Robert Špalek
svn-id: r47215
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2009-12-09Silence gcc warning.Johannes Schickel
svn-id: r46326
2009-12-09Fix compilation for systems without USE_RGB_COLOR defined.Johannes Schickel
svn-id: r46323
2009-12-09DRACI: Reduce header interdependencies; some cleanupMax Horn
svn-id: r46320
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-12-08Attempt to fix MSVC warning C4121.Johannes Schickel
svn-id: r46299
2009-12-07For consistency, make F5 bring up the main menu in the Draci engine too, justTorbjörn Andersson
like megath just did in the TeenAgent engine. svn-id: r46284
2009-11-30Removed <cmath> includes since a) not a part of Symbian OS b) Compiles fine ↵Lars Persson
without it (at least with Symbian OS GCCE 3.4.3 and CW 2) svn-id: r46213
2009-11-28Hopefully fix switching to the map right after switching the locationRobert Špalek
It seems that the mouse was simply on the below line and triggered the switch to the map without the user realizing. svn-id: r46171
2009-11-28Fixed bug with exhausting sound handlesRobert Špalek
It was caused by forever re-starting the same sample when the animation was stopped and the same frame got displayed over and over, each time triggering playing the same sample. svn-id: r46168
2009-11-26Fix SIGSEGV found by ValGrindRobert Špalek
svn-id: r46142
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-11-23DRACI: Reduce header interdependencyMax Horn
svn-id: r46117
2009-11-23Fixed breaking long lines instead of using smaller font (which is sometimes ↵Robert Špalek
not enough) svn-id: r46101
2009-11-22Move setIsReloaded(false) in enterNewRoom() to the right place.Robert Špalek
Last commit moved it below, but that cancelled GPL2 programs run right after loading the game. svn-id: r46099
2009-11-22Remove obsolete and unneeded logic bypassing reloading a location.Robert Špalek
I have tested that this could only possibly happen when the game has been loaded with last location being the map. Then pressing Escape calls enterNewRoom() and this superfluous optimization takes place. It is harmless to simply reload the map. After having removed it, enterNewRoom() needs not return any return value, because the test at the tail can be done by the caller. I have then restructured the code a little to make it cleaner. svn-id: r46098
2009-11-22Further cleaned up the hack with removing old animations.Robert Špalek
Now only a long-term (complete rewrite) TODO is left in the code, but nothing urgent to solve. svn-id: r46097
2009-11-22Make sure hands are empty after loading the gameRobert Špalek
(otherwise we could have in our hands an unreachable object). This works thanks to moving clearing _currentItem into putItem(), which gets called in inventoryReload(). svn-id: r46096
2009-11-22Clearing object animations in a cleaner wayRobert Špalek
Verified that we really do not need object animations even if they are in a different location, and clearing them thus regardless of their location. Although the game was not crashing due to previous work-arounds at this moment, this cleanup obliterates the most horrible hack and makes sure animations will never get stale. svn-id: r46095
2009-11-22Fixed assert() on already loaded animationRobert Špalek
Now the game seems fully playable with crazy loading all the time, even though it is a hacky solution. Updated the TODOs svn-id: r46094
2009-11-22Updated an urgent TODO to make the game playableRobert Špalek
svn-id: r46070