stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/video sprite.c video.c


From: Jimmy Salmon
Subject: [Stratagus-CVS] stratagus/src/video sprite.c video.c
Date: Sun, 30 Nov 2003 20:36:03 -0500

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Jimmy Salmon <address@hidden>   03/11/30 20:36:02

Modified files:
        src/video      : sprite.c video.c 

Log message:
        Fixed compiling errors

Patches:
Index: stratagus/src/video/sprite.c
diff -u stratagus/src/video/sprite.c:1.52 stratagus/src/video/sprite.c:1.53
--- stratagus/src/video/sprite.c:1.52   Sun Nov 30 15:39:44 2003
+++ stratagus/src/video/sprite.c        Sun Nov 30 20:36:02 2003
@@ -27,7 +27,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: sprite.c,v 1.52 2003/11/30 20:39:44 nehalmistry Exp $
+//     $Id: sprite.c,v 1.53 2003/12/01 01:36:02 jsalmon3 Exp $
 
 //@{
 
@@ -72,7 +72,7 @@
 ----------------------------------------------------------------------------*/
 
 #ifdef USE_SDL_SURFACE
-local void VideoDraw(const Graphic* sprite, unsigned frame, int x, int y)
+global void VideoDraw(const Graphic* sprite, unsigned frame, int x, int y)
 {
     SDL_Rect srect;
     SDL_Rect drect;
@@ -112,7 +112,7 @@
     SDL_BlitSurface(sprite->Surface, &srect, TheScreen, &drect);
 }
 
-local void VideoDrawX(const Graphic* sprite, unsigned frame, int x, int y)
+global void VideoDrawX(const Graphic* sprite, unsigned frame, int x, int y)
 {
     SDL_Rect srect;
     SDL_Rect drect;
@@ -129,7 +129,7 @@
     SDL_BlitSurface(sprite->SurfaceFlip, &srect, TheScreen, &drect);
 }
 
-local void VideoDrawClipX(const Graphic* sprite, unsigned frame, int x, int y)
+global void VideoDrawClipX(const Graphic* sprite, unsigned frame, int x, int y)
 {
     SDL_Rect srect;
     SDL_Rect drect;
@@ -154,7 +154,7 @@
     SDL_BlitSurface(sprite->SurfaceFlip, &srect, TheScreen, &drect);
 }
 
-local void VideoDrawShadowClip(const Graphic* sprite, unsigned frame,
+global void VideoDrawShadowClip(const Graphic* sprite, unsigned frame,
     int x, int y)
 {
     SDL_Rect srect;
@@ -183,7 +183,7 @@
     SDL_SetAlpha(sprite->Surface, SDL_SRCALPHA | SDL_RLEACCEL, alpha);
 }
 
-local void VideoDrawShadowClipX(const Graphic* sprite, unsigned frame,
+global void VideoDrawShadowClipX(const Graphic* sprite, unsigned frame,
     int x, int y)
 {
     SDL_Rect srect;
Index: stratagus/src/video/video.c
diff -u stratagus/src/video/video.c:1.77 stratagus/src/video/video.c:1.78
--- stratagus/src/video/video.c:1.77    Fri Nov 28 00:48:27 2003
+++ stratagus/src/video/video.c Sun Nov 30 20:36:02 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: video.c,v 1.77 2003/11/28 05:48:27 nehalmistry Exp $
+//     $Id: video.c,v 1.78 2003/12/01 01:36:02 jsalmon3 Exp $
 
 //@{
 
@@ -733,7 +733,7 @@
 **     FIXME: Also icons and some units use color cycling.
 */
 // FIXME: cpu intensive to go through the whole PaletteList
-local void ColorCycle(void)
+global void ColorCycle(void)
 {
     int i;
     SDL_Palette* pal;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]