view Autonotes.h @ 1604:4b79ff62df3a

Moved enchantment attribute bonus list to items.cpp/h, created static function that create the enchantments + helper functions to get the enchantment strength, moved the whole logic of Player::GetItemsBonus to a case
author Grumpy7
date Sat, 14 Sep 2013 06:04:18 +0200
parents 0665a061132b
children
line wrap: on
line source

#pragma once
#include <array>



/*  351 */
enum AUTONOTE_TYPE : __int32
{
  AUTONOTE_POTION_RECEPIE = 0,
  AUTONOTE_STAT_HINT = 1,
  AUTONOTE_OBELISK = 2,
  AUTONOTE_SEER = 3,
  AUTONOTE_MISC = 4,
  AUTONOTE_TEACHER = 5,
};

/*  350 */
#pragma pack(push, 1)
struct Autonote
{
  const char    *pText;
  AUTONOTE_TYPE  eType;
};
#pragma pack(pop)
extern std::array<Autonote, 196> pAutonoteTxt; // weak