|
|
| qdAnimationSet (const qdAnimationSet &set) |
| |
|
qdAnimationSet & | operator= (const qdAnimationSet &set) |
| |
|
int | named_object_type () const |
| | Возвращает тип объекта.
|
| |
|
int | size () const |
| |
|
void | resize (int sz) |
| |
|
int | get_angle_index (float direction_angle) const |
| | выдает индекс походки и остановки, соответствующих углу
|
| |
|
float | get_index_angle (int direction_index) const |
| | выдает угол походки и остановки, соответствующих индексу
|
| |
|
float | adjust_angle (float angle) const |
| | Возвращает ближайшее к angle направление, для которого есть анимация.
|
| |
|
qdAnimationInfo * | get_animation_info (int index=0) |
| |
|
qdAnimationInfo * | get_animation_info (float direction_angle) |
| |
|
qdAnimationInfo * | get_static_animation_info (int index=0) |
| |
|
qdAnimationInfo * | get_static_animation_info (float direction_angle) |
| |
|
qdAnimationInfo * | get_start_animation_info (int index=0) |
| |
|
qdAnimationInfo * | get_start_animation_info (float direction_angle) |
| |
|
qdAnimationInfo * | get_stop_animation_info (int index=0) |
| |
|
qdAnimationInfo * | get_stop_animation_info (float direction_angle) |
| |
|
qdAnimation * | get_turn_animation () const |
| |
|
qdAnimationInfo * | get_turn_animation_info () |
| |
|
void | set_turn_animation (const char *animation_name) |
| |
|
float | walk_sound_frequency (int direction_index) const |
| |
|
float | walk_sound_frequency (float direction_angle) const |
| |
|
void | set_walk_sound_frequency (int direction_index, float freq) |
| |
|
bool | load_animations (const qdNamedObject *res_owner) |
| |
|
bool | free_animations (const qdNamedObject *res_owner) |
| |
|
bool | register_resources (const qdNamedObject *res_owner) |
| | Регистрация ресурсов набора в диспетчере ресурсов.
|
| |
|
bool | unregister_resources (const qdNamedObject *res_owner) |
| | Отмена регистрации ресурсов набора в диспетчере ресурсов.
|
| |
|
bool | scale_animations (float coeff_x, float coeff_y) |
| |
|
void | load_script (const xml::tag *p) |
| |
|
bool | save_script (Common::WriteStream &fh, int indent=0) const |
| |
|
float | start_angle () const |
| |
|
void | set_start_angle (float v) |
| |
|
| qdNamedObject (const qdNamedObject &p) |
| |
|
qdNamedObject & | operator= (const qdNamedObject &p) |
| |
|
qdNamedObject * | owner () const |
| | Возвращает владельца объекта.
|
| |
|
qdNamedObject * | owner (qdNamedObjectType tp) const |
| | Возвращает владельца объекта, тип которого tp.
|
| |
|
void | set_owner (qdNamedObject *p) |
| | Устанавливает владельца объекта.
|
| |
|
void | set_flag (int fl) |
| | Устанавливает флаг.
|
| |
|
void | drop_flag (int fl) |
| | Скидывает флаг.
|
| |
|
bool | check_flag (int fl) const |
| | Возвращает true, если установлен флаг fl.
|
| |
|
void | clear_flags () |
| | Очищает флаги.
|
| |
|
int | flags () const |
| | Возвращает значение флагов объекта.
|
| |
|
virtual bool | load_data (Common::SeekableReadStream &fh, int save_version) |
| | Загрузка данных из сэйва.
|
| |
|
virtual bool | save_data (Common::WriteStream &fh) const |
| | Запись данных в сэйв.
|
| |
|
void | add_trigger_reference () |
| | Добавляет ссылку из триггеров на объект.
|
| |
|
void | remove_trigger_reference () |
| | Удаляет ссылку из триггеров на объект.
|
| |
|
void | clear_trigger_references () |
| | Очищает счётчик ссылок из триггеров на объект.
|
| |
|
bool | is_in_triggers () const |
| | Возвращает true, если на объект есть ссылки из триггеров.
|
| |
|
Common::String | toString () const |
| |
|
| qdNamedObjectBase (const qdNamedObjectBase &obj) |
| |
|
qdNamedObjectBase & | operator= (const qdNamedObjectBase &obj) |
| |
|
const char * | name () const |
| | Возвращает имя объекта.
|
| |
|
void | set_name (const char *p) |
| | Устанавливает имя объекта.
|
| |