aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
2013-04-15PARALLACTION: CleanupWillem Jan Palenstijn
2012-09-27PARALLACTION: Clean up global variables a bit.Alyssa Milburn
2012-09-27PARALLACTION: Remove unused function.Alyssa Milburn
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
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-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-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-19PARALLACTION: Init volume levels on startupdhewg
2011-01-28Replaced char* with Common::String in balloon code.Nicola Mettifogo
svn-id: r55590
2011-01-21PARALLACTION: Fix Un-initialized Memory Errors and Leaks in Nippon Safes ↵David Turner
Amiga Demo. These were found using Valgrind. svn-id: r55369
2011-01-14PARALLACTION: Fix Valgrind Error on Engine Exit.David Turner
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well. Thanks to fuzzie for this code. svn-id: r55233
2011-01-02JANITORIAL: Suppress some useless includesArnaud Boutonné
svn-id: r55091
2010-12-12PARALLACTION: do not skip commands on Examine zones if there is no text to ↵Nicola Mettifogo
show. This fixes bug #3135782. svn-id: r54882
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-05-22Cleanup (removed many Parallaction::getGameType() calls).Nicola Mettifogo
svn-id: r49146
2010-05-22Finish implementation of hitZone and related functions as from the original ↵Nicola Mettifogo
code. svn-id: r49145
2010-05-22Apply patch 3004687 by fuzzie: allow usage of merge zones.Nicola Mettifogo
svn-id: r49144
2010-05-22Use the kZoneYourself flag to check zones for self-use in BRA. See patch ↵Nicola Mettifogo
3003626. svn-id: r49138
2010-05-22Make sure hitZone always gets absolute game coordinates. Based on the patch ↵Nicola Mettifogo
3004658 by fuzzie. svn-id: r49135
2010-05-19Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. ↵Nicola Mettifogo
Patch 3003382 by fuzzie, with enhancements. svn-id: r49105
2010-05-19Do not try and run dialogues when there is no dialogue defined in a SPEAK ↵Nicola Mettifogo
zone. Patch 3003382 by fuzzie. svn-id: r49103
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-28Make sure dialogue manager is destroyed on quit.Nicola Mettifogo
svn-id: r48847
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-04-28Added in-game menu for BRA. Load/save is not supported yet.Nicola Mettifogo
svn-id: r40176
2009-04-06Cleanup of Balloon and Dialogue code:Nicola Mettifogo
* moved version-specific code into DialogueManager's derivatives * reworked construction of BalloonManager's derivatives * moved a couple of globals used in dialogues (NS specific) to engine svn-id: r39878
2009-04-03Moved Nippon Safes specific code from Parallaction to Parallaction_ns and ↵Nicola Mettifogo
adapted client code. svn-id: r39813
2009-03-31Added basic multiple inventory support. This will be used for the GIVE and ↵Nicola Mettifogo
SWAP commands. svn-id: r39773
2009-03-31Character doesn't need a reference to the engine anymore.Nicola Mettifogo
svn-id: r39770
2009-03-29(Re)link bounding animations after location has been completely parsed. This ↵Nicola Mettifogo
avoids problems due to forward references. svn-id: r39740
2009-03-28Add sound effects support for PC version of BRA.Travis Howell
svn-id: r39716
2009-03-23Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into ↵Nicola Mettifogo
TypeData struct. This simplifies life a bit especially in the parsers. svn-id: r39645
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-03-17Fixing the last commit, by using the right type in the cast.Nicola Mettifogo
svn-id: r39491
2009-03-17Another explicit cast for a historic compiler.Nicola Mettifogo
svn-id: r39490
2009-03-17Removed one of the overloads of SoundMan::execute(), to make retarded ↵Nicola Mettifogo
compiler happy. Added a couple of explicit casts from bool to int, so that other compiler don't complain instead. svn-id: r39489
2009-03-16Fix crash regression in BRA introduction for now.Travis Howell
svn-id: r39444
2009-03-14Fixed building on 64-bit architectures.Nicola Mettifogo
svn-id: r39395
2009-03-14* Added a generic sound manager that hides engine-specific managers and ↵Nicola Mettifogo
allows accessing them through a simplified command/parameter interface. * Updated client code to use the new manager. * Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp. svn-id: r39394
2009-03-02Fixed selection of zone and animation for removal in BRA. This enables the ↵Nicola Mettifogo
follower animation to follow the main character across location switches. svn-id: r39065
2009-02-27The engine has now to build the drawing list for the graphic department, ↵Nicola Mettifogo
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928
2009-02-26Added filter to preserve needed Animation across location switch.Nicola Mettifogo
svn-id: r38903
2009-02-26changeLocation now uses the internal variable _newLocationName instead of an ↵Nicola Mettifogo
input parameter. svn-id: r38902
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897