555 {
556 #ifdef PLATFORM_CONSOLE
558 #ifdef PLATFORM_WINDOWS
559 pos_y = pos_y * 5 + pos_x;
560 #endif
564 #else
565 int size_x, size_y;
566 g_Game.GetInventoryItemSize( InventoryItem.Cast( item ), size_x, size_y );
567
568 if ( item.GetInventory().GetFlipCargo() )
569 icon.
SetSize( size_y, size_x );
570 else
571 icon.
SetSize( size_x, size_y );
572
576 #endif
577 icon.
InitEx( item, refresh );
578 return icon;
579 }
void SetPosEx(bool refresh=true)
void SetSize(int x, int y)
void InitEx(EntityAI obj, bool refresh=true)