[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src map/minimap.c ui/mainscr.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src map/minimap.c ui/mainscr.c |
Date: |
8 Jan 2004 23:57:19 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/08 23:57:18
Modified files:
src/map : minimap.c
src/ui : mainscr.c
Log message:
Draw Black Square around Completed Bar: USE_MAGNANT
Patches:
Index: stratagus/src/map/minimap.c
diff -u stratagus/src/map/minimap.c:1.85 stratagus/src/map/minimap.c:1.86
--- stratagus/src/map/minimap.c:1.85 Thu Jan 8 23:48:33 2004
+++ stratagus/src/map/minimap.c Thu Jan 8 23:57:17 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: minimap.c,v 1.85 2004/01/08 12:48:33 mohydine Exp $
+// $Id: minimap.c,v 1.86 2004/01/08 12:57:17 mohydine Exp $
//@{
@@ -437,7 +437,10 @@
drect.y = TheUI.MinimapPosY;
SDL_BlitSurface(MinimapSurface, NULL, TheScreen, &drect);
- //FIX ME: Add a Rectangle around the map here
+
+#ifdef USE_MAGNANT
+ VideoDraw50TransRectangle(ColorYellow, TheUI.MinimapPosX,
TheUI.MinimapPosY, TheUI.MinimapW, TheUI.MinimapH);
+#endif
}
Index: stratagus/src/ui/mainscr.c
diff -u stratagus/src/ui/mainscr.c:1.147 stratagus/src/ui/mainscr.c:1.148
--- stratagus/src/ui/mainscr.c:1.147 Fri Jan 2 11:36:32 2004
+++ stratagus/src/ui/mainscr.c Thu Jan 8 23:57:18 2004
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainscr.c,v 1.147 2004/01/02 00:36:32 jsalmon3 Exp $
+// $Id: mainscr.c,v 1.148 2004/01/08 12:57:18 mohydine Exp $
//@{
@@ -147,6 +147,9 @@
f = (f * TheUI.CompletedBarW) / 100;
VideoFillRectangleClip(TheUI.CompletedBarColor,
TheUI.CompletedBarX, TheUI.CompletedBarY, f,
TheUI.CompletedBarH);
+#ifdef USE_MAGNANT
+ VideoDraw50TransRectangle(ColorBlack, TheUI.CompletedBarX,
TheUI.CompletedBarY, f, TheUI.CompletedBarH);
+#endif
if (TheUI.CompletedBarText) {
VideoDrawText(TheUI.CompletedBarTextX, TheUI.CompletedBarTextY,
TheUI.CompletedBarFont, TheUI.CompletedBarText);
@@ -1100,7 +1103,7 @@
** Panel:
** neutral - neutral or
opponent
** normal - not 1,3,4
-** magic unit - magic units
+** magic unit - magic units
** construction - under construction
*/
global void DrawInfoPanel(void)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src map/minimap.c ui/mainscr.c,
address@hidden <=