World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Структура IconFrame_MM7

#include <LegacyImages.h>

Открытые члены

 IconFrame_MM7 ()
 
void Serialize (class Icon *)
 
void Deserialize (class Icon *)
 

Открытые атрибуты

char pAnimationName [12]
 
char pTextureName [12]
 
int16_t uAnimTime
 
int16_t uAnimLength
 
int16_t uFlags
 
uint16_t uTextureID
 

Подробное описание

См. определение в файле LegacyImages.h строка 562

Конструктор(ы)

◆ IconFrame_MM7()

IconFrame_MM7::IconFrame_MM7 ( )

См. определение в файле LegacyImages.cpp строка 85

85  {
86  Assert(sizeof(*this) == 0x20);
87  memset(this, 0, sizeof(*this));
88 }

Методы

◆ Serialize()

void IconFrame_MM7::Serialize ( class Icon icon)

См. определение в файле LegacyImages.cpp строка 1046

1046  {
1047  strcpy(pAnimationName, icon->GetAnimationName());
1048  uAnimLength = icon->GetAnimLength();
1049 
1050  strcpy(pTextureName, icon->pTextureName);
1051  uAnimTime = icon->GetAnimTime();
1052  uFlags = icon->uFlags;
1053 }

Перекрестные ссылки Icon::GetAnimationName(), Icon::GetAnimLength(), Icon::GetAnimTime(), pAnimationName, Icon::pTextureName, pTextureName, uAnimLength, uAnimTime, Icon::uFlags и uFlags.

+ Граф вызовов:

◆ Deserialize()

void IconFrame_MM7::Deserialize ( class Icon icon)

См. определение в файле LegacyImages.cpp строка 1055

1055  {
1056  icon->SetAnimationName(this->pAnimationName);
1057  icon->SetAnimLength(8 * this->uAnimLength);
1058 
1059  strcpy(icon->pTextureName, pTextureName);
1060  icon->SetAnimTime(uAnimTime);
1061  icon->uFlags = uFlags;
1062 }

Перекрестные ссылки pAnimationName, Icon::pTextureName, pTextureName, Icon::SetAnimationName(), Icon::SetAnimLength(), Icon::SetAnimTime(), uAnimLength, uAnimTime, Icon::uFlags и uFlags.

+ Граф вызовов:

Данные класса

◆ pAnimationName

char IconFrame_MM7::pAnimationName[12]

См. определение в файле LegacyImages.h строка 568

Используется в Deserialize() и Serialize().

◆ pTextureName

char IconFrame_MM7::pTextureName[12]

См. определение в файле LegacyImages.h строка 569

Используется в Deserialize() и Serialize().

◆ uAnimTime

int16_t IconFrame_MM7::uAnimTime

См. определение в файле LegacyImages.h строка 570

Используется в Deserialize() и Serialize().

◆ uAnimLength

int16_t IconFrame_MM7::uAnimLength

См. определение в файле LegacyImages.h строка 571

Используется в Deserialize() и Serialize().

◆ uFlags

int16_t IconFrame_MM7::uFlags

См. определение в файле LegacyImages.h строка 572

Используется в Deserialize() и Serialize().

◆ uTextureID

uint16_t IconFrame_MM7::uTextureID

См. определение в файле LegacyImages.h строка 573


Объявления и описания членов структур находятся в файлах:
IconFrame_MM7::pTextureName
char pTextureName[12]
Definition: LegacyImages.h:569
IconFrame_MM7::uAnimLength
int16_t uAnimLength
Definition: LegacyImages.h:571
IconFrame_MM7::pAnimationName
char pAnimationName[12]
Definition: LegacyImages.h:568
IconFrame_MM7::uAnimTime
int16_t uAnimTime
Definition: LegacyImages.h:570
IconFrame_MM7::uFlags
int16_t uFlags
Definition: LegacyImages.h:572