direction_table.cc File Reference

Program used to generate cwchess::direction_table[]. More...

#include "sys.h"
#include <iostream>
#include <iomanip>
Include dependency graph for direction_table.cc:

Go to the source code of this file.

Classes

struct  Direction

Functions

int main ()

Variables

Direction dirs []

Detailed Description

Program used to generate cwchess::direction_table[].

Definition in file direction_table.cc.


Variable Documentation

Direction dirs[]
Initial value:
 {
  { -1, -1 },
  { 0, -1 },
  { 1, -1 },
  { -1, 0 },
  { 1, 0 },
  { -1, 1 },
  { 0, 1 },
  { 1, 1 }
}

Definition at line 36 of file direction_table.cc.


Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.