Commit Graph

49 Commits

Author SHA1 Message Date
Eugene Sandulenko
8f8b2ed003 FULLPIPE: Fix bug #9672: "Several inventory items highlighted at the same time" 2017-12-01 19:58:11 +01:00
Bastien Bouclet
183571f7c2 FULLPIPE: Fix loading inventory items from saves
In C++ the function parameter evaluation order is undefined. The count
property was being read first from the stream, instead of the itemId.

Fixes #10324.
2017-11-20 20:22:32 +01:00
Colin Snover
54f8cf55ea FULLPIPE: Fix memory leaks of InventoryPoolItem 2017-11-18 22:35:12 +01:00
Colin Snover
4cc64c4139 FULLPIPE: Fix memory leaks in PictureObject, Background 2017-11-18 22:35:12 +01:00
Colin Snover
e2367f3ed2 FULLPIPE: Remove unnecessary and unsafe C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
8e8932f38d FULLPIPE: Remove unnecessary and illegal C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
5ab7a12779 FULLPIPE: Fix memory leaks of inventory icons and items 2017-11-18 22:35:12 +01:00
Colin Snover
88a2eaba93 FULLPIPE: Make dimensions/coordinate getters pure functions 2017-11-18 22:35:12 +01:00
Eugene Sandulenko
0aef5c55d4 FULLPIPE: Fix inventory not being cleared on game load 2016-09-20 19:34:48 +02:00
Eugene Sandulenko
83a82a9842 FULLPIPE: Further work on saving 2016-09-18 00:16:29 +02:00
Eugene Sandulenko
210a57c4c0 FULLPIPE: Implement inventory saving 2016-09-17 20:43:57 +02:00
Eugene Sandulenko
60e3b9fd64 FULLPIPE: Further work on game saving 2016-09-16 22:15:24 +02:00
Eugene Sandulenko
2cbf7da319 FULLPIPE: Rename is GabeObject 2016-09-05 00:11:07 +02:00
Eugene Sandulenko
b1fc0f6946 JANITORIAL: Fix whitespaces 2016-09-04 14:42:52 +02:00
Eugene Sandulenko
e070485169 FULLPIPE: Fix inventory items rebuilding 2016-08-28 11:43:25 +02:00
Eugene Sandulenko
0f0fee3add FULLPIPE: Implement Inventory2::removeItem() 2016-08-28 11:43:25 +02:00
Eugene Sandulenko
6ac435099c FULLPIPE: Split all debug output by channels 2016-07-28 00:37:32 +03:00
Eugene Sandulenko
7da48233ce FULLPIPE: Fix bug in inventory 2015-01-04 19:32:26 +01:00
Eugene Sandulenko
c73a10606e FULLPIPE: Implement Inventory2::clear() 2014-04-21 09:47:03 +03:00
Johannes Schickel
387fe8c141 FULLPIPE: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Strangerke
f6a7e00407 FULLPIPE: Janitorial - Remove trailing spaces 2014-02-16 18:48:31 +01:00
Eugene Sandulenko
b668304f06 FULLPIPE: Implement Inventory2::removeItem2() 2014-02-01 16:55:44 +02:00
Eugene Sandulenko
86d5e8bd68 FULLPIPE: Implement inventory class destructors 2014-02-01 16:55:44 +02:00
Eugene Sandulenko
71c8d5edd0 FULLPIPE: Stubbed and implemented some class destructors 2014-01-08 18:37:39 +02:00
Eugene Sandulenko
90532c78a2 FULLPIPE: g_fullpipe -> g_fp for brevity 2013-12-21 16:42:49 +02:00
Eugene Sandulenko
1ce1712b7b FULLPIPE: Remove C* prefix from inventory classes 2013-09-18 19:39:53 +04:00
Eugene Sandulenko
2196916b62 FULLPIPE: Implement FullpipeEngine::defHandleKeyDown() 2013-09-15 22:29:22 +03:00
Eugene Sandulenko
fda471ee80 FULLPIPE: Fix stupid type. CID 1072975 2013-09-10 09:52:36 +03:00
Eugene Sandulenko
af91d2a5ce FULLPIPE: Whitespace fix 2013-09-06 15:58:05 +03:00
Eugene Sandulenko
b559257358 FULLPIPE: Implement CInventory2::handleLeftClick() 2013-09-06 14:51:22 +03:00
Eugene Sandulenko
d8bc218ce8 FULLPIPE: More work on global_messageHandler3() 2013-09-06 14:51:20 +03:00
Eugene Sandulenko
1261cd421d FULLPIPE: Implement CInventory2::getHoveredItem() 2013-09-06 14:51:18 +03:00
Eugene Sandulenko
87488185a8 FULLPIPE: Implement CInventory2::draw() 2013-09-06 14:51:18 +03:00
Eugene Sandulenko
2a59b51689 FULLPIPE: Implemented CInventory2::rebuildItemRects() 2013-09-06 14:51:18 +03:00
Eugene Sandulenko
cba0fb54f1 FULLPIPE: Started CInventory2::rebuildItemRects() implementation 2013-09-06 14:51:18 +03:00
Eugene Sandulenko
739c24cdd1 FULLPIPE: Implement CInventory2::addItem() 2013-09-06 14:51:17 +03:00
Eugene Sandulenko
625de9c9a3 FULLPIPE: Implement CInventory2::slideIn() 2013-09-06 14:51:17 +03:00
Eugene Sandulenko
6ba453fa2a FULLPIPE: Fix number of bugs found by Coverity 2013-09-06 14:51:16 +03:00
Eugene Sandulenko
c12ea8bd2b FULLPIPE: Implement global_messageHandler1() 2013-09-06 14:51:13 +03:00
Eugene Sandulenko
856eb1b0fa FULLPIPE: Implemented FullpipeEngine::updateScreen() 2013-09-06 14:51:09 +03:00
Eugene Sandulenko
ad537b1a7e FULLPIPE: Further work on loadGam() 2013-09-06 14:51:06 +03:00
Eugene Sandulenko
c4499bb4b2 FULLPIPE: Further work on sceneSwitcher 2013-09-06 14:51:04 +03:00
Eugene Sandulenko
62cbdd81f0 FULLPIPE: Further work on sceneSwitcher.
Reduced header dependency.
Put CGameLoader into separate files.
2013-09-06 14:51:03 +03:00
Eugene Sandulenko
1aa11bd86f FULLPIPE: Further work on inventory 2013-09-06 14:48:17 +03:00
Eugene Sandulenko
56cb726ebc FULLPIPE: Added lots of debug output, Picture::setAOIDs() implementation 2013-09-06 14:48:17 +03:00
Eugene Sandulenko
69946ce963 FULLPIPE: Continued scene loading 2013-09-06 14:48:17 +03:00
Eugene Sandulenko
569b794bfe FULLPIPE: Continued work on Inventory 2013-09-06 14:48:14 +03:00
Eugene Sandulenko
dac4f23f84 FULLPIPE: Turned InventoryPoolItem into struct 2013-09-06 14:48:13 +03:00
Eugene Sandulenko
8de8a901cb FULLPIPE: Put all inventory-related classes into separate file 2013-09-06 14:48:13 +03:00