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

Lua additions/fixes #67

Merged
merged 12 commits into from
Aug 7, 2021
Merged

Lua additions/fixes #67

merged 12 commits into from
Aug 7, 2021

Conversation

schnepe2
Copy link
Contributor

@schnepe2 schnepe2 commented Aug 6, 2021

  • fixed vessel:set_touchdownpoints()
  • minor ldoc documentation comment fixes.
  • added unit tests.

Pull request procedure test ;)

- minor ldoc documentation comment fixes.
- added unit tests.
- added 'monitor' test script & scenario.
@schnepe2
Copy link
Contributor Author

schnepe2 commented Aug 7, 2021

Damn it, git distracts me so much from "the real" work ;)
Must have forgotten a header or so.

@schnepe2
Copy link
Contributor Author

schnepe2 commented Aug 7, 2021

I have to get the build process working on my machine first!
So closing this PR.
Sorry for the distraction ;)

@schnepe2 schnepe2 closed this Aug 7, 2021
@mschweiger
Copy link
Collaborator

No problem. Appreciate your effort on the code. I couldn't actually figure out why the build failed, so was trying to check out the pull request without merging (gh pr checkout 67) but got into a battle with github command line authentication ...

@mschweiger
Copy link
Collaborator

Hi Kuddel, I have a fix. But you need to give me permission to push it to your pull request.
https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

@schnepe2
Copy link
Contributor Author

schnepe2 commented Aug 7, 2021

Thank you for taking a look.
I have closed this PR for now as I wanted to make sure I can build it locally - to make it as easy for you to merge it.
I've "allowed edits by maintainers", but I'm not sure if this works with closed PRs.

I am used to github repositories where only PRs are accepted with "no issues at all"...so I'm not used to this politeness 👍

I first have to setup my machine to be able to build the project. Having to fight against git(hub) does add a little frustration, though 😁
Authentication was only one of the issues here, too.

I'll come back and possibly re-open this once it's worth it.
Thanks again.

@schnepe2 schnepe2 reopened this Aug 7, 2021
@schnepe2
Copy link
Contributor Author

schnepe2 commented Aug 7, 2021

This seems to get build now 👍

One thing I've noticed: There are two (identical) headers for Interpreter:

  • Src\Module\LuaScript\LuaInterpreter\Interpreter.h
  • Orbitersdk\include\Interpreter.h

I guess this resulted from the "closed-source" days of Orbiter.
Can one these be removed? I think the file in the include directory is obsolete now, right?

schnepe2 and others added 7 commits August 7, 2021 21:17
@mschweiger
Copy link
Collaborator

Yes, exactly, the Interpreter.h in Orbitersdk/include was the problem. I have removed this from the source tree now and am referencing the one in Src/Module/LuaScript/LuaInterpreter instead. Interpreter.h is still deployed to Orbitersdk/include in the build directory.

The PR builds now ok. If you are happy with it I'll merge it.

@schnepe2
Copy link
Contributor Author

schnepe2 commented Aug 7, 2021

The PR builds now ok. If you are happy with it I'll merge it.

It would be an honor 😁

@mschweiger
Copy link
Collaborator

All done. Thanks!

@mschweiger mschweiger merged commit d9a448f into orbitersim:main Aug 7, 2021
@schnepe2 schnepe2 deleted the lua_changes branch August 7, 2021 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants