Группа ячеек инвентори. More...
#include <qd_inventory_cell.h>
Public Member Functions | |
qdInventoryCellSet (int x, int y, int sx, int sy, int16 addit_sx, int16 addit_sy, const qdInventoryCellType &tp) | |
qdInventoryCellSet (const qdInventoryCellSet &set) | |
qdInventoryCellSet & | operator= (const qdInventoryCellSet &set) |
const Vect2s | screen_pos () const |
void | set_screen_pos (const Vect2s &pos) |
grScreenRegion | screen_region () const |
const grScreenRegion & | last_screen_region () const |
int | cell_index (const qdGameObjectAnimated *obj) const |
Vect2s | cell_position (int cell_idx) const |
const Vect2s & | size () const |
void | set_size (const Vect2s &sz) |
void | set_cell_type (const qdInventoryCellType &tp) |
bool | hit (const Vect2s &pos) const |
void | set_mouse_hover_object (qdGameObjectAnimated *obj) |
void | pre_redraw () const |
void | redraw (int offs_x=0, int offs_y=0, bool inactive_mode=false) const |
void | post_redraw () |
bool | put_object (qdGameObjectAnimated *p) |
bool | put_object (qdGameObjectAnimated *p, const Vect2s &pos) |
bool | remove_object (qdGameObjectAnimated *p) |
qdGameObjectAnimated * | get_object (const Vect2s &pos) const |
bool | is_object_in_list (const qdGameObjectAnimated *p) const |
bool | load_script (const xml::tag *p) |
bool | save_script (Common::WriteStream &fh, int indent=0) const |
bool | load_data (Common::SeekableReadStream &fh, int save_version) |
Загрузка данных из сэйва. | |
bool | save_data (Common::WriteStream &fh) const |
Запись данных в сэйв. | |
bool | init (const qdInventoryCellTypeVector &tp) |
const qdInventoryCellVector & | cells () const |
int | num_cells () const |
bool | load_resources () |
bool | free_resources () |
void | objects_quant (float dt) |
Vect2s | additional_cells () const |
void | set_additional_cells (Vect2s val) |
void | scroll_left () |
Скроллинг | |
void | scroll_right () |
void | scroll_up () |
void | scroll_down () |
void | debug_log () const |
Группа ячеек инвентори.