9
9903
Unregistered / Unconfirmed
GUEST, unregistred user!
部分结构定义:
type
MAPFILEHEADER = record
shWidth: word;
shHeight: word;
desc: array[1..48] of char;
end;
mapTILEINFO = record
btitle1: byte;
btitle2: byte;
bmtitle1: byte;
bmtitle2: byte;
bobject1: byte;
bobject2: byte;
bflag: byte;
boffset: byte;
bframecount: byte;
bdelaytime: byte;
bobjgroup: byte;
bunused: byte;
end;
TMatrix = array of array of byte;
type
TMESSAGEBODYWL = record
lParam1: LongInt;
lParam2: LongInt;
lTag1: LongInt;//低位表示是否允许编组
lTag2: LongInt;
end;
type
TMESSAGEBODYW = record
Param1: Word;
Param2: Word;
Tag1: Word;
Tag2: Word;
end {tagMESSAGEBODYW};
type
TCHARDESC = record
Feature: LongInt;
Status: LongInt;
end ;
type
TFEATURE = record
Gender: BYTE;
Weapon: BYTE;
Dress: BYTE;
Hair: BYTE;
end;
type
TSTANDARDITEM = record
Num:byte;
//名字的有效个数//源程序中这里应为name:array[0..14] of char;
Name: array[0..13] of char;
StdMode: BYTE;
//物品种类(<=3时可以在快捷栏上显示)
Shape: BYTE;
//外形
Weight: BYTE;
//重量
AniCount: BYTE;
//
SpecialPower: BYTE;
//特殊用途
NeedIdentify: BYTE;
//需要鉴别
Looks: Word;
//
DuraMax: Word;
//最大持久
AC: Word;
//防
MAC: Word;
//魔防
DC: Word;
//攻击
MC: Word;
//魔
SC: Word;
//道
Need: BYTE;
//
NeedLevel: BYTE;
//需要等级
Price: Integer;
//价格
end;
type
TCLIENTITEM = record
s: TSTANDARDITEM;
MakeIndex: Integer;
//
Dura: Word;
//持久
DuraMax: Word;
//最大持久
end;
type
TSTANDARDMAGIC = record //魔法
MagicID: Word;
//编号
Num:byte;
//这里应为MagicName:Array[0..13] of char //num 是我自己加的,表示后面名字的有效字符数.
MagicName: Array[0..12] of Char;
//名称 12
EffectType: BYTE;
Effect: BYTE;
//效果
Spell: Word;
//魔法
MinPower: Word;
//
Need: Array[0..3] of BYTE;
//升级需要的等级
Train: Array[0..3] of Integer;
//锻炼
MaxTrainLevel: BYTE;
//最大锻炼等级
Job: BYTE;
DelayTime: Integer;
//延迟时间
DefSpell: BYTE;
//默认
DefMinPower: BYTE;
MaxPower: Word;
DefMaxPower: BYTE;
szDesc: Array[0..15] of Char;
end;
type
TCLIENTMAGIC = record //魔法
UseKey: Char;
//按键
level:byte;
//等级
CurrTrain:integer;
//当前经验
Def: TSTANDARDMAGIC;
end;
type
MAPFILEHEADER = record
shWidth: word;
shHeight: word;
desc: array[1..48] of char;
end;
mapTILEINFO = record
btitle1: byte;
btitle2: byte;
bmtitle1: byte;
bmtitle2: byte;
bobject1: byte;
bobject2: byte;
bflag: byte;
boffset: byte;
bframecount: byte;
bdelaytime: byte;
bobjgroup: byte;
bunused: byte;
end;
TMatrix = array of array of byte;
type
TMESSAGEBODYWL = record
lParam1: LongInt;
lParam2: LongInt;
lTag1: LongInt;//低位表示是否允许编组
lTag2: LongInt;
end;
type
TMESSAGEBODYW = record
Param1: Word;
Param2: Word;
Tag1: Word;
Tag2: Word;
end {tagMESSAGEBODYW};
type
TCHARDESC = record
Feature: LongInt;
Status: LongInt;
end ;
type
TFEATURE = record
Gender: BYTE;
Weapon: BYTE;
Dress: BYTE;
Hair: BYTE;
end;
type
TSTANDARDITEM = record
Num:byte;
//名字的有效个数//源程序中这里应为name:array[0..14] of char;
Name: array[0..13] of char;
StdMode: BYTE;
//物品种类(<=3时可以在快捷栏上显示)
Shape: BYTE;
//外形
Weight: BYTE;
//重量
AniCount: BYTE;
//
SpecialPower: BYTE;
//特殊用途
NeedIdentify: BYTE;
//需要鉴别
Looks: Word;
//
DuraMax: Word;
//最大持久
AC: Word;
//防
MAC: Word;
//魔防
DC: Word;
//攻击
MC: Word;
//魔
SC: Word;
//道
Need: BYTE;
//
NeedLevel: BYTE;
//需要等级
Price: Integer;
//价格
end;
type
TCLIENTITEM = record
s: TSTANDARDITEM;
MakeIndex: Integer;
//
Dura: Word;
//持久
DuraMax: Word;
//最大持久
end;
type
TSTANDARDMAGIC = record //魔法
MagicID: Word;
//编号
Num:byte;
//这里应为MagicName:Array[0..13] of char //num 是我自己加的,表示后面名字的有效字符数.
MagicName: Array[0..12] of Char;
//名称 12
EffectType: BYTE;
Effect: BYTE;
//效果
Spell: Word;
//魔法
MinPower: Word;
//
Need: Array[0..3] of BYTE;
//升级需要的等级
Train: Array[0..3] of Integer;
//锻炼
MaxTrainLevel: BYTE;
//最大锻炼等级
Job: BYTE;
DelayTime: Integer;
//延迟时间
DefSpell: BYTE;
//默认
DefMinPower: BYTE;
MaxPower: Word;
DefMaxPower: BYTE;
szDesc: Array[0..15] of Char;
end;
type
TCLIENTMAGIC = record //魔法
UseKey: Char;
//按键
level:byte;
//等级
CurrTrain:integer;
//当前经验
Def: TSTANDARDMAGIC;
end;