World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
11 Assert(
sizeof(*
this) == 56);
12 memset(
this, 0,
sizeof(*
this));
16 Assert(
sizeof(*
this) == 60);
17 memset(
this, 0,
sizeof(*
this));
21 Assert(
sizeof(*
this) == 0x4C);
22 memset(
this, 0,
sizeof(*
this));
26 Assert(
sizeof(*
this) == 0x24);
27 memset(
this, 0,
sizeof(*
this));
31 Assert(
sizeof(*
this) == 0x10);
32 memset(
this, 0,
sizeof(*
this));
36 Assert(
sizeof(*
this) == 0xB);
37 memset(
this, 0,
sizeof(*
this));
41 Assert(
sizeof(*
this) == 0x64);
42 memset(
this, 0,
sizeof(*
this));
46 Assert(
sizeof(*
this) == 0x40);
47 memset(
this, 0,
sizeof(*
this));
51 Assert(
sizeof(*
this) == 0x1C);
52 memset(
this, 0,
sizeof(*
this));
56 Assert(
sizeof(*
this) == 0x1B3C);
57 memset(
this, 0,
sizeof(*
this));
61 Assert(
sizeof(*
this) == 0x678);
62 memset(
this, 0,
sizeof(*
this));
66 Assert(
sizeof(*
this) == 0x16238);
67 memset(
this, 0,
sizeof(*
this));
71 Assert(
sizeof(*
this) == 0x28);
72 memset(
this, 0,
sizeof(*
this));
76 Assert(
sizeof(*
this) == 0x14);
77 memset(
this, 0,
sizeof(*
this));
81 Assert(
sizeof(*
this) == 0x3F0);
82 memset(
this, 0,
sizeof(*
this));
86 Assert(
sizeof(*
this) == 0x20);
87 memset(
this, 0,
sizeof(*
this));
91 Assert(
sizeof(*
this) == 0xD);
92 memset(
this, 0,
sizeof(*
this));
96 memset(
this, 0,
sizeof(*
this));
124 memset(
this, 0,
sizeof(*
this));
170 memset(
this, 0,
sizeof(*
this));
175 for (
unsigned int i = 0; i < 50; ++i) {
195 for (
unsigned int i = 0; i < 50; ++i) {
212 memset(
this, 0,
sizeof(*
this));
232 memset(
this, 0,
sizeof(*
this));
262 memset(
this, 0,
sizeof(*
this));
278 for (
unsigned int i = 0; i < 10; ++i)
281 for (
unsigned int i = 0; i < 85; ++i)
284 for (
unsigned int i = 0; i < 53; ++i)
287 for (
unsigned int i = 0; i < 10; ++i)
290 for (
unsigned int i = 0; i < 29; ++i)
293 for (
unsigned int i = 0; i < 20; ++i)
316 this->bFlying = party->
bFlying;
328 this->uNumFoodRations = party->
GetFood();
339 for (
unsigned int i = 0; i < 5; ++i)
341 for (
unsigned int i = 0; i < 5; ++i)
347 for (
unsigned int i = 0; i < 64; ++i)
349 for (
unsigned int i = 0; i < 16; ++i)
358 for (
unsigned int i = 0; i < 29; ++i)
360 for (
unsigned int i = 0; i < 39; ++i)
362 for (
unsigned int i = 0; i < 26; ++i)
364 for (
unsigned int i = 0; i < 60; ++i)
366 for (
unsigned int i = 0; i < 32; ++i)
373 this->uFlags2 = party->
uFlags2;
380 for (
unsigned int i = 0; i < 20; ++i)
382 for (
unsigned int i = 0; i < 4; ++i)
384 for (
unsigned int i = 0; i < 2; ++i)
391 for (
unsigned int i = 0; i < 53; ++i)
392 for (
unsigned int j = 0; j < 12; ++j)
396 for (
unsigned int i = 0; i < 53; ++i)
397 for (
unsigned int j = 0; j < 12; ++j)
401 for (
unsigned int i = 0; i < 32; ++i)
402 for (
unsigned int j = 0; j < 12; ++j)
406 for (
unsigned int i = 0; i < 24; ++i)
415 for (
unsigned int i = 0; i < 4; ++i)
419 for (
unsigned int i = 0; i < 53; ++i)
422 this->uFine = party->
uFine;
443 for (
unsigned int i = 0; i < 10; ++i)
446 for (
unsigned int i = 0; i < 85; ++i)
449 for (
unsigned int i = 0; i < 53; ++i)
452 for (
unsigned int i = 0; i < 10; ++i)
455 for (
unsigned int i = 0; i < 29; ++i)
458 for (
unsigned int i = 0; i < 20; ++i)
504 for (
unsigned int i = 0; i < 5; ++i)
506 for (
unsigned int i = 0; i < 5; ++i)
508 this->monster_for_hunting_killed[i];
512 for (
unsigned int i = 0; i < 64; ++i)
514 for (
unsigned int i = 0; i < 16; ++i)
523 for (
unsigned int i = 0; i < 29; ++i)
525 for (
unsigned int i = 0; i < 39; ++i)
526 party->
field_7d7[i] = this->field_7d7[i];
527 for (
unsigned int i = 0; i < 26; ++i)
529 for (
unsigned int i = 0; i < 60; ++i)
530 party->
field_818[i] = this->field_818[i];
531 for (
unsigned int i = 0; i < 32; ++i)
532 party->
field_854[i] = this->field_854[i];
538 party->
uFlags2 = this->uFlags2;
554 for (
unsigned int i = 0; i < 20; ++i)
556 for (
unsigned int i = 0; i < 4; ++i)
558 for (
unsigned int i = 0; i < 2; ++i)
565 for (
unsigned int i = 0; i < 53; ++i)
566 for (
unsigned int j = 0; j < 12; ++j)
570 for (
unsigned int i = 0; i < 53; ++i)
571 for (
unsigned int j = 0; j < 12; ++j)
575 for (
unsigned int i = 0; i < 32; ++i)
576 for (
unsigned int j = 0; j < 12; ++j)
580 for (
unsigned int i = 0; i < 24; ++i)
589 for (
unsigned int i = 0; i < 4; ++i)
591 this->pTurnBasedPlayerRecoveryTimes[i];
593 for (
unsigned int i = 0; i < 53; ++i)
596 party->
uFine = this->uFine;
603 memset(
this, 0,
sizeof(*
this));
605 for (
unsigned int i = 0; i < 20; ++i)
645 for (
unsigned int i = 0; i < 37; ++i)
648 for (
unsigned int i = 0; i < 64; ++i)
651 for (
unsigned int i = 0; i < 99; ++i)
662 for (
unsigned int i = 0; i < 138; ++i)
665 for (
unsigned int i = 0; i < 126; ++i)
691 for (
unsigned int i = 0; i < 24; ++i)
707 for (
unsigned int i = 0; i < 16; ++i)
710 for (
unsigned int i = 0; i < 49; ++i)
718 for (
unsigned int i = 0; i < 49; ++i)
740 for (
unsigned int i = 0; i < 5; ++i) {
768 for (
unsigned int i = 0; i < 20; ++i)
773 strcpy(player->
pName, this->pName);
775 switch (this->
uSex) {
930 for (
unsigned int i = 0; i < 37; ++i)
933 for (
unsigned int i = 0; i < 64; ++i)
936 for (
unsigned int i = 0; i < 99; ++i)
947 for (
unsigned int i = 0; i < 138; ++i)
950 for (
unsigned int i = 0; i < 126; ++i)
976 for (
unsigned int i = 0; i < 24; ++i)
992 for (
unsigned int i = 0; i < 16; ++i)
995 for (
unsigned int i = 0; i < 49; ++i)
1003 for (
unsigned int i = 0; i < 49; ++i)
1025 for (
unsigned int i = 0; i < 5; ++i) {
1035 player->
vBeacons.push_back(beacon);
unsigned __int16 uMightBonus
unsigned int uCurrentTimeSecond
unsigned int uCurrentMonth
std::array< unsigned int, 16 > pIndices
unsigned int uCurrentYear
unsigned int uNumBountiesCollected
void SetAnimationName(const char *name)
@ PLAYER_CLASS_PRIEST_OF_MOON
int y_rotation_granularity
int _expression21_animtime
unsigned int uTimeElapsed
int16_t monster_for_hunting_killed[5]
unsigned int uCurrentMonth
void Serialize(struct OtherOverlayList *)
std::array< char, 29 > pIsArtifactFound
unsigned int uCurrentMinute
@ PLAYER_CLASS_RANGER_LORD
void Serialize(class Icon *)
const char * GetAnimationName() const
unsigned __int16 uWillpowerBonus
NPCData_Image_MM7 pHirelings[2]
unsigned __int16 uAccuracy
std::array< char, 32 > field_854
std::array< char, 39 > field_7d7
std::array< GameTime, 85 > Shops_next_generation_time
struct IconFrameTable * pIconsFrameTable
char uNumDivineInterventionCastsThisDay
unsigned __int16 uEnduranceBonus
unsigned __int8 hirelingScrollPosition
uint16_t pActiveSkills[37]
char field_7B5_in_arena_quest
unsigned int GetAnimLength() const
int16_t sprite_frame_time
std::array< int, 53 > InTheShopFlags
unsigned int pIndices[16]
uint32_t uTotalGameTimeElapsed
unsigned int uDefaultPartyHeight
unsigned __int8 _quest_bits[64]
Player_Image_MM7 pPlayers[4]
void SetAnimLength(unsigned int anim_length)
unsigned int uCurrentHour
float flt_TorchlightColorR
char lastOpenedSpellbookPage
std::array< Player, 4 > pPlayers
std::array< GameTime, 29 > HistoryEventTimes
int64_t uLastRegenerationTime
unsigned int uCurrentTimeSecond
unsigned int uDefaultEyelevel
ItemGen_Image_MM7 SpecialItemsInShops[53][12]
unsigned int uCurrentMonthWeek
std::array< GameTime, 10 > bountyHunting_next_generation_time
unsigned int uSkillPoints
std::array< unsigned __int16, 37 > pActiveSkills
int64_t Shops_next_generation_time[85]
std::array< char, 24 > field_1605C
unsigned char _autonote_bits[26]
GameTime last_regenerated
PartyTimeStruct PartyTimes
int64_t bountyHunting_next_generation_time[10]
void Serialize(struct Party *)
std::array< SpellBuff, 20 > pPartyBuffs
@ PLAYER_CLASS_ARCH_DRUID
unsigned int uPartyHeight
unsigned __int16 uExpressionTimeLength
OtherOverlay pOverlays[50]
std::array< int, 126 > pInventoryMatrix
EGLSurface EGLint EGLint y
ITEM_ENCHANTMENT special_enchantment
Icon * GetIcon(unsigned int idx)
uint16_t uExpressionTimeLength
void Deserialize(struct OtherOverlayList *)
unsigned __int16 uAccuracyBonus
std::array< char, 99 > bHaveSpell
int m_enchantmentStrength
std::array< ItemGen, 138 > pOwnItems
unsigned int uNumBountiesCollected
int y_rotation_granularity
unsigned char days_played_without_rest
float flt_TorchlightColorB
unsigned __int16 uWillpower
unsigned __int16 uExpressionTimePassed
int _6FC_water_lava_timer
CHARACTER_EXPRESSION_ID expression
void Deserialize(struct NPCData *item)
@ PLAYER_CLASS_PRIEST_OF_SUN
SpellBuff_Image_MM7 pPartyBuffs[20]
ItemGen_Image_MM7 StandartItemsInShops[53][12]
unsigned char _achieved_awards_bits[64]
PlayerEquipment_Image_MM7()
unsigned int uNumFoodRations
PartyTimeStruct_Image_MM7 PartyTimes
PlayerEquipment_Image_MM7 pEquipment
unsigned int uPartyHeight
unsigned __int8 uBodyAnchor
int pTurnBasedPlayerRecoveryTimes[4]
int16_t monster_id_for_hunting[5]
unsigned __int16 uLuckBonus
unsigned int uNumGoldInBank
unsigned __int16 uEndurance
SpellBuff_Image_MM7 pPlayerBuffs[24]
unsigned __int16 uTimeToRecovery
int _expression21_frameset
PlayerSpells_Image_MM7 spellbook
int _expression21_frameset
unsigned int uDefaultEyelevel
void Deserialize(struct Player *)
int _6FC_water_lava_timer
std::array< std::array< ItemGen, 12 >, 53 > StandartItemsInShops
void Serialize(class UIAnimation *)
char uNumDivineInterventionCastsThisDay
void Deserialize(class UIAnimation *)
unsigned __int16 uOverlayID
void SetAnimTime(unsigned int anim_time)
unsigned __int16 uIntelligenceBonus
uint8_t pArcomageWins[16]
unsigned __int8 uCurrentFace
int16_t sprite_frame_time
OtherOverlay_Image_MM7 pOverlays[50]
std::array< int, 4 > pTurnBasedPlayerRecoveryTimes
void Serialize(struct NPCData *item)
std::array< char, 60 > field_818
unsigned __int16 uSpeedBonus
@ PLAYER_CLASS_MASTER_ARCHER
std::array< unsigned __int8, 16 > pArcomageWins
@ PLAYER_CLASS_BOUNTY_HUNTER
@ PLAYER_CLASS_BLACK_KNIGHT
std::array< NPCData, 2 > pHirelings
unsigned int uNumGoldInBank
std::array< GameTime, 20 > conditions_times
int32_t dt_in_some_format
void Serialize(struct Timer *)
unsigned int uCurrentDayOfMonth
void Deserialize(struct Party *)
void Deserialize(class Icon *)
unsigned char _achieved_awards_bits[64]
PLAYER_CLASS_TYPE classType
unsigned int uCurrentMinute
unsigned int uSkillPoints
std::vector< LloydBeacon > vBeacons
void Serialize(struct Player *)
ItemGen_Image_MM7 pOwnItems[138]
int64_t _shop_ban_times[53]
int _expression21_animtime
@ PLAYER_CLASS_WARRIOR_MAGE
PlayerSpellbookChapter_Image_MM7()
unsigned __int16 uIntelligence
PartyTimeStruct_Image_MM7()
uint16_t uExpressionTimePassed
char pIsArtifactFound[29]
std::array< GameTime, 53 > _shop_ban_times
unsigned char _autonote_bits[26]
unsigned int uNumFoodRations
unsigned int GetAnimTime() const
ItemGen_Image_MM7 SpellBooksInGuilds[32][12]
std::array< GameTime, 10 > CounterEventValues
OtherOverlayList_Image_MM7()
uint64_t CounterEventValues[10]
unsigned int uCurrentMonthWeek
unsigned __int64 uExperience
int64_t HistoryEventTimes[29]
int pInventoryMatrix[126]
void Serialize(struct ItemGen *item)
ItemGen_Image_MM7 pPickedItem
std::array< GameTime, 20 > _s_times
int m_enchantmentStrength
uint16_t uIntelligenceBonus
uint8_t hirelingScrollPosition
unsigned int uCurrentYear
unsigned __int8 uQuickSpell
std::array< std::array< ItemGen, 12 >, 32 > SpellBooksInGuilds
LloydBeacon_Image_MM7 pInstalledBeacons[5]
PlayerEquipment pEquipment
std::array< std::array< ItemGen, 12 >, 53 > SpecialItemsInShops
unsigned int uDefaultPartyHeight
unsigned int uTotalGameTimeElapsed
unsigned int uCurrentDayOfMonth
void Serialize(struct SpellBuff *item)
void Deserialize(struct ItemGen *item)
std::array< __int16, 5 > monster_for_hunting_killed
std::array< SpellBuff, 24 > pPlayerBuffs
std::array< __int16, 5 > monster_id_for_hunting
@ PLAYER_CLASS_GREAT_DRUID
unsigned int uCurrentHour
float flt_TorchlightColorG
void Deserialize(struct Timer *)
void Deserialize(struct SpellBuff *item)