Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: [PATCH] add missing game info for Happiness display (P
Home

[Freeciv-Dev] Re: [PATCH] add missing game info for Happiness display (P

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] add missing game info for Happiness display (PR#655)
From: mike_jing@xxxxxxxxx
Date: Tue, 16 Jan 2001 11:13:10 -0800 (PST)

mike_jing@xxxxxxxxx wrote:

This patch adds precviously missing handling for unhappysize and cityfactor in the game_info packet, so that they are properly updated in the client because the Happiness diaplay makes use of these two game parameters.

Sorry for being too brief.

The reason for this small patch is that, although "unhappysize" and "cityfactor" are defined in the game_info packet, they are never properly updated on the client side because they are not included in the packet handling routines. Since I would like to display happiness related info in the Happiness display, I would need the correct value for these two parameters. So I simply added the missing lines in the packet handling routines.

Note: this does *NOT* change the protocol because those two variables were already in the packet, but simply weren't given any value.

Mike

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [PATCH] add missing game info for Happiness display (PR#655), mike_jing <=