aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
blob: 807220cef4423942fcefc4c4ea7bb598ca808497 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "game.h"
#include "utils.h"

void initGame(Game* game)
{
  // Settings.
  game->settings = defaultSettings();

  // Window.
  InitWindow(game->settings.windowWidth, game->settings.windowHeight,
             "Find Things");
}

void updateGame(Game* game)
{
  BeginDrawing();
  ClearBackground(RAYWHITE);
  
  EndDrawing();
}

void closeGame(Game* game)
{
  CloseWindow();
}