patchFreeciv - Patches: patch #4609, Native_Tile extras cache

 
 
Show feedback again

patch #4609: Native_Tile extras cache

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sat 15 Mar 2014 03:37:48 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.4.3, 2.5.0, 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.

 

(Jump to the original submission Jump to the original submission)

Sun 30 Mar 2014 01:37:07 PM UTC, SVN revision 24740:

Create cache listing extra types that can provide tile nativity to the unit class
at the ruleset loading time. Iterate over that list only when checking if tile
is native for a unit.

See patch #4609

(Browse SVN revision 24740)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 30 Mar 2014 01:37:02 PM UTC, SVN revision 24739:

Create cache listing extra types that can provide tile nativity to the unit class
at the ruleset loading time. Iterate over that list only when checking if tile
is native for a unit.

See patch #4609

(Browse SVN revision 24739)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 30 Mar 2014 01:35:09 PM UTC, SVN revision 24738:

Create cache listing extra types that can provide tile nativity to the unit class
at the ruleset loading time. Iterate over that list only when checking if tile
is native for a unit.

See patch #4609

(Browse SVN revision 24738)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 23 Mar 2014 01:54:48 AM UTC, comment #3:

- Build the cache before ruleset loading time unit class movetype determining code needs it.

(file #20415, file #20416, file #20417)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sun 16 Mar 2014 12:18:20 AM UTC, comment #2:

- S2_4 version

(file #20349)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat 15 Mar 2014 05:44:44 PM UTC, comment #1:

S2_5 version.

S2_4 version coming later.

(file #20348)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Sat 15 Mar 2014 03:37:48 PM UTC, original submission:

Add list cached ruleset loading time listing extras that provide nativity on tile for unit class. When checking tile nativity, iterate over this list only, instead of iterating over all extras and checking each if they are relevant.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 30 Mar 2014 01:38:39 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Sun 23 Mar 2014 01:54:48 AM UTCcazfiAttached File-=>Added NativeTileExtrasCache-2.patch, #20415
      Attached File-=>Added NativeTileExtrasCache-S2_5-2.patch, #20416
      Attached File-=>Added NativeTileExtrasCache-S2_4-2.patch, #20417
    Sun 16 Mar 2014 12:18:20 AM UTCcazfiAttached File-=>Added NativeTileExtrasCache-S2_4.patch, #20349
    Sat 15 Mar 2014 05:44:44 PM UTCcazfiAttached File-=>Added NativeTileExtrasCache-S2_5.patch, #20348
      Planned Release2.6.0=>2.4.3, 2.5.0, 2.6.0
    Sat 15 Mar 2014 03:37:48 PM UTCcazfiAttached File-=>Added NativeTileExtrasCache.patch, #20347
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup