projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cubemaps
[carveJwlIkooP6JGAAIwe30JlM.git]
/
entity.h
diff --git
a/entity.h
b/entity.h
index ae9d63bd45f7aa442b41779d7d1d6d919792c648..472ab36a34d9acc46156a891a5185346238d7c49 100644
(file)
--- 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_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,
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_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 ){
};
static u32 mdl_entity_id_type( u32 entity_id ){
@@
-421,6
+423,12
@@
struct ent_relay {
u32 targets[4][2];
};
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;
typedef struct ent_call ent_call;
struct ent_call{
u32 id, function;