[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src map/minimap.c stratagus/mainloop....
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src map/minimap.c stratagus/mainloop.... |
Date: |
9 Jan 2004 06:45:20 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/09 06:45:20
Modified files:
src/map : minimap.c
src/stratagus : mainloop.c
src/ui : mainscr.c
Log message:
Remove Transparent Panels Functions
Patches:
Index: stratagus/src/map/minimap.c
diff -u stratagus/src/map/minimap.c:1.86 stratagus/src/map/minimap.c:1.87
--- stratagus/src/map/minimap.c:1.86 Thu Jan 8 23:57:17 2004
+++ stratagus/src/map/minimap.c Fri Jan 9 06:45:17 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: minimap.c,v 1.86 2004/01/08 12:57:17 mohydine Exp $
+// $Id: minimap.c,v 1.87 2004/01/08 19:45:17 mohydine Exp $
//@{
@@ -437,10 +437,6 @@
drect.y = TheUI.MinimapPosY;
SDL_BlitSurface(MinimapSurface, NULL, TheScreen, &drect);
-
-#ifdef USE_MAGNANT
- VideoDraw50TransRectangle(ColorYellow, TheUI.MinimapPosX,
TheUI.MinimapPosY, TheUI.MinimapW, TheUI.MinimapH);
-#endif
}
@@ -985,10 +981,6 @@
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
}
/**
Index: stratagus/src/stratagus/mainloop.c
diff -u stratagus/src/stratagus/mainloop.c:1.174
stratagus/src/stratagus/mainloop.c:1.175
--- stratagus/src/stratagus/mainloop.c:1.174 Wed Jan 7 12:24:04 2004
+++ stratagus/src/stratagus/mainloop.c Fri Jan 9 06:45:18 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainloop.c,v 1.174 2004/01/07 01:24:04 mohydine Exp $
+// $Id: mainloop.c,v 1.175 2004/01/08 19:45:18 mohydine Exp $
//@{
@@ -564,18 +564,6 @@
if (MustRedraw & RedrawMap) {
DrawMapArea();
-
-#ifdef USE_MAGNANT
- DrawMinimap(TheUI.SelectedViewport->MapX,
TheUI.SelectedViewport->MapY);
- DrawMinimapCursor(TheUI.SelectedViewport->MapX,
- TheUI.SelectedViewport->MapY);
-
-
- DrawButtonPanel();
- DrawInfoPanel();
- PlayerPixels(Players); // Reset to
default colors
- //DrawMessages();
-#endif
}
if (MustRedraw & (RedrawMessage | RedrawMap)) {
Index: stratagus/src/ui/mainscr.c
diff -u stratagus/src/ui/mainscr.c:1.148 stratagus/src/ui/mainscr.c:1.149
--- stratagus/src/ui/mainscr.c:1.148 Thu Jan 8 23:57:18 2004
+++ stratagus/src/ui/mainscr.c Fri Jan 9 06:45:19 2004
@@ -27,7 +27,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainscr.c,v 1.148 2004/01/08 12:57:18 mohydine Exp $
+// $Id: mainscr.c,v 1.149 2004/01/08 19:45:19 mohydine Exp $
//@{
@@ -147,9 +147,7 @@
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);
- [Stratagus-CVS] stratagus/src map/minimap.c stratagus/mainloop....,
address@hidden <=