projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add freecam
[carveJwlIkooP6JGAAIwe30JlM.git]
/
entity.h
diff --git
a/entity.h
b/entity.h
index 7143a4130aaccadaa905fa55eaceebf664785f6a..487c4d390042104ca7fa133922fd7419c9840ee7 100644
(file)
--- 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_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,
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_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 ){
};
static u32 mdl_entity_id_type( u32 entity_id ){
@@
-378,6
+380,14
@@
struct ent_ccmd{
u32 pstr_command;
};
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;
typedef struct ent_call ent_call;
struct ent_call{
u32 id, function;