X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/aebcc2d9a4090d8136f750463b1cfbb73916d717..4ba1a1949117408cf81132b4f168a4e7f0a79ac3:/src/game.h?ds=sidebyside diff --git a/src/game.h b/src/game.h index 176cb36..958cc60 100644 --- a/src/game.h +++ b/src/game.h @@ -188,6 +188,11 @@ void game_reset(struct board *board); */ void game_begin(struct board *board); +/* + * Return the total elapsed time (in ms) since the last call to game_begin. + */ +int_fast32_t game_elapsed(struct board *board); + /* * Disable new moves and clear all tile bits other than the 9 goal tiles. * Returns the total elapsed time (in ms).