~ubuntu-branches/ubuntu/jaunty/sgt-puzzles/jaunty

« back to all changes in this revision

Viewing changes to bridges.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2006-03-22 23:53:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060322235309-t8n4d27qhnuwuqf8
Tags: 6616-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1012
1012
 
1013
1013
static int map_hasloops(game_state *state, int mark)
1014
1014
{
1015
 
    int x, y, ox, oy, nx, ny, loop = 0;
 
1015
    int x, y, ox, oy, nx = 0, ny = 0, loop = 0;
1016
1016
 
1017
1017
    memcpy(state->scratch, state->grid, GRIDSZ(state));
1018
1018
 
2401
2401
    draw_update(dr, ox, oy, TILE_SIZE, TILE_SIZE);
2402
2402
}
2403
2403
 
2404
 
#define ISLAND_RADIUS ((TILE_SIZE*13)/20)
 
2404
#define ISLAND_RADIUS ((TILE_SIZE*12)/20)
2405
2405
#define ISLAND_NUMSIZE(is) \
2406
 
    (((is)->count < 10) ? TILE_SIZE : (TILE_SIZE*8)/10)
 
2406
    (((is)->count < 10) ? (TILE_SIZE*7)/10 : (TILE_SIZE*5)/10)
2407
2407
 
2408
2408
static void island_redraw(drawing *dr,
2409
2409
                          game_state *state, game_drawstate *ds,