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

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sat Jun 24 14:41:13 JST 2023


#47827: Lua: Counter module

  Open Date: 2023-04-10 04:26
Last Update: 2023-06-24 08:41

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-06-24 08:41 Updated by: cazfi

Comment:

- Place "find" functions to api_game_find.[ch], name functionality to api_game_methods.[ch]
- Add function headers
- Add LUASCRIPT_CHECK_...() to each function
- 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);


---------------------------------------------------------------------
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
アーカイブの一覧に戻る