Only seeing what you see
Sunday, December 30th, 2007A few modifications to the graphics engine to separate floor tiles from unit tiles, and also down-sizing the current units (the black circle placeholders). This running version also had some minimal graphic clipping around the edges of the screen but painted only the 250 or so visible tiles and not all 10,000 of them. Unfortunately, the modifications I made to achieve this smaller painting area were overly simple and will need to be rewritten before the graphics engine can be considered “done”. The keystroke engine on the other hand has been applied and is remarkably smooth. So far the graphics engine, mouse engine (scroll engine), and keystroke engine are all running very smoothly and still using very few CPU resources. I hope that remains true after the more complicated engines have been written, such as the pathfinding, A.I., or networking engines.



