// TODO : Research actual compatibility flags/"versions" from libtifiles, and maybe even TI ? void TIModels::initTIModelsArray() { uint flags82 = 0 | TIFeatureFlags::has82things; uint flags83 = flags82 | TIFeatureFlags::hasComplex; uint flags82a = flags83 | TIFeatureFlags::hasFlash; uint flags83p = flags82a | TIFeatureFlags::hasApps; uint flags84p = flags83p | TIFeatureFlags::hasClock; uint flags84pcse = flags84p | TIFeatureFlags::hasColorLCD; uint flags84pce = flags84pcse | TIFeatureFlags::hasEZ80CPU; uint flags83pce = flags84pce | TIFeatureFlags::hasExactMath; insertModel(-1, 0, "Unknown", ""); insertModel(0, flags82, "82", "**TI82**"); insertModel(1, flags83, "83", "**TI83**"); insertModel(2, flags82a, "82A", "**TI83F*"); insertModel(3, flags83p, "82+", "**TI83F*"); insertModel(3, flags83p, "83+", "**TI83F*"); insertModel(3, flags84p, "84+", "**TI83F*"); insertModel(4, flags84pcse, "84+CSE", "**TI83F*"); insertModel(5, flags84pce, "84+CE", "**TI83F*"); insertModel(6, flags83pce, "83PCE", "**TI83F*"); }
void initObject() { cubeNo = device->newObject(); insertModel(cube[0], cube[3], cube[2], cube[1], textureNo, 0x010101); insertModel(cube[4], cube[5], cube[6], cube[7], textureNo, 0x010101); insertModel(cube[0], cube[1], cube[5], cube[4], textureNo, 0x010101); insertModel(cube[1], cube[2], cube[6], cube[5], textureNo, 0x010101); insertModel(cube[2], cube[3], cube[7], cube[6], textureNo, 0x010101); insertModel(cube[3], cube[0], cube[4], cube[7], textureNo, 0x010101); }