~ubuntu-branches/ubuntu/natty/freecell-solver/natty

« back to all changes in this revision

Viewing changes to move_funcs_maps.c

  • Committer: Bazaar Package Importer
  • Author(s): RISKO Gergely
  • Date: 2009-07-15 17:42:19 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090715174219-2rlyyvse0kezacly
Tags: 2.34.0-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    This file is generated from gen_move_funcs.pl.
 
3
 
 
4
    Do not edit by hand!!!
 
5
*/
 
6
 
 
7
#include "move_funcs_maps.h"
 
8
#include "freecell.h"
 
9
#include "simpsim.h"
 
10
 
 
11
#ifdef FCS_DISABLE_SIMPLE_SIMON
 
12
#define WRAP_SIMPSIM(f) NULL
 
13
#else
 
14
#define WRAP_SIMPSIM(f) f
 
15
#endif
 
16
 
 
17
fc_solve_solve_for_state_test_t fc_solve_sfs_tests[FCS_TESTS_NUM] =
 
18
{
 
19
    fc_solve_sfs_move_top_stack_cards_to_founds,
 
20
    fc_solve_sfs_move_freecell_cards_to_founds,
 
21
    fc_solve_sfs_move_freecell_cards_on_top_of_stacks,
 
22
    fc_solve_sfs_move_non_top_stack_cards_to_founds,
 
23
    fc_solve_sfs_move_stack_cards_to_different_stacks,
 
24
    fc_solve_sfs_move_stack_cards_to_a_parent_on_the_same_stack,
 
25
    fc_solve_sfs_move_sequences_to_free_stacks,
 
26
    fc_solve_sfs_move_freecell_cards_to_empty_stack,
 
27
    fc_solve_sfs_move_cards_to_a_different_parent,
 
28
    fc_solve_sfs_empty_stack_into_freecells,
 
29
    fc_solve_sfs_atomic_move_card_to_empty_stack,
 
30
    fc_solve_sfs_atomic_move_card_to_parent,
 
31
    fc_solve_sfs_atomic_move_card_to_freecell,
 
32
    fc_solve_sfs_atomic_move_freecell_card_to_parent,
 
33
    fc_solve_sfs_atomic_move_freecell_card_to_empty_stack,
 
34
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_to_founds),
 
35
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_to_true_parent),
 
36
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_whole_stack_sequence_to_false_parent),
 
37
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_to_true_parent_with_some_cards_above),
 
38
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_with_some_cards_above_to_true_parent),
 
39
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_with_junk_seq_above_to_true_parent_with_some_cards_above),
 
40
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_whole_stack_sequence_to_false_parent_with_some_cards_above),
 
41
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_to_parent_on_the_same_stack),
 
42
    WRAP_SIMPSIM(fc_solve_sfs_simple_simon_move_sequence_to_false_parent)
 
43
};
 
44
 
 
45
 
 
46
fcs_test_aliases_mapping_t fc_solve_sfs_tests_aliases[FCS_TESTS_ALIASES_NUM] =
 
47
{
 
48
    { "0", 0 },
 
49
    { "1", 1 },
 
50
    { "2", 2 },
 
51
    { "3", 3 },
 
52
    { "4", 4 },
 
53
    { "5", 5 },
 
54
    { "6", 6 },
 
55
    { "7", 7 },
 
56
    { "8", 8 },
 
57
    { "9", 9 },
 
58
    { "A", 10 },
 
59
    { "B", 11 },
 
60
    { "C", 12 },
 
61
    { "D", 13 },
 
62
    { "E", 14 },
 
63
    { "a", 15 },
 
64
    { "b", 16 },
 
65
    { "c", 17 },
 
66
    { "d", 18 },
 
67
    { "e", 19 },
 
68
    { "f", 20 },
 
69
    { "g", 21 },
 
70
    { "h", 22 },
 
71
    { "i", 23 }
 
72
};