[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/game intro.c
From: |
Russell Smith |
Subject: |
[Stratagus-CVS] stratagus/src/game intro.c |
Date: |
Fri, 05 Dec 2003 23:24:19 -0500 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Russell Smith <address@hidden> 03/12/05 23:24:19
Modified files:
src/game : intro.c
Log message:
Use real resource names on stats screen
Patches:
Index: stratagus/src/game/intro.c
diff -u stratagus/src/game/intro.c:1.110 stratagus/src/game/intro.c:1.111
--- stratagus/src/game/intro.c:1.110 Mon Dec 1 23:00:12 2003
+++ stratagus/src/game/intro.c Fri Dec 5 23:24:19 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: intro.c,v 1.110 2003/12/02 04:00:12 nehalmistry Exp $
+// $Id: intro.c,v 1.111 2003/12/06 04:24:19 mr-russ Exp $
//@{
@@ -1160,7 +1160,7 @@
max = 1;
}
- VideoDrawTextCentered(x + 230, y + bottom_offset, LargeFont, "Gold");
+ VideoDrawTextCentered(x + 230, y + bottom_offset, LargeFont,
DefaultResourceNames[GoldCost]);
sprintf(buf, "%u", ThisPlayer->TotalResources[GoldCost]);
percent = ThisPlayer->TotalResources[GoldCost] * 100 / max;
DrawStatBox(x + 190, y + bottom_offset + description_offset, buf,
@@ -1193,7 +1193,7 @@
max = 1;
}
- VideoDrawTextCentered(x + 320, y + bottom_offset, LargeFont, "Lumber");
+ VideoDrawTextCentered(x + 320, y + bottom_offset, LargeFont,
DefaultResourceNames[WoodCost]);
sprintf(buf, "%u", ThisPlayer->TotalResources[WoodCost]);
percent = ThisPlayer->TotalResources[WoodCost] * 100 / max;
DrawStatBox(x + 280, y + bottom_offset + description_offset, buf,
@@ -1226,7 +1226,7 @@
max = 1;
}
- VideoDrawTextCentered(x + 410, y + bottom_offset, LargeFont, "Oil");
+ VideoDrawTextCentered(x + 410, y + bottom_offset, LargeFont,
DefaultResourceNames[OilCost]);
sprintf(buf, "%u", ThisPlayer->TotalResources[OilCost]);
percent = ThisPlayer->TotalResources[OilCost] * 100 / max;
DrawStatBox(x + 370, y + bottom_offset + description_offset, buf,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/game intro.c,
Russell Smith <=