Untitled

mail@pastecode.io avatar
unknown
c_cpp
2 years ago
1.9 kB
0
Indexable
Never
uint8_t reverseGearThick[8][8] = {
																				{1, 1, 1, 1, 1, 1, 1, 0},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 0, 0, 1, 1, 1},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 1, 1, 1, 1, 0},
																				{1, 1, 1, 0, 0, 1, 1, 1},
																				{1, 1, 1, 0, 0, 1, 1, 1},
																				{1, 1, 1, 0, 0, 1, 1, 1}
																			};

uint8_t neutralGearThick[8][8] = {
																				{1, 1, 1, 0, 0, 1, 1, 1},
																				{1, 1, 1, 1, 0, 1, 1, 1},
																				{1, 1, 1, 1, 0, 1, 1, 1},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 0, 1, 1, 1, 1},
																				{1, 1, 1, 0, 1, 1, 1, 1},
																				{1, 1, 1, 0, 0, 1, 1, 1} 
																			};

uint8_t firstGearThick[8][8] = {
																				{0, 0, 0, 1, 1, 1, 0, 0},
																				{0, 0, 1, 1, 1, 1, 0, 0},
																				{0, 1, 1, 1, 1, 1, 0, 0},
																				{0, 0, 0, 1, 1, 1, 0, 0},
																				{0, 0, 0, 1, 1, 1, 0, 0},
																				{0, 0, 0, 1, 1, 1, 0, 0},
																				{0, 0, 0, 1, 1, 1, 0, 0},
																				{0, 0, 0, 1, 1, 1, 0, 0}
																			};

uint8_t secondGearThick[8][8] = {
																				{0, 1, 1, 1, 1, 1, 1, 0},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 0, 0, 1, 1, 1},
																				{0, 0, 0, 0, 1, 1, 1, 0},
																				{0, 0, 1, 1, 1, 0, 0, 0},
																				{1, 1, 1, 0, 0, 0, 0, 0},
																				{1, 1, 1, 1, 1, 1, 1, 1},
																				{1, 1, 1, 1, 1, 1, 1, 1}
																			};
uint32_t traditionalGearArray[2] = {reverseGearThick, neutralGearThick};
uint32_t thickGearArray[2] = {firstGearThick, secondGearThick};

uint32_t fullArray[2] = {traditionalGearArray, thickGearArray};