This is NCommon.rtf in view mode; [Download] [Up]
paperh18648 margl-907 margr0 margt0 margb0fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1996 by -destination All Rights Reserved. i i0
s5 li2116 fi0 ri1007 ql f0 fs56 b NCommonb0
{fs16
}s17 li4888 fi-2771 ri1007 ql tx4888 f0 fs28 b Resource Collectionb0 f1 fs28
s17 li4888 fi-2771 ri1007 ql tx4888 f0 fs28 b Declared In:b0 f1 fs28 NCommon.h
s13 li1360 fi0 ri1007 ql fs16
f0 fs36 b Defined Typesb0
{fs16
}tx2116 tx6148 tx6794 tx7440 tx8086 tx9378li6148 fi-4421 fc0 cf0 f0 fs20 b SYNOPSISb0
s11 li6148 fi-4031 ri1007 ql tx7440 tx8086 tx8732 tx9378 tx10024 tx10670f1 fs28 Direction_tb0 typedef enum
{
INVALID_DIR = -1,
EAST = 0,
NORTH,
WEST,
SOUTH
} b Direction_tb0;
Rotation_tb0 typedef enum
{
INVALID_ROT = -1,
CLOCKWISE = 0,
COUNTERCLOCKWISE
} b Rotation_tb0;
GameStatus_tb0 typedef enum
{
STARTED = 0,
PAUSED,
STOPPED,
FASTFORWARD
} b GameStatus_tb0;
NPipe_tb0 typedef enum
{
PIPE_OBSTACLE = 0,
PIPE_UNASSIGNED,
PIPE_SOURCE,
PIPE_VERTICAL_BIDIRECTIONAL,
PIPE_HORIZONTAL_BIDIRECTIONAL,
PIPE_UPPER_LEFT,
PIPE_UPPER_RIGHT,
PIPE_LOWER_LEFT,
PIPE_LOWER_RIGHT,
PIPE_INTERSECTION,
PIPE_VERTICAL_ONEWAY_UP,
PIPE_VERTICAL_ONEWAY_DOWN,
PIPE_HORIZONTAL_ONEWAY_LEFT,
PIPE_HORIZONTAL_ONEWAY_RIGHT
} b NPipe_tb0;
s13 li1360 fi0 ri1007 ql fs16
f0 fs36 b Symbolic Constantsb0
{fs16
}tx2116 tx6148 tx6794 tx7440 tx8086 tx9378li6148 fi-4421 fc0 cf0 f0 fs20 b SYNOPSISb0
s11 li6148 fi-4031 ri1007 ql tx7440 tx8086 tx8732 tx9378 tx10024 tx10670f1 fs28 UNUSED_PIECE_PENALTY_POINTSb0 10
BIDIRECTIONAL_PIECE_POINTSb0 20
UNIDIRECTIONAL_PIECE_POINTSb0 30
INTERSECTION_BONUS_POINTSb0 40
MINIMUM_PIPE_SETb0 ( PIPE_INTERSECTION - PIPE_VERTICAL_BIDIRECTIONAL + 1 )
MAXIMUM_PIPE_SETb0 ( PIPE_HORIZONTAL_ONEWAY_RIGHT - PIPE_VERTICAL_BIDIRECTIONAL + 1 )
STRING_LENGTHb0 255
s13 li1360 fi0 ri1007 ql fs16
f0 fs36 b Functionsb0
{fs16
}tx2116 tx6148 tx6794 tx7440 tx8086 tx9378li6148 fi-4421 fc0 cf0 f0 fs20 b SYNOPSISb0
s11 li6148 fi-4031 ri1007 ql tx7440 tx8086 tx8732 tx9378 tx10024 tx10670f1 fs28 Rotation_t b direction2rotation(b0 NPipe_t pipe, Direction_t entryb )b0
Direction_t b entry2exit(b0 NPipe_t pipe, Direction_t entryb )b0
Direction_t b exit2entry(b0 Direction_t entryb )b0
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.