[Commits] [wesnoth/wesnoth] 164993: Lua API for the name generators

GitHub noreply at github.com
Fri Apr 15 19:52:41 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1649930113480c0fdf8e1e949445d4c9a9022265
      https://github.com/wesnoth/wesnoth/commit/1649930113480c0fdf8e1e949445d4c9a9022265
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M changelog
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/generators/default_map_generator_job.cpp
    M src/generators/default_map_generator_job.hpp
    M src/gui/dialogs/unit_create.hpp
    M src/help/help_impl.cpp
    M src/help/help_topic_generators.cpp
    R src/race.cpp
    R src/race.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_race.cpp
    A src/units/race.cpp
    A src/units/race.hpp
    M src/units/types.hpp
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/context_free_grammar_generator.hpp
    A src/utils/markov_generator.cpp
    A src/utils/markov_generator.hpp
    A src/utils/name_generator.hpp

  Log Message:
  -----------
  Lua API for the name generators


  Commit: afb85a2000652e0bc16e8a825172c84bfc586d42
      https://github.com/wesnoth/wesnoth/commit/afb85a2000652e0bc16e8a825172c84bfc586d42
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M src/utils/context_free_grammar_generator.cpp

  Log Message:
  -----------
  Context-free generator: Strip whitespace in nonterminals

This means that whitespace in the following positions is now ignored:
- At the beginning of a line
- Preceding the = or } character
- Following the { character

All other whitespace is still significant.


  Commit: c50e941af76fef4869803f69e24348f4e64354bd
      https://github.com/wesnoth/wesnoth/commit/c50e941af76fef4869803f69e24348f4e64354bd
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/context_free_grammar_generator.hpp

  Log Message:
  -----------
  Use a mutable field instead of const_cast


  Commit: 6b8b83c90daf991421ff96021aa5709ecb39cbf0
      https://github.com/wesnoth/wesnoth/commit/6b8b83c90daf991421ff96021aa5709ecb39cbf0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M data/core/macros/names.cfg

  Log Message:
  -----------
  Female names grammar for the Khalifate
(Loosely based on a list of female Arabic names from behindthename.com)


  Commit: 69feb7f3f49d4979aae06fd0ea31f81f5cc73d19
      https://github.com/wesnoth/wesnoth/commit/69feb7f3f49d4979aae06fd0ea31f81f5cc73d19
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M changelog
    M data/core/macros/names.cfg
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/CMakeLists.txt
    M src/SConscript
    M src/generators/default_map_generator_job.cpp
    M src/generators/default_map_generator_job.hpp
    M src/gui/dialogs/unit_create.hpp
    M src/help/help_impl.cpp
    M src/help/help_topic_generators.cpp
    R src/race.cpp
    R src/race.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_race.cpp
    A src/units/race.cpp
    A src/units/race.hpp
    M src/units/types.hpp
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/context_free_grammar_generator.hpp
    A src/utils/markov_generator.cpp
    A src/utils/markov_generator.hpp
    A src/utils/name_generator.hpp

  Log Message:
  -----------
  Merge pull request #649 from CelticMinstrel/master

Name generator tweaks + Lua API


Compare: https://github.com/wesnoth/wesnoth/compare/cdd137027627...69feb7f3f49d


More information about the Commits mailing list