Commit Graph

23 Commits

Author SHA1 Message Date
Matthias Mailänder
672bd2d9fe Don't crash when putting the trait on the World actor. 2020-05-24 12:36:26 +02:00
abcdefg30
23b3c237b7 Update the year numbers in all license headers to 2020 2020-01-05 17:00:34 +00:00
abcdefg30
cadbd0d9ab Change the year number in all cs headers from 2018 to 2019 2019-01-26 23:15:21 +01:00
Arular101
8a60918841 Update copyright notice year to 2018 2018-01-17 00:47:34 +01:00
RoosterDragon
85c948fd8d Add a streaming audio playback interface.
This allows audio to be streamed, rather than needed to be fully loaded into memory.
2017-07-14 23:02:49 +01:00
reaperrr
1e63013eb1 Add support for random sounds to AmbientSound 2017-04-22 14:36:55 +02:00
Paul Chote
f219d40aa1 Improve support for overlapping sounds. 2017-02-11 16:19:58 +00:00
reaperrr
e23a866979 Move RandomDelay from AmbientSound to Util 2017-02-04 12:31:11 +01:00
Paul Chote
647ee841b4 Overhaul AmbientSound trait. 2017-02-03 22:01:12 +00:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab Rename UpgradableTrait to ConditionalTrait. 2016-12-23 23:28:34 +00:00
Paul Chote
9ddfdc45b3 Introduce SoundType enum. 2016-12-23 11:34:23 +00:00
Matthias Mailänder
be3ea7b79e Move audio traits into Sounds namespace. 2016-04-10 22:34:10 +02:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
reaperrr
bbf5a4a06d Make AmbientSound upgradable and add customisable interval 2015-10-31 13:43:57 +01:00
RoosterDragon
262ab408b5 Speed up checks for IOccupySpace trait.
Eagerly load the trait (if it exists) in Actor, and use this reference to avoid having to perform self.Info.HasTraitInfo<IOccupySpaceInfo>() checks.
2015-10-14 20:46:15 +01:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
atlimit8
85fab45451 Remove Actor.HasTrait<T>() 2015-09-19 09:49:23 -05:00
atlimit8
1bcc07ce69 Add property requirements to safe traits 2015-07-12 12:44:30 -05:00
Matthias Mailänder
24444d4af3 fix a crash in AmbientSound 2015-07-05 18:07:11 +02:00
Matthias Mailänder
7cbdc07ca3 add a looping sound trait 2015-05-02 06:59:57 +02:00