aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
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
2009-02-26Merged walk code for NS, and simplified handling.Nicola Mettifogo
svn-id: r38894
2009-02-26Fixed crashes and leaks when quitting BRA from menu and splash screen.Nicola Mettifogo
svn-id: r38893
2009-02-26Cleanup of CommandExec and ProgramExec, and pushed down dependencies from ↵Nicola Mettifogo
exec.h. svn-id: r38892
2009-02-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
2009-02-24Implemented follower support, except that:Nicola Mettifogo
* follower is forgotten when location changes (see freeLocation) * the final walking frame is screwed svn-id: r38838
2009-02-24Changed interface to walk code, to better handle the differences between ↵Nicola Mettifogo
games. Moreover: * merged PathBuilder_BR into PathWalker_BR * implemented checkTrap routine for BRA svn-id: r38836
2009-02-23Cleanup.Nicola Mettifogo
svn-id: r38817
2009-02-23* Refactored drawAnimations to be more easily extensible when adding ↵Nicola Mettifogo
game-specific features. * Added a new zonesToUpdate list to keep track of movable zones. svn-id: r38815
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-07Fixed warningsMax Horn
svn-id: r35780