diff options
| author | Dusan Durech <dusan.d@Centrum.sk> | 2009-06-15 14:49:04 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan.d@Centrum.sk> | 2009-06-15 14:49:04 +0200 |
| commit | 9b7a6f66182020913cd9b5b1205634dabbcf081e (patch) | |
| tree | 1d21745d28f559a1c1f13be4bdaaf8ef0cc7ba56 /src/screen/world.c | |
| parent | 20def950be569ed6c6e9887f80dc3beca27765d8 (diff) | |
add widget container, hi is use in mainMenu and small diff
Diffstat (limited to 'src/screen/world.c')
| -rw-r--r-- | src/screen/world.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; |