Nicola Mettifogo
9be8a6e4f6
Simplified inventory handling (too much information hiding will kill you).
...
svn-id: r44485
2009-09-30 13:41:19 +00:00
Nicola Mettifogo
e660f31ed8
Provide only the data that is strictly needed when creating a new Inventory.
...
svn-id: r44475
2009-09-30 07:09:07 +00:00
Nicola Mettifogo
86a1926c19
Added basic multiple inventory support. This will be used for the GIVE and SWAP commands.
...
svn-id: r39773
2009-03-31 15:45:44 +00:00
Nicola Mettifogo
f31cf5d94c
* Added flexible verb configuration for both NS and BRA.
...
* Objects can now be really opened and closed in BRA.
svn-id: r33405
2008-07-29 10:22:50 +00:00
Nicola Mettifogo
df50b8ee68
Inventory is now properly rendered. Item selection is not yet working.
...
svn-id: r33355
2008-07-28 06:06:35 +00:00
Nicola Mettifogo
387134a16a
Moved inventory cursor drawing code to InventoryRenderer.
...
svn-id: r33337
2008-07-27 14:21:16 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Torbjörn Andersson
1ddc8ab0fa
Indent with tabs instead of spaces.
...
svn-id: r30315
2008-01-06 20:57:46 +00:00
Nicola Mettifogo
f8e1da5b60
* made engine use Inventory and InventoryRenderer
...
* 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-19 20:46:28 +00:00
Nicola Mettifogo
212d4ed913
Changed InventoryRenderer to draw inventory over a Surface, thus removing useless drawing routines.
...
svn-id: r29097
2007-09-25 15:58:44 +00:00
Nicola Mettifogo
05abbf49a2
Moved most of inventory-related code inside classes Inventory and InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code).
...
svn-id: r29060
2007-09-23 20:17:50 +00:00
Nicola Mettifogo
39e4a9b180
Added an abstract base class for representing multiple-frames for 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-25 20:34:10 +00:00
Nicola Mettifogo
945be6e5f2
Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.
...
svn-id: r27996
2007-07-09 19:19:56 +00:00
Nicola Mettifogo
a641ee4fbe
Changed inventory graphics update from synchronous to lazy.
...
svn-id: r27975
2007-07-08 20:15:43 +00:00
Nicola Mettifogo
d1b9002bb0
Cleanup inventory code.
...
svn-id: r27974
2007-07-08 19:56:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Nicola Mettifogo
7d2809108e
Fixed the largest memory leaks.
...
svn-id: r26905
2007-05-21 21:06:30 +00:00
Nicola Mettifogo
ae63466446
cleanup
...
svn-id: r26834
2007-05-13 14:38:05 +00:00
Nicola Mettifogo
5e38eab640
fixed regression bug caused by ZoneTypeData being declared as a struct instead of an union. Should have taken care of this when the switch was actually made...
...
svn-id: r25652
2007-02-17 10:58:54 +00:00
Eugene Sandulenko
e5c7ce83b8
Initial import of Parallaction engine
...
svn-id: r25083
2007-01-14 21:29:12 +00:00