[Commits] [wesnoth/wesnoth] 0365f3: Added new functions sgn(), int() and frac()

GitHub noreply at github.com
Tue Jun 7 02:15:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0365f31a4b384fdf3a79e419f9c47a7a4ed49eb4
      https://github.com/wesnoth/wesnoth/commit/0365f31a4b384fdf3a79e419f9c47a7a4ed49eb4
  Author: Spixi <marius.spix at web.de>
  Date:   2016-05-21 (Sat, 21 May 2016)

  Changed paths:
    M changelog
    M src/formula/function.cpp

  Log Message:
  -----------
  Added new functions sgn(), int() and frac()


  Commit: 5698f74573319b90fa75957b72c104a1d18ae21b
      https://github.com/wesnoth/wesnoth/commit/5698f74573319b90fa75957b72c104a1d18ae21b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
    M src/server/server.cpp

  Log Message:
  -----------
  Update XCode project


  Commit: d3cd314f46cd2dbe4596a02870eb73fb6cb6aa6c
      https://github.com/wesnoth/wesnoth/commit/d3cd314f46cd2dbe4596a02870eb73fb6cb6aa6c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M src/ai/contexts.cpp
    M src/asserts.hpp
    M src/config.cpp
    M src/game_launcher.cpp
    M src/gui/core/notifiee.hpp
    M src/lexical_cast.hpp
    M src/map/location.hpp
    M src/random_new.hpp
    M src/sdl/utils.hpp
    M src/units/unit.cpp
    M src/util.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Revert "Cleaned up cstdlib includes"

This reverts commit 7b21849487fb9ff1607a8ab6aca813bf1df05171.

The commit was ill-advised in the first place and appears to cause issues
with the XCode build.


  Commit: 96335879268269f51aa1ef4b51840efd943def1a
      https://github.com/wesnoth/wesnoth/commit/96335879268269f51aa1ef4b51840efd943def1a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M changelog
    M src/formula/function.cpp

  Log Message:
  -----------
  Merge pull request #660 from spixi/formula

Added new functions sgn(), int() and frac()


  Commit: 1dc47023ee09624e45130d2a1a90f4440a1e1e1f
      https://github.com/wesnoth/wesnoth/commit/1dc47023ee09624e45130d2a1a90f4440a1e1e1f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M changelog
    M src/formula/function.cpp

  Log Message:
  -----------
  WFL: Rename int() -> trunc()

This is done to emphasise this function's status as a rounding function
rather than a typecasting function.

Related to PR #660


Compare: https://github.com/wesnoth/wesnoth/compare/d22b15b19b2e...1dc47023ee09


More information about the Commits mailing list