view CastSpellInfo.h @ 1517:c3da3c2985b8

Clean CastSpellInfo. (1)
author yoctozepto
date Wed, 04 Sep 2013 14:34:59 +0200
parents bfe342ae0c1f
children 4c787c28ddce
line wrap: on
line source

#pragma once
#include <array>

namespace CastSpellInfoHelpers
{
  void _427D48();
  void _427E01_cast_spell();
};

/*  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;
  }

  struct GUIWindow *GetCastSpellInInventoryWindow();

  __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)