aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
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
2009-01-07Implemented Engine::getDebugger().Nicola Mettifogo
svn-id: r35768
2009-01-07* moved more mask management to BackgroundInfoNicola Mettifogo
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765
2009-01-06Implemented pauseEngineIntern, and fixed music volume handling in SoundMan.Nicola Mettifogo
svn-id: r35756
2009-01-04Made sure each event is processed only once. This wasn't always the case ↵Nicola Mettifogo
when _inputMode changed as a result of a game action. This also caused the comment mode to be apparently skipped. svn-id: r35725
2008-12-26Fixed selection of invalid frame numbers. This means that most locations can ↵Nicola Mettifogo
be switched to and don't crash up anymore! svn-id: r35550
2008-12-25Pushing down some header deps (on common/system.h, mostly)Max Horn
svn-id: r35542
2008-12-24Fixed display of location background when changing from a scrollable to a ↵Nicola Mettifogo
non-scrollable one. svn-id: r35522