Rev 602 | Rev 802 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 602 | Rev 785 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | 5 | ||
6 | #define POINT_TYPE_INVALID 255 |
6 | #define POINT_TYPE_INVALID 255 |
7 | #define POINT_TYPE_WP 0 |
7 | #define POINT_TYPE_WP 0 |
8 | #define POINT_TYPE_POI 1 |
8 | #define POINT_TYPE_POI 1 |
- | 9 | #define POINT_TYPE_FS 2 |
|
Line 9... | Line 10... | ||
9 | #define POINT_TYPE_FS 2 |
10 | #define POINT_TYPE_LAND 3 |
10 | 11 | ||
Line 11... | Line 12... | ||
11 | // the waypoints list |
12 | // the waypoints list |
Line 53... | Line 54... | ||
53 | // return pointer to point at position |
54 | // return pointer to point at position |
54 | Point_t* PointList_GetAt(u8 index); |
55 | Point_t* PointList_GetAt(u8 index); |
55 | // set a point in the list at index, returns its index on success, else 0 |
56 | // set a point in the list at index, returns its index on success, else 0 |
56 | u8 PointList_SetAt(Point_t* pPoint); |
57 | u8 PointList_SetAt(Point_t* pPoint); |
57 | // goto the first WP in the list and return pointer to it |
58 | // goto the first WP in the list and return pointer to it |
58 | Point_t* PointList_WPBegin(void); |
59 | Point_t* PointList_WPBegin(u32); |
59 | // goto the last WP in the list and return pointer to it |
60 | // goto the last WP in the list and return pointer to it |
60 | Point_t* PointList_WPEnd(void); |
61 | Point_t* PointList_WPEnd(void); |
61 | // goto next WP in the list and return pointer to it |
62 | // goto next WP in the list and return pointer to it |
62 | Point_t* PointList_WPNext(void); |
63 | Point_t* PointList_WPNext(void); |
63 | // enables/disables waypoint function |
64 | // enables/disables waypoint function |
Line 84... | Line 85... | ||
84 | extern void ClearWLP_Name(void); |
85 | extern void ClearWLP_Name(void); |
85 | extern s16 HeadingOld; |
86 | extern s16 HeadingOld; |
86 | extern Point_t PointList[MAX_LIST_LEN]; |
87 | extern Point_t PointList[MAX_LIST_LEN]; |
87 | extern u8 FsPointCnt; |
88 | extern u8 FsPointCnt; |
Line -... | Line 89... | ||
- | 89 | ||
- | 90 | extern u8 PointCount; |
|
- | 91 | extern u8 POICount; |
|
- | 92 | extern u8 WPCount; |
|
- | 93 | ||
88 | 94 |