You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
2.5 KiB
97 lines
2.5 KiB
const int TwoLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 0},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 3},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int FourLetterPoint[][2] = {
|
|
{0, 1},
|
|
{1, 2}, {1, 1},
|
|
{2, 3}, {2, 1},
|
|
{3, 3},{3,2}, {3, 1}, {3, 0},
|
|
{4, 1}
|
|
};
|
|
|
|
const int SixLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 3}, {3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int EightLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3}, {1, 0},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 3}, {3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int FullLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3}, {1, 2}, {1, 1}, {1, 0},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 3}, {3, 2}, {3, 1}, {3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int radCenterX = 65;
|
|
const int radCenterY = 55;
|
|
const int radRadius[3] = {30, 40, 45};
|
|
|
|
const int internal = 0;
|
|
const int external = 1;
|
|
const int extended = 2;
|
|
|
|
const int ZeroLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3}, {1, 0},
|
|
{2, 3}, {2, 0},
|
|
{3, 3}, {3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int ThreeLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 0},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int FiveLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int SevenLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 0},
|
|
{2, 1},
|
|
{3, 2},
|
|
{4, 3},
|
|
};
|
|
|
|
const int OneLetterPoint[][2] = {
|
|
{0, 1},
|
|
{1, 2}, {1, 1},
|
|
{2, 1},
|
|
{3, 1},
|
|
{4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
const int NineLetterPoint[][2] = {
|
|
{0, 3}, {0, 2}, {0, 1}, {0, 0},
|
|
{1, 3}, {1, 0},
|
|
{2, 3}, {2, 2}, {2, 1}, {2, 0},
|
|
{3, 0},
|
|
{4, 3}, {4, 2}, {4, 1}, {4, 0}
|
|
};
|
|
|
|
float mapFloat(float x, float in_min, float in_max, float out_min, float out_max);
|