fna-workbench

fna-workbench Commit Details


Date:2015-12-29 16:19:58 (9 years 8 months ago)
Author:Ethan Lee
Branch:master
Commit:b981d7aced7f01832c2b8f246e9993e1f24c653f
Parents: 7bb82fb4496f27330bddc629b6879b020ab20549
Message:Use the timer to check how new a Cue is

Changes:

File differences

src/Audio/Cue.cs
9292
9393
9494
95
95
96
9697
9798
9899
......
144145
145146
146147
147
148
149
150148
151149
152150
......
464462
465463
466464
467
468
469465
470466
471467
{
get
{
return INTERNAL_framesSinceStart < 4;
// Arbitrarily 1 frame in a 15Hz game -flibit
return INTERNAL_timer.ElapsedMilliseconds < 67;
}
}
private AudioCategory INTERNAL_category;
private bool INTERNAL_isManaged;
// Arbitrary nonsense to prevent duplicate Cues
private ulong INTERNAL_framesSinceStart = 0;
// Fading
private enum FadeMode
{
return true;
}
INTERNAL_framesSinceStart += 1;
// Play events when the timestamp has been hit.
for (int i = 0; i < INTERNAL_eventList.Count; i += 1)
{

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.59947s using 13 queries.