new structured char support
This commit is contained in:
parent
b115bba5de
commit
38440c72bd
|
|
@ -883,6 +883,8 @@ string_dart_type(const string &strval) {
|
|||
return DT_nosync;
|
||||
} else if (cmp_nocase_uh(strval, "default") == 0) {
|
||||
return DT_default;
|
||||
} else if (cmp_nocase_uh(strval, "structured") == 0) {
|
||||
return DT_structured;
|
||||
} else {
|
||||
return DT_none;
|
||||
}
|
||||
|
|
@ -1359,6 +1361,8 @@ ostream &operator << (ostream &out, EggGroup::DartType t) {
|
|||
return out << "sync";
|
||||
case EggGroup::DT_nosync:
|
||||
return out << "nosync";
|
||||
case EggGroup::DT_structured:
|
||||
return out << "structured";
|
||||
case EggGroup::DT_default:
|
||||
return out << "1";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,13 +46,6 @@ PUBLISHED:
|
|||
GT_instance = 0x00000001,
|
||||
GT_joint = 0x00000002,
|
||||
};
|
||||
enum DartType {
|
||||
// The bits here must correspond to those in Flags, below.
|
||||
DT_none = 0x00000000,
|
||||
DT_sync = 0x00000004,
|
||||
DT_nosync = 0x00000008,
|
||||
DT_default = 0x0000000c,
|
||||
};
|
||||
enum DCSType {
|
||||
// The bits here must correspond to those in Flags2, below.
|
||||
DC_unspecified = 0x00000000,
|
||||
|
|
@ -95,6 +88,16 @@ PUBLISHED:
|
|||
CF_intangible = 0x08000000,
|
||||
};
|
||||
|
||||
enum DartType {
|
||||
// The bits here must correspond to those in Flags, below.
|
||||
DT_none = 0x00000000,
|
||||
DT_structured = 0x10000000,
|
||||
DT_sync = 0x20000000,
|
||||
DT_nosync = 0x30000000,
|
||||
DT_default = 0x40000000,
|
||||
};
|
||||
|
||||
|
||||
// These correspond to ColorBlendAttrib::Mode (but not numerically).
|
||||
enum BlendMode {
|
||||
BM_unspecified,
|
||||
|
|
@ -325,7 +328,6 @@ private:
|
|||
|
||||
enum Flags {
|
||||
F_group_type = 0x00000003,
|
||||
F_dart_type = 0x0000000c,
|
||||
|
||||
F_billboard_type = 0x000000e0,
|
||||
F_switch_flag = 0x00000100,
|
||||
|
|
@ -336,6 +338,7 @@ private:
|
|||
F_direct_flag = 0x00004000,
|
||||
F_cs_type = 0x000f0000,
|
||||
F_collide_flags = 0x0ff00000,
|
||||
F_dart_type = 0xf0000000,
|
||||
};
|
||||
enum Flags2 {
|
||||
F2_collide_mask = 0x00000001,
|
||||
|
|
|
|||
Loading…
Reference in New Issue