Updated llinventory to something closer to V2's implementation. Mostly just restructuring.
Most the changes are due to InventoryObjectList* changing to LLInventoryObject::object_list_t*, LLInventoryItem::II_FLAGS* changing to LLInventoryItemFlags::II_FLAGS* and also const'ing. Certain perms for certain asset types(callcard&landmarks) have been laxed, as per LL's V2. LLInventoryType now does lookups mostly though new lldictionary class. LLLandmark using boost for callbacks, instead of custom class structure.
This commit is contained in:
@@ -86,7 +86,7 @@ typedef enum e_object_update_type
|
||||
|
||||
// callback typedef for inventory
|
||||
typedef void (*inventory_callback)(LLViewerObject*,
|
||||
InventoryObjectList*,
|
||||
LLInventoryObject::object_list_t*,
|
||||
S32 serial_num,
|
||||
void*);
|
||||
|
||||
@@ -622,7 +622,7 @@ protected:
|
||||
F32 mPixelArea; // Apparent area in pixels
|
||||
|
||||
// This is the object's inventory from the viewer's perspective.
|
||||
InventoryObjectList* mInventory;
|
||||
LLInventoryObject::object_list_t* mInventory;
|
||||
class LLInventoryCallbackInfo
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user