#include <path.h>
Public Member Functions | |
| Path (ifstream *f, int _id) | |
| ~Path (void) | |
| void | DtoXY (TraverseDetails *) |
| void | CorrectD (float *d) |
| bool | Traverse (TraverseDetails *) |
| void | PerformLoop (TraverseDetails *) |
| void | PerformBounce (TraverseDetails *) |
| void | SnapToEnd (TraverseDetails *) |
| void | MoveTraverser (Object *obj, float speed) |
| int | GetNumEndCXS () |
| int | GetNumBegCXS () |
| void | SetEndCXS (int indx, Path *end_cxs_val) |
| Path * | GetEndCXS (int indx) |
| void | SetBegCXS (int indx, Path *beg_cxs_val) |
| Path * | GetBegCXS (int indx) |
| void | SetEndREC (Path *_end_rec) |
| Path * | GetEndREC () |
| void | SetBegREC (Path *_end_rec) |
| Path * | GetBegREC () |
Private Attributes | |
| string | name |
| int | id |
| int | flags |
| int | num_pts |
| int | num_dists |
| int | num_marks |
| Path ** | pts |
| Path ** | dists |
| PathMark * | marks |
| int | end_flags |
| int | beg_flags |
| int | num_ptsdists |
| int | path_flags |
| int | table_size |
| PathTableRow * | table |
| float | path_length |
| int | num_end_cxs |
| int | num_beg_cxs |
| Path ** | end_cxs |
| Path ** | beg_cxs |
| Path * | end_rec |
| Path * | beg_rec |
|
||||||||||||
|
gamemanager will pass correct id |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
beginning point connections |
|
|
begin endpoint flags |
|
|
recommended next path off beginning |
|
|
|
|
|
ending point connections |
|
|
end endpoint flags - ex: "PATHEND_RAND_SELECT" |
|
|
recommended next path off ending |
|
|
path flags - ex "PATH_LOOPING" |
|
|
index ID# (into GameManager table) |
|
|
marks (annotate points) |
|
|
optional name of path |
|
|
# of paths connected to the beginning. |
|
|
|
|
|
# of paths connected ("connections") to the end. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
final distance entry in table |
|
|
|
|
|
|
|
|
|
1.3-rc3