projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor model things
[carveJwlIkooP6JGAAIwe30JlM.git]
/
model.h
diff --git
a/model.h
b/model.h
index 957001c40a193ad2b0e7be2d86472e81e7047baa..fb33e0bbad88bbaa45f7c1f61e708148c8a95d0b 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-37,12
+37,12
@@
enum classtype
k_classtype_bone = 10,
k_classtype_skeleton = 11,
k_classtype_skin = 12,
k_classtype_bone = 10,
k_classtype_skeleton = 11,
k_classtype_skin = 12,
- k_classtype_achievement_box = 13,
k_classtype_audio = 14,
k_classtype_audio = 14,
- k_classtype_trigger = 15
+ k_classtype_trigger = 100,
+ k_classtype_logic_achievement = 101,
+ k_classtype_logic_relay = 102
};
};
-
#pragma pack(push,1)
struct mdl_vert
#pragma pack(push,1)
struct mdl_vert
@@
-149,6
+149,7
@@
struct classtype_route_node
struct classtype_route
{
u32 id_start;
struct classtype_route
{
u32 id_start;
+ u32 pstr_name;
v3f colour;
};
v3f colour;
};
@@
-178,10
+179,19
@@
struct classtype_skin
u32 skeleton;
};
u32 skeleton;
};
-struct classtype_
achievement_box
+struct classtype_
trigger
{
{
- u32 pstr_name,
- trigger;
+ u32 target;
+};
+
+struct classtype_logic_relay
+{
+ u32 targets[4];
+};
+
+struct classtype_logic_achievement
+{
+ u32 pstr_name;
};
struct classtype_audio
};
struct classtype_audio