#include "screen.h" #include using namespace std; enum color { black='*', white=' ' }; char screen[XMAX][YMAX]; void screen_init() { for (int y=0; y=a || a<=b) y0 += dy, eps -= two_a; } } void screen_clear() { screen_init(); } void screen_refresh() { for (int y=YMAX-1; 0<=y; y--) { // top to bottom for (int x=0; x