1
This commit is contained in:
parent
04fa411adf
commit
d9898873d9
@ -38,7 +38,7 @@ namespace mc
|
||||
void Collider::Read(std::shared_ptr<a8::XObject> xobj)
|
||||
{
|
||||
ca_type = xobj->At("ca_type")->AsXValue();
|
||||
if (ca_type < kCA_Floor || ca_type > kCA_Other) {
|
||||
if (ca_type < kCA_Floor || ca_type > kCA_End) {
|
||||
abort();
|
||||
}
|
||||
enabled = xobj->At("enabled")->AsXValue();
|
||||
|
@ -23,6 +23,12 @@ namespace mc
|
||||
kCA_Stairs = 4,//楼梯
|
||||
kCA_Window = 9,//窗,主要为了射击穿透
|
||||
kCA_Other = 10,//其他,装饰品
|
||||
kCA_Grass = 19,//草,需要抖动
|
||||
kCA_Water = 20,//水
|
||||
kCA_Box = 21,//箱子
|
||||
kCA_Shield = 22,//盾
|
||||
kCA_WallShield = 23,//能量盾
|
||||
kCA_End
|
||||
};
|
||||
|
||||
struct Bounds
|
||||
|
Loading…
x
Reference in New Issue
Block a user