[Scummvm-devel] OSystem::clearScreen documentation / implementation

Johannes Schickel lordhoto at gmail.com
Sun Feb 15 05:02:20 CET 2009


Paul Gilbert schrieb:
> If we did implement a separate fillScreen method, we could have the 
> existing clearScreen method simply call fillScreen(0). That way 
> engines that specifically need use a non-standard palette index can 
> call fillScreen rather than clearScreen, but we keep the clearScreen() 
> as is for the existing engines.

Still we should update the documentation then to say that it fills the 
screen buffer with zero.

// Johannes




More information about the Scummvm-devel mailing list