Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] typedef for player vectors?
Home

[Freeciv-Dev] typedef for player vectors?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] typedef for player vectors?
From: Daniel Zinsli <s830+priv@xxxxxxxxx>
Date: 07 Mar 2000 17:34:55 +0100

With patches on diplomacy starting to come in, I see a need for a
typedef for player vectors.

Currently we have bitvectors for known tiles, diplomacy, etc, defined as
short.

Perhaps we should add a 'typedef short player_vector'

This way, it's easier to increase max players later.

Where should such a typedef go?
-- 
Daniel Zinsli
University of Bergen, Norway
Finger s830@xxxxxxxxxxxxxxx for more info



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