Window cleaning

As the text display is XORed with the background, I needed some code to clear the area the text is written to. This is now complete for the moon phase, wind direction, roster, status bar, and console windows. I’m not sure if I’ll want to put text in the view window so I’ve left that for now. Now I just need to integrate the y-position lookup for those windows and I will be able to print to any area of the screen. With a slight update to the character set I’ll also be able to do inverted text by overprinting a block character.

Leave a Reply

Your email address will not be published. Required fields are marked *