Edit

IABSD.fr/xenocara/app/xlockmore/modes/xcl.h

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2006-11-26 11:07:42
    Hash : 110b2a92
    Message : Importing xlockmore 5.22

  • app/xlockmore/modes/xcl.h
  • /*
     * xcl.h
     * Control Line combat model data for xcl.c
     * Copyright (c) 2000 by Martin Berentsen <berentsen@sent5.uni-duisburg.de>
     * 2000/05/19
     */
    
    #define ENDPOINTS 83
    #define LINEARRAYS 33
    #define ARRAYSIZE 5+1
    
    static int model_data1 [ENDPOINTS * 3] =
    {
      0,15,0,       /* 1,1 */
      0,13,5,
      0,10,10,
      0,5,12,
      0,0,13,
      0,13,-5,
      0,10,-10,
      0,5,-12,
      0,0,-13,
      0,-270,2,
      0,-270,-2,
    
      150,15,0,  /* 2, 12 */
      150,13,5,
      150,10,10,
      150,5,12,
      150,0,13,
      150,13,-5,
      150,10,-10,
      150,5,-12,
      150,0,-13,
      150,-230,2,
      150,-230,-2,
    
      -150,15,0,  /* 3,23 */
      -150,13,5,
      -150,10,10,
      -150,5,12,
      -150,0,13,
      -150,13,-5,
      -150,10,-10,
      -150,5,-12,
      -150,0,-13,
      -150,-230,2,
      -150,-230,-2,
    
      300,15,0,   /* 4, 34 */
      300,13,5,
      300,10,10,
      300,5,12,
      300,0,13,
      300,13,-5,
      300,10,-10,
      300,5,-12,
      300,0,-13,
      300,-190,2,
      300,-190,-2,
    
      -300,15,0,  /* 5, 45 */
      -300,13,5,
      -300,10,10,
      -300,5,12,
      -300,0,13,
      -300,13,-5,
      -300,10,-10,
      -300,5,-12,
      -300,0,-13,
      -300,-190,2,
      -300,-190,-2,
    
      450,15,0,   /* 6, 56 */
      450,13,5,
      450,10,10,
      450,5,12,
      450,0,13,
      450,13,-5,
      450,10,-10,
      450,5,-12,
      450,0,-13,
      450,-150,2,
      450,-150,-2,
    
      -450,15,0,   /* 7, 67 */
      -450,13,5,
      -450,10,10,
      -450,5,12,
      -450,0,13,
      -450,13,-5,
      -450,10,-10,
      -450,5,-12,
      -450,0,-13,
      -450,-150,2,
      -450,-150,-2,
    
      0,-270,0,
      100,-290,0,
      100,-325,0,
      -100,-325,0,
      -100,-290,0,
    };
    
    static int model_data2 [LINEARRAYS] [ARRAYSIZE] =
     {
       {5, 1,2,3,4,5 },
       {5, 1,6,7,8,9 },
       {4, 5,10,11,9,0},
    
       {5, 12,13,14,15,16},
       {5, 12,17,18,19,20},
       {4, 16,21,22,20,0},
    
       {5, 23,24,25,26,27},
       {5, 23,28,29,30,31},
       {4, 27,32,33,31,0},
    
       {5, 34,35,36,37,38},
       {5, 34,39,40,41,42},
       {4, 38,43,44,42,0},
    
       {5, 45,46,47,48,49},
       {5, 45,50,51,52,53},
       {4, 49,54,55,53,0},
    
       {5, 56,57,58,59,60},
       {5, 56,61,62,63,64},
       {4, 60,65,66,64,0},
    
       {5, 67,68,69,70,71},
       {5, 67,72,73,74,75},
       {4, 71,76,77,75,0},
    
       {5, 10,21,43,65,66},
       {5, 10,32,54,76,77},
       {4, 77,55,33,11,0},
       {4, 66,44,22,11,0},
    
       {4, 1,12,34,56,0},
       {4, 1,23,45,67,0},
    
       {4, 5,16,38,60,0},
       {4, 5,27,49,71,0},
    
       {4, 9,20,42,64,0},
       {4, 9,31,53,75,0},
    
       {5, 78,79,80,81,82},
       {2, 82,78,0,0,0}
     };