Still working on my scrolling text and bug fixing.

This commit is contained in:
2021-07-16 22:26:04 -07:00
parent 06202f6f7e
commit f619b7c9d2
26 changed files with 495 additions and 115 deletions

View File

@ -7,6 +7,8 @@
#include "game.h"
testscene_t testScene;
bool gameInit(game_t *game) {
// Init the game
game->name = GAME_NAME;
@ -15,7 +17,8 @@ bool gameInit(game_t *game) {
engineInit(&game->engine, game);
// Hand off to the poker logic.
pokerInit(&game->poker, &game->engine);
testSceneInit(&testScene, game);
// pokerInit(&game->poker, &game->engine);
return true;
}
@ -25,7 +28,9 @@ bool gameUpdate(game_t *game, float platformDelta) {
engineUpdateStart(&game->engine, game, platformDelta);
// Hand off to the poker logic
pokerUpdate(&game->poker, &game->engine);
testSceneRender(&testScene, game);
// pokerUpdate(&game->poker, &game->engine);
// Hand back to the engine.
return engineUpdateEnd(&game->engine, game);

View File

@ -7,9 +7,7 @@
#include <dawn/dawn.h>
#include "../engine/engine.h"
#include "../poker/poker.h"
#include "../poker/card.h"
#include "../display/animation/timeline.h"
#include "../test/testscene.h"
/**
* Initialize the game context.