Menu

Commit [r2944]  Maximize  Restore  History

Added a clearscreen() builtin function to the script API. It takes a screen pointer as input, and clears the entire screen to solid black.

The clearscreen() script function is a simple wrapper around the clearscreen() function in gamelib.

Usage: void clearscreen(void* screen)

Note: this has not been tested yet.

plombo 2010-12-01