k_classtype_trigger = 100,
k_classtype_logic_achievement = 101,
k_classtype_logic_relay = 102,
- k_classtype_point_light = 200,
+ k_classtype_world_light = 200,
k_classtype_nonlocal_gate = 300
};
{
k_surface_prop_concrete = 0,
k_surface_prop_wood = 1,
- k_surface_prop_grass = 2
+ k_surface_prop_grass = 2,
+ k_surface_prop_tiles = 3
};
enum material_flag
float volume;
};
-struct classtype_point_light
+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, range;
};
#pragma pack(pop)