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

                 Summary: tileset_unit_width() and tileset_unit_height()
outside unit move anim loop
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 08 Mar 2014 07:31:41 PM EET
                Category: client-gtk-3.0
                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:

Not much an optimization, but cleaner code: get the tileset_unit_height() and
tileset_unit_width() once before entering the unit move animation loop, and
not many times on each round, as tileset is not going to change while the
animation runs.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 08 Mar 2014 07:31:41 PM EET  Name: AnimOptim.patch  Size: 2kB   By:
cazfi

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

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to