X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=model.h;h=ca7c0b1d5f73d95c1a913fd5857fa552b9eb368e;hb=6294ef64d948eab2365e39a2645c9843aa96fba8;hp=ea34a6ddf974f5769f1482a2672e4d0975d21581;hpb=1f0e3292c021e8263716e5f4544a1efcedf3f03d;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/model.h b/model.h index ea34a6d..ca7c0b1 100644 --- a/model.h +++ b/model.h @@ -29,19 +29,19 @@ typedef struct mdl_context mdl_context; enum classtype { - k_classtype_none = 0, - k_classtype_gate = 1, - k_classtype_spawn = 3, - k_classtype_water = 4, - k_classtype_route_node = 8, - k_classtype_route = 9, - k_classtype_bone = 10, - k_classtype_skeleton = 11, - k_classtype_skin = 12, - k_classtype_audio = 14, - k_classtype_trigger = 100, - k_classtype_logic_achievement = 101, - k_classtype_logic_relay = 102 + k_classtype_none = 0, + k_classtype_gate = 1, + k_classtype_spawn = 3, + k_classtype_water = 4, + k_classtype_route_node = 8, + k_classtype_route = 9, + k_classtype_bone = 10, + k_classtype_skeleton = 11, + k_classtype_skin = 12, + k_classtype_audio = 14, + k_classtype_trigger = 100, + k_classtype_logic_achievement = 101, + k_classtype_logic_relay = 102 }; enum mdl_shader @@ -53,6 +53,20 @@ enum mdl_shader k_shader_water = 4 }; +enum mdl_surface_prop +{ + k_surface_prop_concrete = 0, + k_surface_prop_wood = 1, + k_surface_prop_grass = 2 +}; + +enum material_flag +{ + k_material_flag_skate_surface = 0x1, + k_material_flag_collision = 0x2, + k_material_flag_grow_grass = 0x4 +}; + #pragma pack(push,1) struct mdl_vert @@ -87,7 +101,8 @@ struct mdl_material { u32 pstr_name, shader, - flags; + flags, + surface_prop; v4f colour, colour1;