Ячейка инвентори. More...
#include <qd_inventory_cell.h>
Public Member Functions | |
qdInventoryCell (const qdInventoryCellType &tp) | |
qdInventoryCell (const qdInventoryCell &cl) | |
qdInventoryCell & | operator= (const qdInventoryCell &cl) |
int | type () const |
void | set_type (int tp) |
const qdSprite * | sprite () const |
void | set_sprite (const qdSprite *spr) |
qdGameObjectAnimated * | object () const |
void | set_object (qdGameObjectAnimated *obj) |
bool | is_empty () const |
const Vect2i & | size () const |
int | size_x () const |
int | size_y () const |
void | redraw (int x, int y, bool inactive_mode=false) const |
bool | load_resources () |
bool | free_resources () |
bool | load_data (Common::SeekableReadStream &fh, int save_version) |
Загрузка данных из сэйва. | |
bool | save_data (Common::WriteStream &fh) const |
Запись данных в сэйв. | |
Static Public Member Functions | |
static void | set_shadow (uint32 color, int alpha) |
Ячейка инвентори.