Mercurial > mm7
view CastSpellInfo.h @ 1243:766ec1e7f4ea
fixing monster portrait not drawing when rightclicking + out of bounds error when opening inventory
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 23:51:53 +0200 |
parents | 0dbf6c4dd029 |
children | bfe342ae0c1f |
line wrap: on
line source
#pragma once #include <array> /* 271 */ #pragma pack(push, 1) struct CastSpellInfo { //----- (00426987) -------------------------------------------------------- inline CastSpellInfo() { field_8 = 0; spellnum = 0; field_6 = 0; uPlayerID_2 = 0; uPlayerID = 0; sound_id = 0; } void _427D48(unsigned int uPlayerID); unsigned int PushCastSpellInfo(__int16 a2, __int16 uPlayerID, __int16 skill_level, __int16 a5, int sound_id); struct GUIWindow *sub_4219BE(); void _427E01_cast_spell(); __int16 spellnum; unsigned __int16 uPlayerID; __int16 uPlayerID_2; __int16 field_6; __int16 field_8; __int16 forced_spell_skill_level; int spell_target_pid; int sound_id; }; #pragma pack(pop) extern std::array<CastSpellInfo, 10> pCastSpellInfo; extern CastSpellInfo stru_50CDB4; // idb