aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
AgeCommit message (Collapse)Author
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
2008-02-05Changed main loop to allow BRA to return to menu after intro.Nicola Mettifogo
svn-id: r30798
2008-02-03Fixed maximum token length for the parser.Nicola Mettifogo
svn-id: r30776
2008-02-03- Character is now initialized when needed (for the moment only by NS)Nicola Mettifogo
- Forward lists are now bigger since BRA scripts are larger svn-id: r30769
2008-02-03Programs are now handled in their own list, instead of being accessed via ↵Nicola Mettifogo
the referring Animation. svn-id: r30768
2008-02-02Enabled rudimentary location switch in BRA.Nicola Mettifogo
svn-id: r30748
2008-02-02Some more integration of background code into BackgroundInfo.Nicola Mettifogo
svn-id: r30731
2008-01-28Cleanup (step 1).Nicola Mettifogo
svn-id: r30689
2008-01-28Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept ↵Nicola Mettifogo
to store the background picture. svn-id: r30687
2008-01-28Move low level background management into Gfx.Nicola Mettifogo
svn-id: r30681
2008-01-28Fixed animation sorting: everything should be drawn like before revision ↵Nicola Mettifogo
30673 now. Character may still disappear when changing location because of wrong resource management, though. svn-id: r30680
2008-01-28Removed all job routines. Stubs have been left for future reference in the ↵Nicola Mettifogo
code for BRA. svn-id: r30675
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-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
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-08Added a proper _name member to Zone, instead of using the label text.Nicola Mettifogo
svn-id: r30343
2008-01-06Indent with tabs instead of spaces.Torbjörn Andersson
svn-id: r30312
2008-01-06Moved balloons management into Gfx, which is now responsible for positioning ↵Nicola Mettifogo
and drawing. All balloons are now drawn on a different layer than the game graphics, thus simplifying screen management. Dialogue code has undergone a major revision, and the superior implementation of answer selection in the Amiga version is now used in place of the poor PC one. Other bits (where some changes had already been introduced) have been updated, too. svn-id: r30311
2007-11-28Update mouse coordinates onn *all* mouse events, i.e. also after click eventsMax Horn
svn-id: r29657
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-22* added (incomplete) explicit state machine handling in engine class (see ↵Nicola Mettifogo
_inputMode) * added service routines to Gfx * changed displayCharacterComment to work with the new state machine and gfx routines svn-id: r29613
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-19* made engine use Inventory and InventoryRendererNicola Mettifogo
* inventory drawing is now performed directly in the framebuffer instead of using the game screen buffer * specialized jobs to handle inventory drawing have been deleted as they had become obsolete svn-id: r29571
2007-11-19Walk and script handling are now directly handled by the main loop, instead ↵Nicola Mettifogo
of relying on the job list. svn-id: r29568
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29562
2007-11-18Partly decoupled rendering from game data update. Graphics routines to ↵Nicola Mettifogo
draw/erase animations and labels are now invoked explicitly instead of being handled in the job list. svn-id: r29561
2007-11-18Removed other paranoia code from the original engine (as in revision 29505).Nicola Mettifogo
svn-id: r29558
2007-11-18Cleanup.Nicola Mettifogo
svn-id: r29556
2007-11-17Refactored main input code.Nicola Mettifogo
svn-id: r29532
2007-11-14Removed an unclear (paranoid?) continue statement from the original engine. ↵Nicola Mettifogo
We are just doing a screen update more than the original this way. If this is bad, then we can go back, but for now, let the execution flow. svn-id: r29505