aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
2008-08-15Made coordinates and frame number protected into Zone and Animation, and ↵Nicola Mettifogo
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-08-14Some variable renamed to make more sense.Nicola Mettifogo
svn-id: r33864
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-07-31* Removed references to the current _backgroundInfo from parser code.Nicola Mettifogo
* Re-enabled masks (in BRA DOS). svn-id: r33474
2008-07-31Made changing of background more flexible, in that the engine can now ↵Nicola Mettifogo
configure its BackgroundInfo before passing it to Gfx. svn-id: r33469
2008-07-31Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all ↵Nicola Mettifogo
z-buffering. svn-id: r33468
2008-07-28Pick up/drop/open/close actions are now available in game.Nicola Mettifogo
svn-id: r33371
2008-07-27Doug from BRA can now walk in his hotel room. He still stops in bizarre ↵Nicola Mettifogo
poses, though. svn-id: r33325
2008-07-26More cleanup.Nicola Mettifogo
svn-id: r33298
2008-07-26* Added walk calculations to BRA (doesn't walk yet, though).Nicola Mettifogo
* Adapted Character and Animation to handle both versions of the engine. svn-id: r33296
2008-07-25Added --list-saves support for PARALLACTION, and -x support for NipponSafesChristopher Page
svn-id: r33292
2008-07-25Changed the remaining references to Nodes into Points.Nicola Mettifogo
svn-id: r33290
2008-07-24* Moved end intro and end game sequences code to gui.Nicola Mettifogo
* Rewrote all gui code to be run inside the main loop * Added code to avoid crashes when a scene with no standard background is drawn svn-id: r33260
2008-07-23Removed the historical waitUntilLeftClick function and adapted code to use ↵Nicola Mettifogo
the more general readInput and waitForButtonEvent. svn-id: r33226
2008-07-23Removed useless event management code and made readInput() more general.Nicola Mettifogo
svn-id: r33225
2008-07-23More decoupling of inventory code.Nicola Mettifogo
svn-id: r33224
2008-07-23More merging of input code.Nicola Mettifogo
svn-id: r33219
2008-07-22Merged inventory input code from different files.Nicola Mettifogo
svn-id: r33198
2008-07-22Changed comment display code so that input polling is integrated into the ↵Nicola Mettifogo
main loop, instead of being performed in a blocking way from a separate routine. svn-id: r33188
2008-07-21Merged revisions ↵Christopher Page
33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33183
2008-07-21Improved GMM sound setting config for ParallactionChristopher Page
svn-id: r33181
2008-07-21Some refactoring for tracking of floating labels.Nicola Mettifogo
svn-id: r33165
2008-07-21Massive refactoring of dialogue code, which is now implemented as a finite ↵Nicola Mettifogo
state machine. Related code in other files has been updated has well. svn-id: r33162
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-13More refactoring of walk code.Nicola Mettifogo
svn-id: r33033
2008-07-13Cleanup of walk code.Nicola Mettifogo
svn-id: r33023
2008-07-11Moved program and command execution code out of the engine, into their own ↵Nicola Mettifogo
brand new classes. svn-id: r33003
2008-07-10Parallaction works with the new GMM implementationChristopher Page
svn-id: r32997
2008-07-09Fixed leaks in NS and BRA.Nicola Mettifogo
svn-id: r32976
2008-07-09Fixed regression introduced with GfxObj: the character sprite was sometimes ↵Nicola Mettifogo
removed from the rendering list. svn-id: r32974
2008-07-04- Moved dialogue balloon management code from Gfx to its own classNicola Mettifogo
- Added a class to draw balloons in BRA (still without text and with wrong placement) svn-id: r32902
2008-07-02- Changed labels to be GfxObj's, thus removing the Label object altogether.Nicola Mettifogo
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
2008-06-25Parallaction now uses the new _quit flagChristopher Page
svn-id: r32773
2008-06-22Circular references between Zone/Animation and Command are now manually ↵Nicola Mettifogo
removed, to allow the objects - which are stored into SharedPtr's - to be deallocated. svn-id: r32744
2008-06-03PARA: Fixed some memory leaksChristopher Page
svn-id: r32519
2008-06-02PARA: Got rid of calls to system->quit() so that the Parallaction engine can ↵Christopher Page
return to the launcher. Also fixed a couple of memory leaks. svn-id: r32504
2008-05-15* Cleanup of input code.Nicola Mettifogo
* Removed old timer routines. svn-id: r32135
2008-05-14- Moved input code to its own class.Nicola Mettifogo
- Slightly simplified inventory highlight code thanks to changes in input code. svn-id: r32115
2008-05-09Moved location parsing out of the engines, to LocationParser_ns and ↵Nicola Mettifogo
LocationParser_br. svn-id: r31958
2008-05-07Reverting commit 31920, thus changing type of flags back to unsigned. If ↵Nicola Mettifogo
some compiler emits a warning about 0xFFFFFFFF not being an unsigned immediate, then we need to find out how to convince it without changing types of variables in the code. svn-id: r31924
2008-05-07Silencing a compiler warningSven Hesse
svn-id: r31923
2008-05-07Fixed signed/unsigned issues with kFlagsAllFilippos Karapetis
svn-id: r31920
2008-05-05- Moved some members from the engine class to Location, since they belong there.Nicola Mettifogo
- Cleaned up usage of location flags by using accessor functions. svn-id: r31872
2008-05-04Added new Parser class, which will gradually grow to include all parsing ↵Nicola Mettifogo
code from the engine class. svn-id: r31865
2008-04-28Moved some static members into Parallaction class.Nicola Mettifogo
svn-id: r31755
2008-04-17Fixed usage of SharedPtr, so that reference counting is proper and there are ↵Nicola Mettifogo
no more objects that need constructors at global level (helps PalmOS). svn-id: r31533
2008-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-02-09More refactoring for command parsing/execution.Nicola Mettifogo
svn-id: r30841
2008-02-06Added experimental debug feature: variables influencing the rendering that ↵Nicola Mettifogo
can be set via console using the 'set' command. The implementation is still partial. Leveraging on this, the engine can now selectively display the current background mask instead of the background itself. svn-id: r30808