diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-03-20 16:16:21 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-03-20 16:16:21 (EDT) |
commit | 5a36d153a274978dcf18a9ceda28929f7998a562 (patch) | |
tree | ee16d539e5ecd0593ed82e9fe14e4e4b2dfd3507 /src/level.c | |
parent | c61639e4ee50c5394003d135c05469240fcd62fe (diff) | |
download | dodge-balls-5a36d153a274978dcf18a9ceda28929f7998a562.zip dodge-balls-5a36d153a274978dcf18a9ceda28929f7998a562.tar.gz dodge-balls-5a36d153a274978dcf18a9ceda28929f7998a562.tar.bz2 |
db_game_play(), db_level_play(): New stub funcs
Diffstat (limited to 'src/level.c')
-rw-r--r-- | src/level.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/level.c b/src/level.c index 70c7748..3738b7a 100644 --- a/src/level.c +++ b/src/level.c @@ -17,6 +17,7 @@ * along with Dodge Balls. If not, see <http://www.gnu.org/licenses/>. */ +#include <SDL.h> #include <stdlib.h> #include "level.h" #include "output.h" @@ -47,3 +48,13 @@ db_level_new(const char *game_id, const char *level_id, struct db_level *prev) return level; } + +int +db_level_play(SDL_Renderer *renderer, struct db_level *level) +{ + db_dbg("Playing %s/%s", level->game_id, level->level_id); + + SDL_RenderClear(renderer); + + return 0; +} |