X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=model.h;h=b2d258deb282916dfead2dd647893259e39b87ec;hb=e61356f70eddb79f05d7b9e329e91963ec74f817;hp=95d6676e4d8589c512fd86a6a93436651250f28c;hpb=34a8df54eb962f3ad2e036355041f5bc5cabe5a0;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/model.h b/model.h index 95d6676..b2d258d 100644 --- a/model.h +++ b/model.h @@ -42,7 +42,7 @@ 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 }; @@ -271,9 +271,17 @@ struct classtype_audio float volume; }; -struct classtype_point_light +struct classtype_world_light { + enum light_type + { + k_light_type_point, + k_light_type_spot + } + type; + v4f colour; /* RGB, Energy */ + float angle; }; #pragma pack(pop)