projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkin
[carveJwlIkooP6JGAAIwe30JlM.git]
/
model.h
diff --git
a/model.h
b/model.h
index 12a05b1678b36a64e350a79c3de9843f8afc4d4d..7c4e0d9cbade5266c18b85d45a2b3f09fe8d8e8a 100644
(file)
--- a/
model.h
+++ b/
model.h
@@
-41,7
+41,9
@@
enum classtype
k_classtype_audio = 14,
k_classtype_trigger = 100,
k_classtype_logic_achievement = 101,
k_classtype_audio = 14,
k_classtype_trigger = 100,
k_classtype_logic_achievement = 101,
- k_classtype_logic_relay = 102
+ k_classtype_logic_relay = 102,
+ k_classtype_world_light = 200,
+ k_classtype_nonlocal_gate = 300
};
enum mdl_shader
};
enum mdl_shader
@@
-269,6
+271,21
@@
struct classtype_audio
float volume;
};
float volume;
};
+struct classtype_world_light
+{
+ enum light_type
+ {
+ k_light_type_point,
+ k_light_type_spot,
+ k_light_type_point_nighttime_only,
+ k_light_type_spot_nighttime_only
+ }
+ type;
+
+ v4f colour; /* RGB, Energy */
+ float angle;
+};
+
#pragma pack(pop)
#pragma pack(pop)