aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
AgeCommit message (Collapse)Author
2011-10-01PARALLACTION: Fixed bugs #2880939 and #3135868Filippos Karapetis
A regression from commit 774773b. Many thanks to digitall for bisecting
2011-09-29PARALLACTION: Code formatting (and trying to keep clone2727 happy! :P )Filippos Karapetis
2011-09-29PARALLACTION: Fixed bug #2969915 - "NIPPON: Disguise changing back and forth"Filippos Karapetis
A regression from commit 18b48c7. The name of the normal Donna actor is "donna", whereas it's "donnatras" for the disguised one, so strstr() seems to be wrong here. This fixes the bug and it shouldn't cause any further regressions. Also, changed the relevant code to conform to our code convention guidelines - it's quite a bad idea to not enclose a whole big code block in brackets, as it becomes hard to read.
2011-09-28PARALLACTION: Updated the fix for script bug #2969913 to a workaroundFilippos Karapetis
2011-09-28PARALLACTION: Fixed bug #2969913 - "NIPPON: Katana graphics not shown ↵Filippos Karapetis
(regression)"
2011-09-02PARALLACTION: Add Graphics Debug Output. Minor Whitespace Fixes.D G Turner
This adds debug output for graphics object access to help with investigation of bug #2969913 i.e. "NIPPON: Katana graphics not shown (regression)" as well as cleanup of whitespace in this class.
2011-08-24PARALLACTION: Correct Previous Commit to Coding Conventions.D G Turner
2011-08-24PARALLACTION: Improve safety of PathBuffer Accesses in Pathfinding.D G Turner
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-06ALL: Reduce audio/ header dependencyEugene Sandulenko
2011-07-03COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined.Johannes Schickel
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
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-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-10PARALLACTION: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
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-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-30PARALLACTION: Fix BRA Compilation After Common Header Changes.D G Turner
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-17PARALLACTION: Prefer Surface::create taking a PixelFormat over the one ↵Johannes Schickel
taking a byte depth.
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-25AUDIO: Move more common code to Audio::MidiPlayerMax Horn
This also should fix some regressions from the previous commits, related to MidiParser's either being leaked, or being deleted and then used again (i.e., crashing). I tested as many games as I had available, but further testing of all affected engines is called for anyway.
2011-03-25PARALLACTION: Move MidiDriver creation into MidiPlayer(_MSC) constructorsMax Horn
2011-03-24PARALLACTION: Change MidiPlayer impls to derive from Audio::MidiPlayerMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-23ENGINES: Use Common::StackLock in more placesMax Horn
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-19PARALLACTION: Init volume levels on startupdhewg
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-16PARALLACTION: Use signed math in fadeTo.Alyssa Milburn
This fixes corruption during fades when low palette values end up negative.
2011-02-16PARALLACTION: Fix half bright palette.Johannes Schickel
Thanks to peres for pointing this out to me.
2011-02-14PARALLACTION: Adapt to setPalette RGBA->RGB change.Johannes Schickel
This change is not tested, but should hopefully work fine.
2011-02-12JANITORIAL: Remove duplicate #include'sOri Avtalion
svn-id: r55889
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-08PARALLACTION: Avoid hiding overloaded virtual methods.Nicola Mettifogo
svn-id: r55820
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-06PARALLACTION: update MIDI driver commands description for BRA.Nicola Mettifogo
svn-id: r55792
2011-01-29PARALLACTION: Use CursorMan to control cursor instead of backend functions.Nicola Mettifogo
svn-id: r55611
2011-01-29PARALLACTION: Cleanup dialogue code.Nicola Mettifogo
Shorten long lines to increase readability. svn-id: r55610
2011-01-29PARALLACTION: Add default case to silence GCC warning.Torbjörn Andersson
Not that I understand exactly what this function does, but since it's a piece of debug code I figure I don't really have to. svn-id: r55608
2011-01-29PARALLACTION: Cleanup dialogue code.Nicola Mettifogo
Turned 'no answer selected' into a constant. svn-id: r55607