Summary: Deprecate Lua create_road(tile, ...) in favour of
tile:create_road(...) etc?
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Thu Jul 19 01:28:07 2012
                Category: None
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 2.5.0



In patch #2514, the existing "classless" create_XXX() functions were augmented
by edit.create_XXX() module functions and type:create_XXX() methods. From
Matthias' work-in-progress update
<http://freeciv.wikia.com/wiki/User:Syntron/sandbox> to the Lua docs, it's
clear he intended for the unadorned functions to be deprecated, and indeed
new-since-2.3 things like civil_war() are not available in unadorned form.

Since then, patch #3391 has added create_road() in all three forms. We should
probably remove the unadorned create_road() function for consistency before
this escapes.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to