[Commits] [wesnoth/wesnoth] 0b42f4: Lua API: Add some existing wesnoth.* functions as ...

GitHub noreply at github.com
Sun Oct 4 01:13:05 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0b42f43d2a6a6bf9d1af18395f6407fcc7e41bfc
      https://github.com/wesnoth/wesnoth/commit/0b42f43d2a6a6bf9d1af18395f6407fcc7e41bfc
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Lua API: Add some existing wesnoth.* functions as proxy unit methods


  Commit: a20c88c8a3946944bde7719065f7668cd93a1b31
      https://github.com/wesnoth/wesnoth/commit/a20c88c8a3946944bde7719065f7668cd93a1b31
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Simplify unit method names


  Commit: 2b5c887f6b37e3fd5810760d69b6a7351b547d64
      https://github.com/wesnoth/wesnoth/commit/2b5c887f6b37e3fd5810760d69b6a7351b547d64
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Lua API: Let wesnoth.message accept translatable strings


  Commit: ffe8b4baa73f39d4d8ce11b2914fe5803ebed181
      https://github.com/wesnoth/wesnoth/commit/ffe8b4baa73f39d4d8ce11b2914fe5803ebed181
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Lua API: Change wesnoth.get_unit, removing 1-argument underlying ID form

- Removes 1-argument form accepting an integer ID
- Adds 1-argument form accepting a string ID
- Now accepts locations either as 2 arguments or as {i,j} or {x=i,y=j}


  Commit: 6a60f79d159d42f0093c540d9ea9a67087ef76c8
      https://github.com/wesnoth/wesnoth/commit/6a60f79d159d42f0093c540d9ea9a67087ef76c8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Lua API: Add wesnoth.unit_(vision|jamming)_cost


  Commit: e00b57cdcd877aa75f91aa1563cdf965b6d13b8d
      https://github.com/wesnoth/wesnoth/commit/e00b57cdcd877aa75f91aa1563cdf965b6d13b8d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Lua API: Change wesnoth.put_unit, add wesnoth.erase_unit


  Commit: acaa9ce0257fd3ff7952755341d13e99ea3c2609
      https://github.com/wesnoth/wesnoth/commit/acaa9ce0257fd3ff7952755341d13e99ea3c2609
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M src/scripting/lua_race.cpp
    M src/scripting/lua_unit_type.cpp

  Log Message:
  -----------
  Lua API: Add traits field for unit types and races


  Commit: c4bb4c253601fc45849fba2cea37fcfe57b3e1ed
      https://github.com/wesnoth/wesnoth/commit/c4bb4c253601fc45849fba2cea37fcfe57b3e1ed
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-23 (Wed, 23 Sep 2015)

  Changed paths:
    M data/lua/wml-tags.lua

  Log Message:
  -----------
  Fix WML unit tests


  Commit: 33385f97b8cd4c8a724a0589257b770942072730
      https://github.com/wesnoth/wesnoth/commit/33385f97b8cd4c8a724a0589257b770942072730
  Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2015-10-03 (Sat, 03 Oct 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_race.cpp
    M src/scripting/lua_unit_type.cpp

  Log Message:
  -----------
  Merge pull request #499 from CelticMinstrel/lua-unit

Lua API changes (mainly relating to units)


Compare: https://github.com/wesnoth/wesnoth/compare/55ab4463ae54...33385f97b8cd


More information about the Commits mailing list