aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.cpp
AgeCommit message (Collapse)Author
2009-09-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44300
2009-04-29Refactoring.Nicola Mettifogo
svn-id: r40210
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-29Commands now evaluate their reference Zone at runtime, thus handling of ↵Nicola Mettifogo
forward references in the parser is no more needed. svn-id: r39738
2009-03-29Merged CommandData into Command.Nicola Mettifogo
svn-id: r39732
2009-03-28Added initialization for _index and _locationIndex in Zone objects.Nicola Mettifogo
svn-id: r39723
2009-03-24* Pushed evaluation of 'following question' from dialogue parsing to ↵Nicola Mettifogo
dialogue execution. * Removed all the question forwards declaration code svn-id: r39654
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-23Pushed down dependencies from parser.hNicola Mettifogo
svn-id: r39636
2009-03-23Implemented all variants of IF script instruction. Program class has been ↵Nicola Mettifogo
changed to store an Array of instruction instead of a List, so that references to instructions are integers. svn-id: r39631
2009-02-26Removed null*Ptr dummy objects, using SharedPtr's reset method to null ↵Nicola Mettifogo
pointers instead. svn-id: r38897
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-23Rewrote the sarcophagus puzzle in Nippon Safes, since I finally understood ↵Nicola Mettifogo
how it was implemented in the original! svn-id: r38816
2009-01-04Implemented counters in BRA. Only valid answer options are shown, and ↵Nicola Mettifogo
counter calculations in scripts are performed. svn-id: r35723
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-17Reduced code duplication when manipulating Animations, and cleanup.Nicola Mettifogo
svn-id: r35408
2008-12-13* Replaced char* with Common::String in the parser.Nicola Mettifogo
* Enforced const-correctness on related routines. svn-id: r35326
2008-12-07Fixed some more leaks and mismatched allocations/deallocations.Nicola Mettifogo
svn-id: r35277
2008-11-12Fixed default zone flags, so that labels in BRA are only shown on zones ↵Nicola Mettifogo
which have one. svn-id: r35012
2008-08-26Cleanup.Nicola Mettifogo
svn-id: r34185
2008-08-15Updated layer calculation: animations are now hidden properly by background ↵Nicola Mettifogo
elements (but not items yet). svn-id: r33894
2008-08-15Made scripts access Animation fields via accessors and mutators, instead of ↵Nicola Mettifogo
using raw pointers. svn-id: r33891
2008-08-15Simplified handling of script variables (especially locals).Nicola Mettifogo
svn-id: r33889
2008-07-28Added a post processing step to runScripts, so that Animation can be ↵Nicola Mettifogo
validated after buggy scripts have been executed. svn-id: r33363
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-09Fixed leaks in NS and BRA.Nicola Mettifogo
svn-id: r32976
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-22Added constructor and destructor to Dialogue, thus fixing a long standing leak.Nicola Mettifogo
svn-id: r32757
2008-05-09Tiny cleanup to ease extraction of the program parser code.Nicola Mettifogo
svn-id: r31959
2008-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-02-09Added new debug command to dump scripts execution status.Nicola Mettifogo
svn-id: r30840
2008-02-06Fix system hang under linux.Nicola Mettifogo
svn-id: r30813
2008-02-05Fixes to make BRA introduction run:Nicola Mettifogo
- fixed location command parser - implemented stop command - temporary disabled speak zones (audio is not yet supported) svn-id: r30796
2008-02-04Adjusted random number generator, thus improving animation quality in the ↵Nicola Mettifogo
intro. The general still acts like he is on amphetamines. svn-id: r30791
2008-02-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768
2008-01-28All interactive objects are now drawn in the framebuffer instead of using ↵Nicola Mettifogo
the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being. svn-id: r30673
2008-01-09Replaced the remaining old string code with the new label code. All the text ↵Nicola Mettifogo
is now drawn in the framebuffer instead of being blitted onto the internal game screen buffer. svn-id: r30360
2008-01-08Restructured label handling and moved all related code to Gfx.Nicola Mettifogo
svn-id: r30345
2008-01-08Removed useless members.Nicola Mettifogo
svn-id: r30344
2008-01-08Added a proper _name member to Zone, instead of using the label text.Nicola Mettifogo
svn-id: r30343
2007-11-22* added adapter from Graphics::Surface to FramesNicola Mettifogo
* changed all Disk routines to return Frames* instead of Graphics::Surface* * changed displayItemComment to use new gfx routines * merged code for Examine zones into displayComment svn-id: r29615
2007-11-21* moved label drawing into Gfx, to be drawn directly in the framebufferNicola Mettifogo
* changed low level blitting function to accept Graphics::Surface to ease development * temporarily disabled labels/subtitles in BRA svn-id: r29593
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29556
2007-10-19Added new debugger command 'localflags' and changed Table object to provide ↵Nicola Mettifogo
debug info for it. svn-id: r29230
2007-10-14Integrated low-level routines into the Script class, turning it into a ↵Nicola Mettifogo
self-contained parser for location, program and table scripts. svn-id: r29221
2007-10-04Fixed bug #1803287. The inner block was changing the test condition causing ↵Nicola Mettifogo
unwanted behavior. svn-id: r29155
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966