From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/bin/ccurve.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'app/bin/ccurve.h') diff --git a/app/bin/ccurve.h b/app/bin/ccurve.h index 0c00c46..7ae4227 100644 --- a/app/bin/ccurve.h +++ b/app/bin/ccurve.h @@ -23,10 +23,8 @@ #ifndef HAVE_CCURVE_H #define HAVE_CCURVE_H -#include "draw.h" -#include "track.h" -#include "wlib.h" -#include "utility.h" +#include "common.h" +#include "track.h" //- curveType_e typedef struct { curveType_e type; @@ -48,10 +46,10 @@ typedef struct { #define circleCmdFromTangent (1) #define circleCmdFromCenter (2) -typedef void (*curveMessageProc)( char *, ... ); +typedef void (*curveMessageProc)( const char *, ... ); STATUS_T CreateCurve( wAction_t, coOrd, BOOL_T, wDrawColor, DIST_T, long, dynArr_t *,curveMessageProc ); int IsCurveCircle( track_p ); -void PlotCurve( long, coOrd, coOrd, coOrd, curveData_t *, BOOL_T ); +void PlotCurve( long, coOrd, coOrd, coOrd, curveData_t *, BOOL_T, DIST_T ); track_p NewCurvedTrack( coOrd, DIST_T, ANGLE_T, ANGLE_T, long ); DIST_T CurveDescriptionDistance( coOrd, track_p, coOrd *, BOOL_T, BOOL_T * ); STATUS_T CurveDescriptionMove( track_p, wAction_t, coOrd ); -- cgit v1.2.3