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

#include <LegacyImages.h>

+ Граф связей класса OtherOverlayList_Image_MM7:

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

 OtherOverlayList_Image_MM7 ()
 
void Serialize (struct OtherOverlayList *)
 
void Deserialize (struct OtherOverlayList *)
 

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

OtherOverlay_Image_MM7 pOverlays [50]
 
int field_3E8
 
int bRedraw
 

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

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

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

◆ OtherOverlayList_Image_MM7()

OtherOverlayList_Image_MM7::OtherOverlayList_Image_MM7 ( )

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

80  {
81  Assert(sizeof(*this) == 0x3F0);
82  memset(this, 0, sizeof(*this));
83 }

Методы

◆ Serialize()

void OtherOverlayList_Image_MM7::Serialize ( struct OtherOverlayList list)

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

169  {
170  memset(this, 0, sizeof(*this));
171 
172  this->bRedraw = list->bRedraw;
173  this->field_3E8 = list->field_3E8;
174 
175  for (unsigned int i = 0; i < 50; ++i) {
176  memset(&this->pOverlays[i], 0, sizeof(this->pOverlays[i]));
177 
178  this->pOverlays[i].field_0 = list->pOverlays[i].field_0;
179  this->pOverlays[i].field_2 = list->pOverlays[i].field_2;
180  this->pOverlays[i].sprite_frame_time =
181  list->pOverlays[i].sprite_frame_time;
182  this->pOverlays[i].field_6 = list->pOverlays[i].field_6;
183  this->pOverlays[i].screen_space_x = list->pOverlays[i].screen_space_x;
184  this->pOverlays[i].screen_space_y = list->pOverlays[i].screen_space_y;
185  this->pOverlays[i].field_C = list->pOverlays[i].field_C;
186  this->pOverlays[i].field_E = list->pOverlays[i].field_E;
187  this->pOverlays[i].field_10 = list->pOverlays[i].field_10;
188  }
189 }

Перекрестные ссылки OtherOverlayList::bRedraw, bRedraw, OtherOverlay::field_0, OtherOverlay_Image_MM7::field_0, OtherOverlay::field_10, OtherOverlay_Image_MM7::field_10, OtherOverlay::field_2, OtherOverlay_Image_MM7::field_2, OtherOverlayList::field_3E8, field_3E8, OtherOverlay::field_6, OtherOverlay_Image_MM7::field_6, OtherOverlay::field_C, OtherOverlay_Image_MM7::field_C, OtherOverlay::field_E, OtherOverlay_Image_MM7::field_E, OtherOverlayList::pOverlays, pOverlays, OtherOverlay::screen_space_x, OtherOverlay_Image_MM7::screen_space_x, OtherOverlay::screen_space_y, OtherOverlay_Image_MM7::screen_space_y, OtherOverlay::sprite_frame_time и OtherOverlay_Image_MM7::sprite_frame_time.

Используется в SaveGame().

+ Граф вызова функции:

◆ Deserialize()

void OtherOverlayList_Image_MM7::Deserialize ( struct OtherOverlayList list)

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

191  {
192  list->bRedraw = this->bRedraw;
193  list->field_3E8 = this->field_3E8;
194 
195  for (unsigned int i = 0; i < 50; ++i) {
196  memset(&list->pOverlays[i], 0, sizeof(list->pOverlays[i]));
197 
198  list->pOverlays[i].field_0 = this->pOverlays[i].field_0;
199  list->pOverlays[i].field_2 = this->pOverlays[i].field_2;
200  list->pOverlays[i].sprite_frame_time =
201  this->pOverlays[i].sprite_frame_time;
202  list->pOverlays[i].field_6 = this->pOverlays[i].field_6;
203  list->pOverlays[i].screen_space_x = this->pOverlays[i].screen_space_x;
204  list->pOverlays[i].screen_space_y = this->pOverlays[i].screen_space_y;
205  list->pOverlays[i].field_C = this->pOverlays[i].field_C;
206  list->pOverlays[i].field_E = this->pOverlays[i].field_E;
207  list->pOverlays[i].field_10 = this->pOverlays[i].field_10;
208  }
209 }

