Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 7 Next »

Incomplete

This page is incomplete.

 

 

Heading for Constants used in the SoI Engine.

directions[] in act.movement.cpp ~ line 373
// in act.movement.cpp near line 373
const char *direction[] =
{
    "south",
    "west",
    "north",
    "east",
    "down",
    "up",
    "inside",
    "outside",
    "southwest",
    "southeast",
    "northwest",
    "northeast"
    "upnorth",
    "upeast",
    "upsouth",
    "upwest",
    "upnortheast",
    "upnorthwest",
    "upsoutheast",
    "upsouthwest",
    "downnorth",
    "downeast",
    "downsouth",
    "downwest",
    "downnortheast",
    "downnorthwest",
    "downsoutheast",
    "downsouthwest"
};

dirs[] in act.movement.cpp ~ line 200
// As seen in act.movement.cpp around line 200. (The order of these is VERY important, do not mess them around)


const char* const dirs[] =
{
"north",
"east",
"south",
"west",
"up",
"down",
"outside",
"inside",
"northeast",
"northwest",
"southeast",
"southwest",
"\n"
};
short_dirs[]
// Added global constant by Nimrod - 7 Sept 13
// Abbreviations for directions found in dirs[]  - Must be declared in SAME order as dirs[]

const char* const short_dirs[] =
{
	"n",
	"e",
	"s",
	"w",
	"u",
	"d",
	"o",
	"i",
	"ne",
	"nw",
	"se",
	"sw",
	"\n"
};

 

 

 

 

  • No labels