Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement to calendar in Lua #24140

Merged
merged 9 commits into from Jul 4, 2018

Conversation

Projects
None yet
1 participant
@ZhilkinSerg
Copy link
Contributor

commented Jun 30, 2018

What was changed:

  • restored get_turn function in calendar class in Lua (returns current turn number) - fixes #24126 (minor regression introduced in #22583);
  • exposed several functions in calendar class in Lua;
  • added get_time_duration function to Lua for easier creation of time_duration via wrapper functions (TURNS, MINUTES, HOURS and DAYS);
  • allow creation of variables of time_point and time_duration classes in Lua;
  • slightly updated comments in calendar code.

@ZhilkinSerg ZhilkinSerg merged commit 92408c0 into CleverRaven:master Jul 4, 2018

0 of 3 checks passed

continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
gorgon-ghprb Build started for merge commit.
Details

@ZhilkinSerg ZhilkinSerg deleted the ZhilkinSerg:lua-calendar branch Jul 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.