Subversion Repositories svn1-original

Rev

Rev 164 | Rev 174 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 164 Rev 172
Line 74... Line 74...
74
//    { '1', "Print team order", pri_team },
74
//    { '1', "Print team order", pri_team },
75
//    { '2', "Print end leg times", pri_leg },
75
//    { '2', "Print end leg times", pri_leg },
76
//    { '3', "Print elapsed leg times", pri_eleg },
76
//    { '3', "Print elapsed leg times", pri_eleg },
77
//    { '4', "Print final results", pri_final },
77
//    { '4', "Print final results", pri_final },
78
//    { '5', "Print final results(All-HTML)", pri_final_html },
78
//    { '5', "Print final results(All-HTML)", pri_final_html },
79
//**    { '6', "Print Interim results", pri_interim },
79
//    { '6', "Print Interim results", pri_interim },
80
//    { '7', "Update event and class placings", srt_place },
80
//    { '7', "Update event and class placings", srt_place },
81
//**    { '8', "Display summary information", display_summary },
81
//    { '8', "Display summary information", display_summary },
82
//    { '9', "Print summary information", pri_summary },
82
//    { '9', "Print summary information", pri_summary },
83
//    { 'a', "Print Awards only", pri_awards_html },
83
//    { 'a', "Print Awards only", pri_awards_html },
84
//    { 'b', "Print Master Index only", pri_master_index },
84
//    { 'b', "Print Master Index only", pri_master_index },
85
//    { 'c', "Print Name Index only", pri_name_index },
85
//    { 'c', "Print Name Index only", pri_name_index },
86
//    { 'e', "Export CSV Report Data", pri_csv_data },
86
//    { 'e', "Export CSV Report Data", pri_csv_data },
Line 2058... Line 2058...
2058
    pri_summary();
2058
    pri_summary();
2059
    pri_awards_html();
2059
    pri_awards_html();
2060
    pri_awards();
2060
    pri_awards();
2061
    pri_master_index();
2061
    pri_master_index();
2062
 
2062
 
-
 
2063
    pri_interim();
-
 
2064
 
2063
    report_all = FALSE;
2065
    report_all = FALSE;
2064
}
2066
}
2065
 
2067
 
2066
 
2068
 
2067
/*========================================================================
2069
/*========================================================================
Line 2691... Line 2693...
2691
 *  Returns:
2693
 *  Returns:
2692
 *      Nothing
2694
 *      Nothing
2693
 *
2695
 *
2694
 *========================================================================*/
2696
 *========================================================================*/
2695
 
2697
 
2696
void display_summary (void)
2698
//void display_summary (void)
2697
{
2699
//{
2698
 
-
 
2699
    t_class_summary data;
-
 
2700
    int         i;
-
 
2701
    //int         line = 2;
-
 
2702
 
2700
 
-
 
2701
//    t_class_summary data;
-
 
2702
//    int         i;
-
 
2703
//    //int         line = 2;
-
 
2704
 
2703
    //cur( 0, line );
2705
//    //cur( 0, line );
2704
    printf( "Generating Summary Information" );
2706
//    printf( "Generating Summary Information" );
2705
    calc_class_summary( & data );
2707
//    calc_class_summary( & data );
2706
 
2708
 
2707
 
2709
 
2708
    /*
2710
//    /*
2709
    **  Display summary stats
2711
//    **  Display summary stats
2710
    */
2712
//    */
2711
 
2713
 
2712
    //cur( 0, line );
2714
//    //cur( 0, line );
2713
    //console_clreol();
2715
//    //console_clreol();
2714
    printf( "Summary Information\n\n" );
2716
//    printf( "Summary Information\n\n" );
2715
    printf( "%*s : %-7s %-7s%-7s\n", LEN_CLASS_NAME,
2717
//    printf( "%*s : %-7s %-7s%-7s\n", LEN_CLASS_NAME,
2716
                                      "Category",
2718
//                                      "Category",
2717
                                      "Total",
2719
//                                      "Total",
2718
                                      "Disq",
2720
//                                      "Disq",
2719
                                      "NonEq" );
2721
//                                      "NonEq" );
2720
 
2722
 
2721
    for( i = 0; i < config.num_class; i++ )
2723
//    for( i = 0; i < config.num_class; i++ )
2722
    {
2724
//    {
2723
        /*
2725
//        /*
2724
        **  The non-equestrian leg does not have any data
2726
//        **  The non-equestrian leg does not have any data
2725
        **  Supress the display
2727
//        **  Supress the display
2726
        */
2728
//        */
2727
        if ( config.nonequestrian_class == i+1  )
2729
//        if ( config.nonequestrian_class == i+1  )
2728
            continue;
2730
//            continue;
-
 
2731
 
-
 
2732
//        printf( "%*s : %-7d %-7d %-7d\n", LEN_CLASS_NAME,
-
 
2733
//                                          config.team_class[i].full_name,
-
 
2734
//                                          data.teamclass[i+1].total,
-
 
2735
//                                          data.teamclass[i+1].disqualified,
-
 
2736
//                                          data.teamclass[i+1].non_equestrian );
-
 
2737
//    }
2729
 
2738
 
2730
        printf( "%*s : %-7d %-7d %-7d\n", LEN_CLASS_NAME,
-
 
2731
                                          config.team_class[i].full_name,
-
 
2732
                                          data.teamclass[i+1].total,
-
 
2733
                                          data.teamclass[i+1].disqualified,
-
 
2734
                                          data.teamclass[i+1].non_equestrian );
-
 
2735
    }
-
 
2736
 
-
 
2737
    printf( "\n" );
2739
//    printf( "\n" );
2738
    printf( "%*s : %-7d %-7d %-7d\n", LEN_CLASS_NAME,
2740
//    printf( "%*s : %-7d %-7d %-7d\n", LEN_CLASS_NAME,
2739
                                      "Totals",
2741
//                                      "Totals",
2740
                                      data.total.total,
2742
//                                      data.total.total,
2741
                                      data.total.disqualified,
2743
//                                      data.total.disqualified,
2742
                                      data.total.non_equestrian );
2744
//                                      data.total.non_equestrian );
2743
 
2745
 
2744
//    printf( "\nAny key to continue " );
2746
////    printf( "\nAny key to continue " );
2745
//    getinp();
2747
////    getinp();
2746
}
2748
//}
2747
 
2749
 
2748
/*========================================================================
2750
/*========================================================================
2749
 *
2751
 *
2750
 *  Print summary information
2752
 *  Print summary information
2751
 *
2753
 *