diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-14 14:47:44 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-14 14:47:44 +0000 |
| commit | 50ba3d5e1e9f9eeda049a348efa4645af07610bc (patch) | |
| tree | 3a41428f4ce755e596a4d5c2c69668515935e5b0 /src/base | |
| parent | 5b67651831ad9b160b41990288c938c7a05c1db1 (diff) | |
- novy widget widget_choicegroup
- moznost ukladat a nacitavat rozohranu hru
( uklada sa pomocou F2)
( neda sa ulozit sietovy multiplayer, a este
nie je dokonce ulozenie hranie s AI )
git-svn-id: http://opensvn.csie.org/tuxanci_ng@195 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/arena.c | 3 | ||||
| -rw-r--r-- | src/base/arena.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/base/arena.c b/src/base/arena.c index f7e917d..019dbb4 100644 --- a/src/base/arena.c +++ b/src/base/arena.c @@ -61,6 +61,9 @@ arena_t* newArena(int w, int h) new->spaceItem = newSpace(w, h, zone_w, zone_h, getStatusItem, setStatusItem); new->spaceShot = newSpace(w, h, zone_w, zone_h, getStatusShot, setStatusShot); + new->countRound = 0; + new->max_countRound = 0; + return new; } diff --git a/src/base/arena.h b/src/base/arena.h index 9512222..2adf0c5 100644 --- a/src/base/arena.h +++ b/src/base/arena.h @@ -29,6 +29,10 @@ typedef struct arena_struct space_t *spaceShot; space_t *spaceTux; space_t *spaceItem; + + int countRound; + int max_countRound; + } arena_t; extern void setCurrentArena(arena_t *p); |