X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=entity.h;h=487c4d390042104ca7fa133922fd7419c9840ee7;hb=f48c3935c01da796b7ecb011a42d6576788b7648;hp=7143a4130aaccadaa905fa55eaceebf664785f6a;hpb=4c95c9c3e6033cd1360adacef3c80fc4da933715;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.h b/entity.h index 7143a41..487c4d3 100644 --- a/entity.h +++ b/entity.h @@ -26,6 +26,7 @@ typedef struct ent_camera ent_camera; typedef struct ent_swspreview ent_swspreview; typedef struct ent_worldinfo ent_worldinfo; typedef struct ent_ccmd ent_ccmd; +typedef struct ent_challenge ent_challenge; enum entity_alias{ k_ent_none = 0, @@ -45,7 +46,8 @@ enum entity_alias{ k_ent_swspreview = 14, k_ent_menuitem = 15, k_ent_worldinfo = 16, - k_ent_ccmd = 17 + k_ent_ccmd = 17, + k_ent_challenge = 18 }; static u32 mdl_entity_id_type( u32 entity_id ){ @@ -378,6 +380,14 @@ struct ent_ccmd{ u32 pstr_command; }; +struct ent_challenge{ + mdl_transform transform; + u32 submesh_start, + submesh_count, + id_next, + filter; +}; + typedef struct ent_call ent_call; struct ent_call{ u32 id, function;