# HG changeset patch # User Ritor1 # Date 1367400686 -21600 # Node ID bfb00599a133ff10cc7c796c724388dccf12bcff # Parent 02984766816f1bd1b42077ee3b9dfec136154b3a New files diff -r 02984766816f -r bfb00599a133 CastSpellInfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CastSpellInfo.h Wed May 01 15:31:26 2013 +0600 @@ -0,0 +1,38 @@ +#pragma once + + + +/* 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 CastSpellInfo pCastSpellInfo[10]; +extern CastSpellInfo stru_50CDB4; // idb