Playing around with talking and input
This commit is contained in:
@ -15,13 +15,7 @@ bool gameInit(game_t *game) {
|
||||
engineInit(&game->engine, game);
|
||||
|
||||
// Hand off to the poker logic.
|
||||
pokerInit(&game->poker, &game->engine.render);
|
||||
|
||||
// char *text = "Ayy\nNice meme";
|
||||
// fonttextinfo_t info = fontGetTextInfo(&font, text);
|
||||
// fontmeasure_t *measure = fontTextMeasure(&font, text, &info);
|
||||
// fontTextInitFromMeasure(&font, &quad, text, &info, measure);
|
||||
// fontTextMeasureDispose(measure);
|
||||
pokerInit(&game->poker, &game->engine);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -31,7 +25,7 @@ bool gameUpdate(game_t *game, float platformDelta) {
|
||||
engineUpdateStart(&game->engine, game, platformDelta);
|
||||
|
||||
// Hand off to the poker logic
|
||||
pokerUpdate(&game->poker, &game->engine.render);
|
||||
pokerUpdate(&game->poker, &game->engine);
|
||||
|
||||
// Hand back to the engine.
|
||||
return engineUpdateEnd(&game->engine, game);
|
||||
|
Reference in New Issue
Block a user