6 #include "game/sound_samples.h"
8 typedef struct game_t game_t;
10 game_t *create_game(const char *platforms_file_path,
11 const char *sound_sample_files[],
12 size_t sound_sample_files_count,
13 SDL_Renderer *renderer);
14 void destroy_game(game_t *game);
16 int game_render(const game_t *game);
17 int game_sound(game_t *game);
18 int game_update(game_t *game, float delta_time);
20 int game_event(game_t *game, const SDL_Event *event);
21 int game_input(game_t *game,
22 const Uint8 *const keyboard_state,
23 SDL_Joystick *the_stick_of_joy);
25 int game_over_check(const game_t *game);