// -*- c++ -*-
#ifndef _DEFS_H
#define _DEFS_H

#define VERSION "0.5"

const int DefaultConnectPort = 7123;

// not all systems do have `random'
#ifndef random
#define random() rand()
#define srandom(x) srand(x)
#endif

const int defaultDistanceBetweenConts = 10;
const int defaultContChunkSize = 2;
const int defaultNumberOfChunksPerCont = 50;

const int SquaresWide = 16;
const int SquaresHigh = 12;

const int MaxUnits = 255;

const int CURSOR_TIMER = 0;
const int DATA_SEND_TIMER = 1;
const int NB_TIMERS = 2;			  // for dimensionning purpose

const int NamesPerPlayer = 20;
#ifndef MS_WIN
#define FAR
#endif

#endif
