summaryrefslogtreecommitdiff
path: root/src/screen/world.c
diff options
context:
space:
mode:
authorDusan Durech <dusan.d@Centrum.sk>2009-06-15 14:49:04 +0200
committerDusan Durech <dusan.d@Centrum.sk>2009-06-15 14:49:04 +0200
commit9b7a6f66182020913cd9b5b1205634dabbcf081e (patch)
tree1d21745d28f559a1c1f13be4bdaaf8ef0cc7ba56 /src/screen/world.c
parent20def950be569ed6c6e9887f80dc3beca27765d8 (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.c9
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;