some audio things
[carveJwlIkooP6JGAAIwe30JlM.git] / model.h
diff --git a/model.h b/model.h
index 54987233a1f3cd8200468f5e1dcbee3640b6b407..4a310695f27784dda33164f7b7f494bcde36b87b 100644 (file)
--- a/model.h
+++ b/model.h
@@ -42,7 +42,8 @@ enum classtype
    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
 };
 
 enum mdl_shader
@@ -58,7 +59,8 @@ enum mdl_surface_prop
 {
    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
@@ -270,9 +272,19 @@ struct classtype_audio
    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)