stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus/src/stratagus mainloop.c


From: address@hidden
Subject: [Stratagus-CVS] stratagus/src/stratagus mainloop.c
Date: 7 Jan 2004 12:24:05 +1100

CVSROOT:        /home/strat
Module name:    stratagus
Changes by:      <address@hidden>       04/01/07 12:24:05

Modified files:
        src/stratagus  : mainloop.c 

Log message:
        Used for displaying transparent panels: compile with USE_MAGNANT

Patches:
Index: stratagus/src/stratagus/mainloop.c
diff -u stratagus/src/stratagus/mainloop.c:1.173 
stratagus/src/stratagus/mainloop.c:1.174
--- stratagus/src/stratagus/mainloop.c:1.173    Wed Dec 24 11:35:23 2003
+++ stratagus/src/stratagus/mainloop.c  Wed Jan  7 12:24:04 2004
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: mainloop.c,v 1.173 2003/12/24 00:35:23 wizzard Exp $
+//     $Id: mainloop.c,v 1.174 2004/01/07 01:24:04 mohydine Exp $
 
 //@{
 
@@ -564,6 +564,18 @@
 
        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)) {




reply via email to

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