From: Ian Jackson Date: Mon, 8 Nov 2010 01:36:40 +0000 (+0000) Subject: safety.h: comment Traininfo.ts and .xs X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=7977a7ef84d3727753c4921e95f632cf08455d1e;p=trains.git safety.h: comment Traininfo.ts and .xs --- diff --git a/hostside/safety.h b/hostside/safety.h index 263e219..ace543e 100644 --- a/hostside/safety.h +++ b/hostside/safety.h @@ -27,9 +27,9 @@ typedef struct MovPosChange MovPosChange; #define SPEEDSTEPS 126 typedef struct { - float speed; - Distance xs; - TimeInterval ts; + float speed; /* applies to all speeds up to and including this one */ + Distance xs; /* max stopping distance */ + TimeInterval ts; /* max stopping time */ } SpeedRange; struct Train {