diff options
Diffstat (limited to 'app/bin/ccornu.h')
-rw-r--r-- | app/bin/ccornu.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/app/bin/ccornu.h b/app/bin/ccornu.h index 2bd1f49..ff3810f 100644 --- a/app/bin/ccornu.h +++ b/app/bin/ccornu.h @@ -7,9 +7,9 @@ #ifndef APP_BIN_CCORNU_H_ #define APP_BIN_CCORNU_H_ +#include "common.h" - -typedef void (*cornuMessageProc)( char *, ... ); +typedef void (*cornuMessageProc)( const char *, ... ); #define cornuCmdNone (0) #define cornuJoinTrack (1) @@ -20,14 +20,17 @@ typedef void (*cornuMessageProc)( char *, ... ); #endif /* APP_BIN_CCORNU_H_ */ STATUS_T CmdCornu( wAction_t action, coOrd pos ); -BOOL_T CallCornu0(coOrd pos[2], coOrd center[2], ANGLE_T angle[2], DIST_T radius[2], dynArr_t * array_p, BOOL_T spots); +BOOL_T CallCornu0(coOrd pos[2], coOrd center[2], ANGLE_T angle[2], + DIST_T radius[2], dynArr_t * array_p, BOOL_T spots); DIST_T CornuMinRadius(coOrd pos[4],dynArr_t segs); -DIST_T CornuMaxRateofChangeofCurvature(coOrd pos[4],dynArr_t segs,DIST_T * last_c); +DIST_T CornuMaxRateofChangeofCurvature(coOrd pos[4],dynArr_t segs, + DIST_T * last_c); DIST_T CornuLength(coOrd pos[4],dynArr_t segs); DIST_T CornuOffsetLength(dynArr_t segs, double offset); DIST_T CornuTotalWindingArc(coOrd pos[4],dynArr_t segs); -STATUS_T CmdCornuModify (track_p trk, wAction_t action, coOrd pos, DIST_T trackG); +STATUS_T CmdCornuModify (track_p trk, wAction_t action, coOrd pos, + DIST_T trackG); void InitCmdCornu( wMenu_p menu ); |