From 6a86fc4668ce7e213330bb78aff45c578e159f54 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 24 Dec 2003 18:19:00 +0000 Subject: devel snapshot --- src/gfx.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/gfx.h') diff --git a/src/gfx.h b/src/gfx.h index baa19d2..d3f1ec3 100644 --- a/src/gfx.h +++ b/src/gfx.h @@ -92,11 +92,27 @@ SDL_Event *GFXGetKey(void); SDL_Event *GFXWaitKey(void); +/* Lock the screen for updates +*/ +void GFXLock(void); + + +/* Unlock the screen following updates +*/ +void GFXUnlock(void); + + /* Note that no bound checking (except for GFXPrint()) is done - it is the callers responsibility to plot onscreen. */ +/* Plot a point without locking. GFXLock() and GFXUnlock() MUST surround + calls to this +*/ +void GFXFastPlot(int x, int y, Uint32 col); + + /* Plot a point */ void GFXPlot(int x, int y, Uint32 col); -- cgit v1.2.3