Summary: map_claim_base()
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 27 Jul 2012 02:03:35 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0



Attached WIP patch moves base ownership changes to central function of their
own, map_claim_base().

This is going to be first one in series of base ownership patches. Goal of the
series is to separate base ownership from border ownership. Primary reason is
fixing problems related to vision providing bases (buoy).

My current plan:
- All bases in a tile have same owner (which can be "nobody")
- Bases on a tile can be owned even when tile is not (buoy can work on unowned

I'm not certain about other border ownership and base ownership interactions.
- Can bases have no owner even if tile has owner (in a scenario with preset
unowned bases)
- If both tile and bases have owner, can bases be owned by player other than
tile owner (unit walking to base claims base even if not territory)


File Attachments:

Date: Fri 27 Jul 2012 02:03:35 AM EEST  Name: ClaimBase.patch  Size: 9kB   By:



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to