summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-05-26 19:43:56 +0000
committertron <tron@openttd.org>2005-05-26 19:43:56 +0000
commit4cd4a2be79eb1dfd4ff7550df450652e0eec884d (patch)
treeb3a10638486f21aa53489f9360c758c6a8556259 /sdl.c
parent6566941077cd468752f697c336c4665dd212bea5 (diff)
downloadopenttd-4cd4a2be79eb1dfd4ff7550df450652e0eec884d.tar.xz
(svn r2367) Remove some unused functions, probably was some debug stuff
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/sdl.c b/sdl.c
index 92548d603..48ff2d391 100644
--- a/sdl.c
+++ b/sdl.c
@@ -686,25 +686,4 @@ const HalSoundDriver _sdl_sound_driver = {
SdlSoundStop,
};
-
-#if 0 /* XXX what the heck is that? */
-#include "viewport.h"
-void redsq_debug(int tile)
-{
- _thd.redsq = tile;
- MarkWholeScreenDirty();
- _screen.dst_ptr = _sdl_screen->pixels;
- UpdateWindows();
-
- SdlVideoMakeDirty(0,0,_screen.width,_screen.height);
- DrawSurfaceToScreen();
-}
-
-static void DbgRedraw()
-{
- SdlVideoMakeDirty(0,0,_screen.width,_screen.height);
- DrawSurfaceToScreen();
-}
-#endif
-
#endif /* WITH_SDL */