X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=entity.h;h=472ab36a34d9acc46156a891a5185346238d7c49;hb=14b3d5c13faab36bd37ae27aa8c1501ba7146f89;hp=ae9d63bd45f7aa442b41779d7d1d6d919792c648;hpb=1a40e653040837e47a4aba82d6b9f9800901fd64;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.h b/entity.h index ae9d63b..472ab36 100644 --- a/entity.h +++ b/entity.h @@ -29,6 +29,7 @@ typedef struct ent_ccmd ent_ccmd; typedef struct ent_challenge ent_challenge; typedef struct ent_unlock ent_unlock; typedef struct ent_relay ent_relay; +typedef struct ent_cubemap ent_cubemap; enum entity_alias{ k_ent_none = 0, @@ -51,7 +52,8 @@ enum entity_alias{ k_ent_ccmd = 17, k_ent_challenge = 18, k_ent_unlock = 19, - k_ent_relay = 20 + k_ent_relay = 20, + k_ent_cubemap = 21 }; static u32 mdl_entity_id_type( u32 entity_id ){ @@ -421,6 +423,12 @@ struct ent_relay { u32 targets[4][2]; }; +struct ent_cubemap { + v3f co; + u32 resolution, live, texture_id, + framebuffer_id, renderbuffer_id, placeholder[2]; +}; + typedef struct ent_call ent_call; struct ent_call{ u32 id, function;