File: pst.h

package info (click to toggle)
fruit 2.1.dfsg-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,180 kB
  • ctags: 1,215
  • sloc: cpp: 8,954; makefile: 22
file content (32 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

// pst.h

#ifndef PST_H
#define PST_H

// includes

#include "util.h"

// constants

const int Opening = 0;
const int Endgame = 1;
const int StageNb = 2;

// macros

#define PST(piece_12,square_64,stage) (Pst[piece_12][square_64][stage])

// variables

extern sint16 Pst[12][64][StageNb];

// functions

extern void pst_init ();

#endif // !defined PST_H

// end of pst.h