patchFreeciv - Patches: patch #4904, More than 16 user flags

Show feedback again

patch #4904: More than 16 user flags

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sat 05 Jul 2014 10:53:40 AM UTC  
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.6.0

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sat 20 Dec 2014 07:42:48 PM UTC, SVN revision 27365:

Increased maximum number of user defined unit type flags to 32.

Requested by GriffonSpade

See patch #4904

(Browse SVN revision 27365)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 14 Dec 2014 06:32:13 PM UTC, comment #1:

Patch to increase number of user unit flags to 32.

I don't think there's limit due to network code any more (they are bitvectors), and roles sharing the numberspace already had values up to 74, now 90.

(file #23177)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat 05 Jul 2014 10:53:40 AM UTC, original submission:

GriffonSpade on the forum says that even 16 unit flags aren't enough for their use.

Doubling to 32 would take the total number of unit flags close to the current network protocol limit of 64 (but we could make that bigger). I think adding more should otherwise be cheap?

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #23177:  32UserFlags.patch added by cazfi (7kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Dec 2014 07:43:00 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
    Sun 14 Dec 2014 06:32:13 PM UTCcazfiAttached File-=>Added 32UserFlags.patch, #23177
      StatusNone=>Ready For Test
    Sun 14 Dec 2014 06:01:00 PM UTCcazfiCategoryNone=>general
      Planned Release=>2.6.0
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup