1 /* 2 * This file is released under the GNU General Public Licence 3 * 4 * authors: 5 * Richard Ashbury <richard.asbury@btinternet.com> 6 * Jean-Christophe Hoelt <jeko@ios-software.com> 7 */ 8 9 #ifndef _CORONA_TYPES_H 10 #define _CORONA_TYPES_H 11 12 #define pause_state 10 13 #define normal_state 9 14 15 // TIMED LEVEL 16 // 17 struct TimedLevel 18 { 19 unsigned char frequency[2][512]; 20 int state; 21 int timeStamp; 22 int currentTimeMs; 23 24 int lastbeat; // filled by corona 25 }; 26 27 // COLOR 28 // 29 struct ColorRGB 30 { 31 unsigned char rgbRed; 32 unsigned char rgbGreen; 33 unsigned char rgbBlue; 34 }; 35 36 37 #endif 38