time of day fix

This commit is contained in:
Peter Slattery 2021-04-26 20:18:43 -04:00
parent f809d670fb
commit 4074389bce
2 changed files with 8 additions and 6 deletions

View File

@ -19,8 +19,8 @@ layers:{
blocks:{
block:{
frame_range:{
min: 1;
max: 3599;
min: 0;
max: 3600;
};
layer_index: 0;
animation_name: "Pattern_VoicePattern";

View File

@ -36,10 +36,12 @@ gs_const_string VoicePatternFolder = ConstString("data/blumen_animations/audio_r
// NOTE: There is no need to modify the MotorOpenTimesCount variable -
// it is a compile time constant that gets calculated automatically
global time_range MotorOpenTimes[] = {
{ 8, 00, 12, 00 },
{ 12, 30, 13, 00 },
{ 18, 00, 22, 00 }, // 6:00pm to 10:00pm
{ 23, 05, 23, 53 },
{ 8, 00, 11, 59 }, // 8a to noon
{ 12, 30, 17, 59 }, // midday show - 12:30 - 6p
{ 18, 30, 22, 00 }, // 6:30pm to 10:00pm
// { 18, 00, 21, 51 }, // test, remove me
// { 21, 55, 22, 30 }, // test, remove me
// { 23, 05, 23, 53 }, // test, remove me
};
global u32 MotorOpenTimesCount = CArrayLength(MotorOpenTimes); // do not edit