From 9b7a6f66182020913cd9b5b1205634dabbcf081e Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Mon, 15 Jun 2009 14:49:04 +0200 Subject: add widget container, hi is use in mainMenu and small diff --- src/screen/world.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/screen/world.c') diff --git a/src/screen/world.c b/src/screen/world.c index d573448..c3ccd8c 100644 --- a/src/screen/world.c +++ b/src/screen/world.c @@ -111,6 +111,15 @@ void world_inc_round() } } +bool_t world_is_match_end() +{ + if (arena->max_countRound == WORLD_COUNT_ROUND_UNLIMITED) { + return FALSE; + } + + return (arena->countRound >= arena->max_countRound); +} + void prepareArena() { tux_t *tux; -- cgit v1.2.3