~ubuntu-branches/ubuntu/saucy/sgt-puzzles/saucy

« back to all changes in this revision

Viewing changes to tents.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2011-07-11 03:56:55 UTC
  • mfrom: (1.1.13 upstream) (3.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110711035655-bfr08qpm3dm3unnq
Tags: 9179-1
* New upstream version:
  - Remove unused-but-set variables - closes: #625425
  - Avoid infinite loop in Loopy at Easy level
  - Add Penrose tilings to Loopy
* Update German translation, thanks to Helge Kreutzmann
* Do not compile with -Werror

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
                       char *soln, struct solver_scratch *sc, int diff)
460
460
{
461
461
    int x, y, d, i, j;
462
 
    char *mrow, *mrow1, *mrow2, *trow, *trow1, *trow2;
 
462
    char *mrow, *trow, *trow1, *trow2;
463
463
 
464
464
    /*
465
465
     * Set up solver data.
746
746
             * hasn't been set up yet.
747
747
             */
748
748
            mrow = sc->mrows;
749
 
            mrow1 = sc->mrows + len;
750
 
            mrow2 = sc->mrows + 2*len;
751
749
            trow = sc->trows;
752
750
            trow1 = sc->trows + len;
753
751
            trow2 = sc->trows + 2*len;
2524
2522
    return 0.0F;
2525
2523
}
2526
2524
 
 
2525
static int game_status(game_state *state)
 
2526
{
 
2527
    return state->completed ? +1 : 0;
 
2528
}
 
2529
 
2527
2530
static int game_timing_state(game_state *state, game_ui *ui)
2528
2531
{
2529
2532
    return TRUE;
2594
2597
    game_redraw,
2595
2598
    game_anim_length,
2596
2599
    game_flash_length,
 
2600
    game_status,
2597
2601
    TRUE, FALSE, game_print_size, game_print,
2598
2602
    FALSE,                             /* wants_statusbar */
2599
2603
    FALSE, game_timing_state,