aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.cpp
AgeCommit message (Collapse)Author
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
2007-09-17* moved Table handling to objects.cpp Nicola Mettifogo
* added helper functions to load tables from files * fixed occasional lock-ups on location change because of broken Table deallocation svn-id: r28933
2007-09-02Simplified global label management and added subtitles for BRA.Nicola Mettifogo
svn-id: r28828
2007-08-25Added an abstract base class for representing multiple-frames for ↵Nicola Mettifogo
animations. Changed user code to rely on the new interface. Cnv has been turned into an implementation of the new interface, and it is now known as a concrete class only to Disk and Font code for Nippon Safes. svn-id: r28734
2007-08-25Cleanup script routines.Nicola Mettifogo
svn-id: r28718
2007-08-24First step in restructuring engine code:Nicola Mettifogo
- code has been consolidated in fewer files - new table-driven parsers/execution - some functions has been pushed down the engine hierarchy - Parallaction_br now inherits from Parallaction_ns svn-id: r28711