mirror of
https://github.com/s00500/SimpleExpressions
synced 2025-07-07 01:10:19 +00:00
Rebuilding mouth loading system
This commit is contained in:
69
Shapes.h
69
Shapes.h
@ -1,47 +1,42 @@
|
||||
#ifndef Shapes_h
|
||||
#define Shapes_h
|
||||
|
||||
struct Frame
|
||||
{
|
||||
String name;
|
||||
unsigned int data[7][3];
|
||||
}
|
||||
typedef Frame;
|
||||
|
||||
//***********************************************************************************
|
||||
//*********************************MOUTHS DEFINES************************************
|
||||
//***********************************************************************************
|
||||
|
||||
|
||||
const int zeros[7][3] = {
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
const Frame shapes[] = {
|
||||
{
|
||||
"zeros",
|
||||
{
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
}
|
||||
},
|
||||
{
|
||||
"happySimple",
|
||||
{
|
||||
{0,0,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const int happySimple[7][3] = {
|
||||
{0,0,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
};
|
||||
|
||||
const int testing[7][3] = {
|
||||
{0,0,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,150,0},
|
||||
{0,0,0},
|
||||
{0,0,0},
|
||||
};
|
||||
|
||||
|
||||
//giving all moths a unique ID
|
||||
|
||||
#define M_ZERO 0
|
||||
#define M_HAPPY_SIMPLE 1
|
||||
#define M_TESTING 2
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user