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

commented the setKeyboardRepeat() line #41

Merged
merged 1 commit into from
Nov 13, 2018
Merged

commented the setKeyboardRepeat() line #41

merged 1 commit into from
Nov 13, 2018

Conversation

y2s82
Copy link
Owner

@y2s82 y2s82 commented Nov 13, 2018

fixed #40

To satisfy the compiler, the offending line has been commented for now.

@y2s82 y2s82 merged commit 02a555d into master Nov 13, 2018
@@ -585,7 +585,7 @@ void Game::Init(bool firstTime) {
TCOD_renderer_t renderer_type = static_cast<TCOD_renderer_t>(Config::GetCVar<int>("renderer"));
if (firstTime) TCODConsole::initRoot(screenWidth, screenHeight, "Goblin Camp", fullscreen, renderer_type);
TCODMouse::showCursor(true);
TCODConsole::setKeyboardRepeat(500, 10);
// TCODConsole::setKeyboardRepeat(500, 10);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're going to do this, which I don't recommend, file a bug now to come back and fix it, or you'll forget.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We weren't sure how to replace this functionality for SDL2; this function no longer exists and has no direct replacement as far as documentation goes.
Still, yes, I will create an issue regarding this.

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.

libtcod: setKeyboardRepeat does not exist
2 participants