[Freeciv-tickets] [freeciv] #47827: Lua: Counter module

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Oct 4 07:00:43 JST 2023


#47827: Lua: Counter module

  Open Date: 2023-04-10 04:26
Last Update: 2023-10-04 01:00

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/47827
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47827

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-10-04 01:00 Updated by: cazfi

Comment:

Reply To lachu
Reply To cazfi
- Place "find" functions to api_game_find.[ch], name functionality to api_game_methods.[ch]
You're still adding a new file for name functionality instead of adding it to api_game_methods.
- Add space between comma and the second parameter type:
{{{
+  const char *api_counter_rule_name @ rule_name (lua_State *L,Counter *c);
+  const char *api_counter_name_translation @ name_translation (lua_State *L,Counter *c);
}}}
Still missing

 0001-Add-comments-Move-routines-Add-checks.patch(8KB)

    Implementation 2.1 - Fix typo


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: S3_2 d3f
     Component: Scripting API
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Add Counter module to Lua.
Methods needed internally (minimum API to not break, e.g., savegames):
- Counter:rule_name()
- Counter:name_translation()
- find.counter(name)
- find.counter(id)


-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/47827
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47827



More information about the Freeciv-tickets mailing list
Back to archive index