diff dmscaledblit.h @ 232:79dac918c81e

Modularize line clipping etc. a lot, and export all line drawing and blitting functions.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 08 Oct 2012 09:01:05 +0300
parents 0430f484641b
children eba3b87f3f84
line wrap: on
line diff
--- a/dmscaledblit.h	Mon Oct 08 06:44:35 2012 +0300
+++ b/dmscaledblit.h	Mon Oct 08 09:01:05 2012 +0300
@@ -5,6 +5,7 @@
  * (C) Copyright 2011-2012 Tecnic Software productions (TNSP)
  */
 
+
 int DM_BLITFUNC_NAME (SDL_Surface *src,
     const int x0, const int y0,
     const int dwidth, const int dheight,
@@ -13,6 +14,9 @@
     DM_BLITFUNC_ARGS
 #endif
     )
+#ifdef DM_HEADER
+;
+#else
 {
     int yc;
     DMFixedPoint32 xv, yv, dx, dy;
@@ -70,7 +74,7 @@
 
     return 0;
 }
-
+#endif
 
 #undef DM_BLITFUNC_NAME
 #undef DM_BLITFUNC_ARGS