URL:
  <http://gna.org/patch/?5449>

                 Summary: Reduce build_tile_data() calls
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 21 Nov 2014 08:47:13 AM EET
                Category: client
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

fill_sprite_array(), handling just one layer at each call, calls
build_tile_data() in the beginning for being able to select connecting sprites
like those for some terrains, roads, and rivers. This is really needed only
for some layers, most of the time constructing the data is just CPU waste.

Call build_tile_data() only if it's needed for the layer.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 21 Nov 2014 08:47:13 AM EET  Name: BuildTileDataOnlyNeeded.patch 
Size: 753B   By: cazfi

<http://gna.org/patch/download.php?file_id=22942>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?5449>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to