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 Jul 5 10:53:40 2014  
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.6.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sat Dec 20 19:42:48 2014, 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 Dec 14 18:32:13 2014, 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 Jul 5 10:53:40 2014, 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 Dec 20 19:43:00 2014cazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
    Sun Dec 14 18:32:13 2014cazfiAttached File-=>Added 32UserFlags.patch, #23177
      StatusNone=>Ready For Test
    Sun Dec 14 18:01:00 2014cazfiCategoryNone=>general
      Planned Release=>2.6.0
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup