src/player_gui.cpp
changeset 6990 136a08baf0ed
parent 6952 b19643469024
child 6991 bf9cd2a47774
equal deleted inserted replaced
6989:1768ca0091cb 6990:136a08baf0ed
    29 static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied);
    29 static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied);
    30 
    30 
    31 static void DrawPlayerEconomyStats(const Player *p, byte mode)
    31 static void DrawPlayerEconomyStats(const Player *p, byte mode)
    32 {
    32 {
    33 	int x, y, i, j, year;
    33 	int x, y, i, j, year;
    34 	const int64 (*tbl)[13];
    34 	const Money (*tbl)[13];
    35 	int64 sum, cost;
    35 	Money sum, cost;
    36 	StringID str;
    36 	StringID str;
    37 
    37 
    38 	if (!(mode & 1)) { // normal sized economics window (mode&1) is minimized status
    38 	if (!(mode & 1)) { // normal sized economics window (mode&1) is minimized status
    39 		/* draw categories */
    39 		/* draw categories */
    40 		DrawStringCenterUnderline(61, 15, STR_700F_EXPENDITURE_INCOME, 0);
    40 		DrawStringCenterUnderline(61, 15, STR_700F_EXPENDITURE_INCOME, 0);