Перекрестные ссылки OtherOverlayList::bRedraw, bRedraw, OtherOverlay::field_0, OtherOverlay_Image_MM7::field_0, OtherOverlay::field_10, OtherOverlay_Image_MM7::field_10, OtherOverlay::field_2, OtherOverlay_Image_MM7::field_2, OtherOverlayList::field_3E8, field_3E8, OtherOverlay::field_6, OtherOverlay_Image_MM7::field_6, OtherOverlay::field_C, OtherOverlay_Image_MM7::field_C, OtherOverlay::field_E, OtherOverlay_Image_MM7::field_E, OtherOverlayList::pOverlays, pOverlays, OtherOverlay::screen_space_x, OtherOverlay_Image_MM7::screen_space_x, OtherOverlay::screen_space_y, OtherOverlay_Image_MM7::screen_space_y, OtherOverlay::sprite_frame_time и OtherOverlay_Image_MM7::sprite_frame_time.

Используется в LoadGame().

+ Граф вызова функции:

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

◆ pOverlays

OtherOverlay_Image_MM7 OtherOverlayList_Image_MM7::pOverlays[50]

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

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

◆ field_3E8

int OtherOverlayList_Image_MM7::field_3E8

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

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

◆ bRedraw

int OtherOverlayList_Image_MM7::bRedraw

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

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


Объявления и описания членов структур находятся в файлах:
OtherOverlay::field_10
int field_10
Definition: Overlays.h:19
OtherOverlay_Image_MM7::screen_space_y
int16_t screen_space_y
Definition: LegacyImages.h:539
OtherOverlay_Image_MM7::field_E
int16_t field_E
Definition: LegacyImages.h:541
OtherOverlayList::bRedraw
int bRedraw
Definition: Overlays.h:38
OtherOverlay::sprite_frame_time
int16_t sprite_frame_time
Definition: Overlays.h:13
OtherOverlay::field_C
int16_t field_C
Definition: Overlays.h:17
OtherOverlay_Image_MM7::field_6
int16_t field_6
Definition: LegacyImages.h:537
OtherOverlay::field_0
int16_t field_0
Definition: Overlays.h:11
OtherOverlayList::pOverlays
OtherOverlay pOverlays[50]
Definition: Overlays.h:36
OtherOverlay_Image_MM7::field_2
int16_t field_2
Definition: LegacyImages.h:535
OtherOverlayList_Image_MM7::field_3E8
int field_3E8
Definition: LegacyImages.h:554
OtherOverlay::screen_space_y
int16_t screen_space_y
Definition: Overlays.h:16
OtherOverlay_Image_MM7::field_10
int field_10
Definition: LegacyImages.h:542
OtherOverlay::field_6
int16_t field_6
Definition: Overlays.h:14
OtherOverlay_Image_MM7::sprite_frame_time
int16_t sprite_frame_time
Definition: LegacyImages.h:536
OtherOverlayList_Image_MM7::pOverlays
OtherOverlay_Image_MM7 pOverlays[50]
Definition: LegacyImages.h:553
OtherOverlayList_Image_MM7::bRedraw
int bRedraw
Definition: LegacyImages.h:555
OtherOverlay::field_E
int16_t field_E
Definition: Overlays.h:18
OtherOverlay::screen_space_x
int16_t screen_space_x
Definition: Overlays.h:15
OtherOverlay_Image_MM7::field_0
int16_t field_0
Definition: LegacyImages.h:534
OtherOverlay::field_2
int16_t field_2
Definition: Overlays.h:12
OtherOverlay_Image_MM7::screen_space_x
int16_t screen_space_x
Definition: LegacyImages.h:538
OtherOverlayList::field_3E8
int field_3E8
Definition: Overlays.h:37
OtherOverlay_Image_MM7::field_C
int16_t field_C
Definition: LegacyImages.h:540