mirror of
https://github.com/cmosher01/Epple-II.git
synced 2025-08-15 08:27:57 +00:00
reduce screen types to the most interesting 3
This commit is contained in:
@@ -234,13 +234,8 @@ void AnalogTV::drawCurrent()
|
|||||||
switch (this->type)
|
switch (this->type)
|
||||||
{
|
{
|
||||||
case MONITOR_COLOR: drawMonitorColor(); break;
|
case MONITOR_COLOR: drawMonitorColor(); break;
|
||||||
case MONITOR_WHITE: drawMonitorWhite(); break;
|
|
||||||
case MONITOR_GREEN: drawMonitorGreen(); break;
|
case MONITOR_GREEN: drawMonitorGreen(); break;
|
||||||
case MONITOR_ORANGE: drawMonitorOrange(); break;
|
|
||||||
case TV_OLD_COLOR: drawTVOld(); break;
|
case TV_OLD_COLOR: drawTVOld(); break;
|
||||||
case TV_OLD_BW: drawTVOld(); break;
|
|
||||||
case TV_NEW_COLOR: drawTVNew(); break;
|
|
||||||
case TV_NEW_BW: drawTVNew(); break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -261,7 +256,7 @@ void AnalogTV::drawMonitorColor()
|
|||||||
for (int row = 0; row < 192; ++row)
|
for (int row = 0; row < 192; ++row)
|
||||||
{
|
{
|
||||||
const CB cb = get_cb(row);
|
const CB cb = get_cb(row);
|
||||||
const bool removeColor = (this->type == TV_NEW_BW || !cb.isColor());
|
const bool removeColor = !cb.isColor();
|
||||||
ntsc_to_rgb_monitor(row*AppleNTSC::H+350,AppleNTSC::H-350,rgb);
|
ntsc_to_rgb_monitor(row*AppleNTSC::H+350,AppleNTSC::H-350,rgb);
|
||||||
for (int col = 350; col < AppleNTSC::H-2; ++col)
|
for (int col = 350; col < AppleNTSC::H-2; ++col)
|
||||||
{
|
{
|
||||||
@@ -350,7 +345,7 @@ void AnalogTV::drawTVNew()
|
|||||||
for (int row = 0; row < 192; ++row)
|
for (int row = 0; row < 192; ++row)
|
||||||
{
|
{
|
||||||
const CB cb = get_cb(row);
|
const CB cb = get_cb(row);
|
||||||
const bool removeColor = (this->type == TV_NEW_BW || !cb.isColor());
|
const bool removeColor = false; //(this->type == TV_NEW_BW || !cb.isColor());
|
||||||
ntsc_to_rgb_newtv(row*AppleNTSC::H+350,AppleNTSC::H-350,rgb);
|
ntsc_to_rgb_newtv(row*AppleNTSC::H+350,AppleNTSC::H-350,rgb);
|
||||||
for (int col = 350; col < AppleNTSC::H-2; ++col)
|
for (int col = 350; col < AppleNTSC::H-2; ++col)
|
||||||
{
|
{
|
||||||
|
@@ -35,13 +35,8 @@ public:
|
|||||||
enum DisplayType
|
enum DisplayType
|
||||||
{
|
{
|
||||||
MONITOR_COLOR,
|
MONITOR_COLOR,
|
||||||
MONITOR_WHITE,
|
|
||||||
MONITOR_GREEN,
|
MONITOR_GREEN,
|
||||||
MONITOR_ORANGE,
|
|
||||||
TV_OLD_COLOR,
|
TV_OLD_COLOR,
|
||||||
TV_OLD_BW,
|
|
||||||
TV_NEW_COLOR,
|
|
||||||
TV_NEW_BW,
|
|
||||||
|
|
||||||
NUM_DISPLAY_TYPES
|
NUM_DISPLAY_TYPES
|
||||||
};
|
};
|
||||||
|
@@ -133,13 +133,8 @@ void ScreenImage::drawCassette() {
|
|||||||
|
|
||||||
static const char* displays[] = {
|
static const char* displays[] = {
|
||||||
"COLOR MONITOR ",
|
"COLOR MONITOR ",
|
||||||
"WHITE MONITOR ",
|
|
||||||
"GREEN MONITOR ",
|
"GREEN MONITOR ",
|
||||||
"ORANGE MONITOR",
|
"TELEVISION ",
|
||||||
"OLD COLOR TV ",
|
|
||||||
"OLD B & W TV ",
|
|
||||||
"NEW COLOR TV ",
|
|
||||||
"NEW B & W TV ",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void ScreenImage::drawFnKeys() {
|
void ScreenImage::drawFnKeys() {
|
||||||
|
Reference in New Issue
Block a user