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

PathFinding_AStar and VK codes #25

Open
giampierosalvi opened this issue Feb 6, 2019 · 1 comment
Open

PathFinding_AStar and VK codes #25

giampierosalvi opened this issue Feb 6, 2019 · 1 comment

Comments

@giampierosalvi
Copy link

Hi,
great job with the examples. I will definitely suggest your videos to my students.

In order to make the OneLoneCoder_PathFinding_AStar.cpp compile on linux, besides changing the include directive to include olcConsoleGameEngineSDL.h instead of olcConsoleGameEngine.h, I also had to change VK_SHIFT and VK_CONTROL to VK_LSHIFT and VK_LCONTROL. This because the first two are not defined in olcConsoleGameEngineSDL.h, and there does not seem to exist scancodes in SDL that can be mapped directly to them.

I know this is restrictive because the user can only press the left keys, but would you consider the change to make the code more portable?

Thank you

@OneLoneCoder
Copy link
Owner

Hmm good catch, I'll leave this one open for when the next round of updates are done. Thanks!

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

No branches or pull requests

2 participants