X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=entity.h;h=5b0d4a73bb82842d63959434e4e86eb882b8cf55;hb=8f83be5a31728cd6bf95020e729367cc44308763;hp=490737d5322737ab15cc839270bf38e236b1f65c;hpb=4b8aac300ee193cfa12011dfe0238cfe7d7ffce7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/entity.h b/entity.h index 490737d..5b0d4a7 100644 --- a/entity.h +++ b/entity.h @@ -176,10 +176,22 @@ struct ent_audio{ clip_start, clip_count; float volume, crossfade; - u32 channel_behaviour, + u32 behaviour, group, probability_curve, max_channels; }; +enum channel_behaviour{ + k_channel_behaviour_unlimited = 0, + k_channel_behaviour_discard_if_full = 1, + k_channel_behaviour_crossfade_if_full = 2 +}; + +enum probability_curve{ + k_probability_curve_constant = 0, + k_probability_curve_wildlife_day = 1, + k_probability_curve_wildlife_night = 2 +}; + #endif /* ENTITY_H */