Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleIncomplete

This page is incomplete.

 

 

Heading for Constants used in the SoI Engine.

Code Block
languagecpp
titledirections[] in act.movement.cpp ~ line 373
collapsetrue
// 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"
};

Code Block
languagecpp
titledirs[] in act.movement.cpp ~ line 200
collapsetrue
// 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"
};
Code Block
languagecpp
titleshort_dirs[]
collapsetrue
// 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"
};

 

 

Code Block
languagecpp
titlerev_d2[] in act.movement.cpp ~ line 405
collapsetrue
Located in act.movement.cpp around line 405
const char *rev_d2[] =
{
    "the south",
    "the west",
    "the north",
    "the east",
    "below",
    "above",
    "inside",
    "outside",
    "the southwest",
    "the southeast",
    "the northwest",
    "the northeast",
    "the upnorth",
    "the upeast",
    "the upsouth",
    "the upwest",
    "the upnortheast",
    "the upnorthwest",
    "the upsoutheast",
    "the upsouthwest",
    "the downnorth",
    "the downeast",
    "the downsouth",
    "the downwest",
    "the downnortheast",
    "the downnorthwest",
    "the downsoutheast",
    "the downsouthwest",
    "report this to nimrod"
};