Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] RFC: citizens and citizen sprites
Home

[Freeciv-Dev] RFC: citizens and citizen sprites

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] RFC: citizens and citizen sprites
From: Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: 05 Dec 2002 03:13:33 -0500

Currently the client's system for accessing citizen sprites is very
hard-coded.  It is not easily extensible.

IMO it is very bad that male and female sprites are hard-coded for
workers and disallowed for specialists.  Therefore my proposal is that
these two concepts be separated.

* enum citizen_type be created to hold the 7 different citizen types.
* For each citizen type there may be up to MAX_NUM_CITIZEN_GRAPHICS
sprites.

This combination allows a lot of cleanup as well as introducing some new
graphical abilities.  The cleanup makes Rafal's idea for
city-style-based citizen graphics simpler.

I'll supply a patch, but it depends on (=conflicts with) PR#2490.

jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] RFC: citizens and citizen sprites, Jason Short <=