Variables

robodim.c File Reference

#include "robodim.h"
#include <robomath.h>
Include dependency graph for robodim.c:

Variables

struct bonus_pos bonus [BONUS_CNT]
struct pawn_pos pawn [PAWN_CNT]
struct queen_pos queen [QUEEN_CNT]
struct king_pos king [KING_CNT]
struct square_center_red red_sq [SQ_CNTR]
struct square_center_blue blue_sq [SQ_CNTR]

Variable Documentation

struct square_center_blue blue_sq[SQ_CNTR]
Initial value:
 {
        {0.45 + 0.175 + 0*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 0*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 0*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 1*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 1*0.35, 2*0.35 + 0.175}, 
        {0.45 + 0.175 + 2*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 2*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 2*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 3*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 3*0.35, 2*0.35 + 0.175}, 
        {0.45 + 0.175 + 4*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 4*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 4*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 5*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 5*0.35, 2*0.35 + 0.175}, 
}
struct bonus_pos bonus[BONUS_CNT]
Initial value:
 { 
        {975,  1575},
        {975,  875},
        {1325, 175},
        {1675, 175},
        {2025, 1575},
        {2025, 875},
}
struct king_pos king[KING_CNT]
Initial value:
 {
        {200, 290 + 4*280},
        {2800, 290 + 4*280},
}
struct pawn_pos pawn[PAWN_CNT]
Initial value:
 {
        {800, 1400},    
        {800, 350},
        {1150, 1750},
        {1150, 350},
        {1500, 1050},
        {1850, 1750},
        {1850, 350},
        {2200, 1400},
        {2200, 350},
        {200, 290},     
        {200, 290 + 1*280},
        {200, 290 + 2*280},
        {2800, 290},    
        {2800, 290 + 1*280},
        {2800, 290 + 2*280},
}
struct queen_pos queen[QUEEN_CNT]
Initial value:
 {
        {200, 290 + 3*280},
        {2800, 290 + 3*280},
}
struct square_center_red red_sq[SQ_CNTR]
Initial value:
 {
        {0.45 + 0.175 + 5*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 5*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 5*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 4*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 4*0.35, 2*0.35 + 0.175}, 
        {0.45 + 0.175 + 3*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 3*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 3*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 2*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 2*0.35, 2*0.35 + 0.175}, 
        {0.45 + 0.175 + 1*0.35, 5*0.35 + 0.175}, 
        {0.45 + 0.175 + 1*0.35, 3*0.35 + 0.175}, 
        {0.45 + 0.175 + 1*0.35, 1*0.35 + 0.175}, 
        {0.45 + 0.175 + 0*0.35, 4*0.35 + 0.175}, 
        {0.45 + 0.175 + 0*0.35, 2*0.35 + 0.175}, 
}