Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

/home/groups/n/no/noxwizard/cvs/src/boats.cpp File Reference

#include "nxwcommn.h"
#include "boats.h"
#include "set.h"
#include "sndpkg.h"
#include "map.h"
#include "items.h"
#include "chars.h"
#include "classes.h"
#include "range.h"
#include "inlines.h"
#include "scripts.h"
#include "house.h"
#include "network.h"

Defines

#define X   0
#define Y   1
#define XX   6
#define YY   6
#define XBORDER   200u
#define YBORDER   200u

Functions

bool inmulti (Location where, P_ITEM pi)

Variables

BOATS s_boat
cBoatBoats = NULL
signed short int iSmallShipOffsets [4][4][2]
signed short int iMediumShipOffsets [4][4][2]
signed short int iLargeShipOffsets [4][4][2]
char cShipItems [4][6]

Define Documentation

#define X   0
 

#define XBORDER   200u
 

#define XX   6
 

#define Y   1
 

#define YBORDER   200u
 

#define YY   6
 


Function Documentation

bool inmulti Location    where,
P_ITEM    pi
 


Variable Documentation

cBoat* Boats = NULL
 

char cShipItems[4][6]
 

Initial value:

{
 {(unsigned char)0xB1,(unsigned char)0xD5,(unsigned char)0xB2,(unsigned char)0xD4,(unsigned char)0xAE,(unsigned char)0x4E},
 {(unsigned char)0x8A,(unsigned char)0x89,(unsigned char)0x85,(unsigned char)0x84,(unsigned char)0x65,(unsigned char)0x53},
 {(unsigned char)0xB2,(unsigned char)0xD4,(unsigned char)0xB1,(unsigned char)0xD5,(unsigned char)0xB9,(unsigned char)0x4B},
 {(unsigned char)0x85,(unsigned char)0x84,(unsigned char)0x8A,(unsigned char)0x89,(unsigned char)0x93,(unsigned char)0x50}
}

signed short int iLargeShipOffsets[4][4][2]
 

Initial value:


{ { {-2,-1}, {2,-1}, {0,-5}, {1, 5} },
  { {1,-2}, {1, 2}, {5, 0},{-5, 0} },
  { {2, 1}, {-2, 1}, {0, 5}, {0,-5} },
  { {-1, 2}, {-1,-2}, {-5, 0}, {5, 0} }
}

signed short int iMediumShipOffsets[4][4][2]
 

Initial value:


{ { {-2, 0}, {2, 0}, {0,-4}, {1, 5} },
  { {0,-2}, {0, 2}, {4, 0},{-5, 0} },
  { {2, 0}, {-2, 0}, {0, 4}, {0,-5} },
  { {0, 2}, {0,-2}, {-4, 0}, {5, 0} }
}

signed short int iSmallShipOffsets[4][4][2]
 

Initial value:


{ { {-2, 0}, {2, 0}, {0, -4}, {1, 4} },
  { {0, -2}, {0, 2}, {4, 0}, {-4, 0} },
  { {2, 0}, {-2, 0}, {0, 4}, {0, -4}  },
  { {0, 2},  {0,-2}, {-4, 0}, {4, 0}  }
}

BOATS s_boat
 

SourceForge.net Logo