msl.h
来自「[游戏开发参考书-用DirectX编写RPG游戏]这是一个系列的丛书如果你都看并」· C头文件 代码 · 共 31 行
H
31 行
#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 + =
减小字号Ctrl + -
显示快捷键?