Still working on my scrolling text and bug fixing.
This commit is contained in:
@ -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);
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user