[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-devel] Land/air/sea mess
From: |
Crestez Leonard |
Subject: |
[Stratagus-devel] Land/air/sea mess |
Date: |
Thu, 09 Oct 2003 19:34:54 +0300 |
Currently we have UnitType::UnitType with land/sea/air values and
UnitType::LandUnit, UnitType::SeaUnit, UnitType:AirUnit to specify the
type of unit. This is by all means a bad thing, I hit this while
documenting and decided to ignore it for a while.
Here's my proposal: have at most 8 of those, with configurable names.
for WC2 we would have land/sea/air and coastal (for transporters). Tile
flags are also quite messy, we could do everything by checking a single
bit.
Any thoughts on this?
- [Stratagus-devel] Stratagus installation problemZ, Grégory Seront, 2003/10/03
- Re: [Stratagus-devel] Stratagus installation problemZ, Russell Smith, 2003/10/06
- [Stratagus-devel] Land/air/sea mess,
Crestez Leonard <=
- Re: [Stratagus-devel] Land/air/sea mess, Gary Frederick, 2003/10/09
- Re: [Stratagus-devel] documentation, Martin Renold, 2003/10/10
- Re: [Stratagus-devel] documentation, Gary Frederick, 2003/10/10
- Re: [Stratagus-devel] documentation, Gary Frederick, 2003/10/10
- Re: [Stratagus-devel] documentation, Ingo Ruhnke, 2003/10/10
- Re: [Stratagus-devel] documentation, Gary Frederick, 2003/10/11