aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
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-15Split out detection code in Kyra engine.Eugene Sandulenko
svn-id: r49695
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
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-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-17Some more enforcement of our formatting conventions in KYRA too.Johannes Schickel
svn-id: r49069
2010-05-05Replace KYRA's strncpy and strncat usages by strlcpy/strlcat.Johannes Schickel
svn-id: r48954
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-01KYRA: fixed some cppcheck warningsFlorian Kagerer
svn-id: r48879
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-12Revert "Fix use of "friend" keyword in KYRA for strict C++ compilers."Johannes Schickel
Actually g++ is just fine in this case :-). The thing I missed here was that I declared the "offending" classes as friends in subclasses of KyraEngine_v1, thus those friends were allowed to access the protected elements of KyraEngine_v1 too. svn-id: r48643
2010-04-12Fix use of "friend" keyword in KYRA for strict C++ compilers.Johannes Schickel
Unlike g++, which does inherit friends (it seems), C++ does specify that friend is not inherited. I.e. when B is a friend of A and you have a class C subclassing B, C is not allowed to access private memebers of A. svn-id: r48641
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-04-11Setup and destroy a dummy cursor and palette in the Engine class.Johannes Schickel
The idea behind this is exactly the same as behind r48620, but it affects all engines, thus engine authors can now use CursorMan.replaceCursor without having to worry about possible memory leaks or the like. svn-id: r48626
2010-04-11Fix KYRA's cursor handling by pushing a dummy cursor via ↵Johannes Schickel
CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed. svn-id: r48621
2010-04-11Fix bug #2985387 "KYRA1: Crash at the end of game".Johannes Schickel
svn-id: r48617
2010-04-01Remove extra semicolonsOri Avtalion
svn-id: r48457
2010-03-29COMMON: Cleanup ConfigManager codeMax Horn
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417
2010-03-24Remove pointer dereferencation in a place, where the result is not used at all.Johannes Schickel
svn-id: r48396
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-20Fix out of bounds access.Johannes Schickel
svn-id: r48338
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-03-18Switch from Common::tag2string(foo).c_str() to tag2str(foo)Max Horn
svn-id: r48276
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2010-03-08Tweak makeVOCDiskStreamMax Horn
* now takes a SeekableReadStream *pointer* like (almost) all other audiostream factories * fix potential memory leak in it * rename takeOwnershipOfStream to disposeAfterUse for consistency svn-id: r48184
2010-03-04Fix item exchange string in Kyra 1 Amiga (both English and German).Johannes Schickel
svn-id: r48159
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-19Fix for bug #2954279 "KYRA: Error when loading non-existent savegame".Johannes Schickel
svn-id: r48089
2010-02-17Use Common::KEYCODE_* instead of ASCII values for keycode comparison.Johannes Schickel
svn-id: r48079
2010-02-17Use Common::KeyCode instead of int as key type for KeyMap.Johannes Schickel
svn-id: r48078
2010-02-09LOL: fixed script bug in castle cimmeria that would cause out of bounds mem ↵Florian Kagerer
access (should fix bug #2948109) svn-id: r48016
2010-02-07LOL: fixed handling of invalid monster attack sfx in the Urbish mines ↵Florian Kagerer
(should fix bug no #2945950) svn-id: r47967
2010-02-03- Rename FlacStream to FLACStream.Johannes Schickel
- Rename makeFlacStream to makeFLACStream. svn-id: r47846
2010-01-30Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.Johannes Schickel
svn-id: r47716
2010-01-29Fix yet another use of possibly undefined behavior reported by syke.Johannes Schickel
svn-id: r47689
2010-01-29Fix use of undefined behavior. (Thanks to syke for reporting)Johannes Schickel
svn-id: r47685
2010-01-27Fix invalid sample position on Timestamp to sample conversion for Stereo ↵Johannes Schickel
streams. svn-id: r47591
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Remove HACK, which is obsolete because of r47336.Johannes Schickel
svn-id: r47548
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Fixed warning.Torbjörn Andersson
svn-id: r47504
2010-01-24LOL: save/load menu speed upFlorian Kagerer
svn-id: r47501
2010-01-23Reorder params to Audio::makeRawMemoryStreamMax Horn
svn-id: r47492
2010-01-23Paranoia change: add some explicit terminating 0 after some strncpy uses.Johannes Schickel
svn-id: r47479
2010-01-23Get rid of deprecated makeRawDiskStream variants; rename deprecated ↵Max Horn
makeRawMemoryStream variant to makeRawMemoryStream_OLD; adapt some code to this change svn-id: r47472
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395