stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/map minimap.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/map minimap.c
Date: 8 Jan 2004 23:48:34 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/08 23:48:34

Modified files:
        src/map        : minimap.c 

Log message:
        Draw Square around minimap: USE_MAGNANT

Patches:
Index: stratagus/src/map/minimap.c
diff -u stratagus/src/map/minimap.c:1.84 stratagus/src/map/minimap.c:1.85
--- stratagus/src/map/minimap.c:1.84    Sat Dec 20 16:33:32 2003
+++ stratagus/src/map/minimap.c Thu Jan  8 23:48:33 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: minimap.c,v 1.84 2003/12/20 05:33:32 jsalmon3 Exp $
+//     $Id: minimap.c,v 1.85 2004/01/08 12:48:33 mohydine Exp $
 
 //@{
 
@@ -437,6 +437,7 @@
        drect.y = TheUI.MinimapPosY;
 
        SDL_BlitSurface(MinimapSurface, NULL, TheScreen, &drect);
+    //FIX ME: Add a Rectangle around the map here
 }
 
 
@@ -981,6 +982,10 @@
                        break;
                }
        }
+#ifdef USE_MAGNANT
+    VideoDraw50TransRectangle(ColorYellow, TheUI.MinimapPosX, 
TheUI.MinimapPosY, TheUI.MinimapW, TheUI.MinimapH);
+    //VideoDraw50TransRectangle(ColorYellow, TheUI.MinimapPosX-1, 
TheUI.MinimapPosY-1, TheUI.MinimapW+1, TheUI.MinimapH+1);
+#endif
 }
 
 /**




reply via email to

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