⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msl.h

📁 [游戏开发参考书-用DirectX编写RPG游戏]这是一个系列的丛书如果你都看并且懂的话你就可以你工作啦!
💻 H
字号:
#ifndef _MSL_H_
#define _MSL_H_

typedef struct sSpell
{
  char  Name[32];           // Name of character
  char  Description[128];   // Description of spell
  
  long  DmgClass;           // Class that spell does 2x dmg
  long  CureClass;          // Class that spell aids

  long  Cost;               // Spell casting cost in MP

  float Distance;           // Max. distance to target

  long  Effect;             // Spell effect
  long  Chance;             // % of effect occurring
  float Value[4];           // Misc. values

  long  Target;             // Target of spell
  float Range;              // Range (in game units)

  long  MeshNum[3];         // Mesh # to use
  long  MeshPos[3];         // Positioning of mesh
  float MeshSpeed[3];       // Speed of mesh movement
  long  MeshSound[3];       // Sound effect # to play
  BOOL  MeshLoop[3];        // Loop animation
} sSpell;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -