aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
AgeCommit message (Collapse)Author
2007-10-07Fixed bug #1808529. One must use memmove() when copying overlapping blocks ↵Nicola Mettifogo
of memory (blush). svn-id: r29161
2007-10-06Fixed bug #1808620. The original Inventory::addItem routine relied on a ↵Nicola Mettifogo
trick that went undetected until r29060 actually broke it. Not all regression is bad, after all. svn-id: r29157
2007-09-25Changed InventoryRenderer to draw inventory over a Surface, thus removing ↵Nicola Mettifogo
useless drawing routines. svn-id: r29097
2007-09-24Fixed inventory regression introduced with yesterday's commit.Nicola Mettifogo
svn-id: r29091
2007-09-23Oops. Some debug code was committed.Nicola Mettifogo
svn-id: r29061
2007-09-23Moved most of inventory-related code inside classes Inventory and ↵Nicola Mettifogo
InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code). svn-id: r29060
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-02Cleanup: removed unneeded references to engine (_vm).Nicola Mettifogo
svn-id: r28826
2007-09-02Jobs are now members of the engine and are handled with a table, instead of ↵Nicola Mettifogo
being external functions. svn-id: r28824
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-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
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-07-09Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.Nicola Mettifogo
svn-id: r27996
2007-07-08Changed inventory graphics update from synchronous to lazy.Nicola Mettifogo
svn-id: r27975
2007-07-08Cleanup inventory code.Nicola Mettifogo
svn-id: r27974
2007-06-18Mouse is now properly hidden during dialogues, and is restored after ↵Nicola Mettifogo
load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning. svn-id: r27539
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-21Fixed the largest memory leaks.Nicola Mettifogo
svn-id: r26905
2007-05-13Reverted some changes to inventory handling.Nicola Mettifogo
svn-id: r26838
2007-05-13More cleanup.Nicola Mettifogo
svn-id: r26835
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
2007-05-06Added embryonic debugger, and some adjustments to make basic commands work.Nicola Mettifogo
svn-id: r26755
2007-04-09- moved walk code to List<>Nicola Mettifogo
- some adjustments to #include statements svn-id: r26424
2007-04-07cleanupNicola Mettifogo
svn-id: r26409
2007-03-29- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()Nicola Mettifogo
- enforced use of getFramePtr instead of Cnv::_array member svn-id: r26317
2007-03-18changed remaining stuff to Common::Point and got rid of custom Point and RectNicola Mettifogo
svn-id: r26216
2007-03-18converted input and labels to Common::PointNicola Mettifogo
svn-id: r26214
2007-03-18Made loadObjects return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26202
2007-03-18fixed usage of reference operatorNicola Mettifogo
svn-id: r26189
2007-03-17cleanupNicola Mettifogo
svn-id: r26179
2007-03-17- Made Node a superclass for Zone, WalkNode, Command, Instruction, Program ↵Nicola Mettifogo
and Job. - Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms) svn-id: r26164
2007-03-17some renaming to shorten linesNicola Mettifogo
svn-id: r26159
2007-03-17gathered character related stuff into a new struct Character, and modified ↵Nicola Mettifogo
calling code accordingly svn-id: r26158
2007-03-13enforced use of Common::Rect on all graphic routinesNicola Mettifogo
svn-id: r26128
2007-03-13removed special case of Graphics::copyRect in favor of more general codeNicola Mettifogo
svn-id: r26126
2007-03-13Moved inventory surface management into inventory.cpp, thus removing ↵Nicola Mettifogo
Graphics::kBit3. Some duplicated code now exists in graphics.cpp and inventory.cpp. svn-id: r26123
2007-03-12renamed Graphics class to Gfx and Parallaction::_graphics to ↵Nicola Mettifogo
Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics svn-id: r26111
2007-03-11cleanupNicola Mettifogo
svn-id: r26077
2007-03-11more refactoringNicola Mettifogo
svn-id: r26076
2007-03-04wrapped loader routines into a new class named Disk. The new class is also ↵Nicola Mettifogo
responsible for handling Archives in place of the Parallaction engine. svn-id: r25972
2007-03-02enforced convention on loader names: load[ItemType]Nicola Mettifogo
svn-id: r25937
2007-03-02added inventory objects loader routineNicola Mettifogo
svn-id: r25936
2007-02-18enforced use of MAKE_INVENTORY_IDNicola Mettifogo
svn-id: r25676
2007-02-17Some indentation and format changes. Mostly replacing spaces with tabs.Torbjörn Andersson
svn-id: r25654
2007-02-04changed handling of zone labels to match original engineNicola Mettifogo
svn-id: r25376
2007-01-21fixed out-of-bounds error causing premature crashes on some systemsNicola Mettifogo
svn-id: r25140
2007-01-14Initial import of Parallaction engineEugene Sandulenko
svn-id: r25083