From 1d3cc950766e97d89c013ef63fdc693e8fe6adaf Mon Sep 17 00:00:00 2001 From: kakukri Date: Wed, 18 Nov 2015 23:47:50 +0000 Subject: [PATCH] Re #924: add an item about penalty precedence to dashboard git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6233 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: c22a9c73ad408c42dad6f27ed2281861a6365596 Former-commit-id: 1a4f5454eef2387b7398356a68bcc532691c6d8a --- src/interfaces/car.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/interfaces/car.h b/src/interfaces/car.h index 6a8a11ccb..eaa7c0906 100644 --- a/src/interfaces/car.h +++ b/src/interfaces/car.h @@ -389,8 +389,9 @@ typedef struct #define DI_TYRE_SET 34 #define DI_FRONT_WING_ANGLE 35 #define DI_REAR_WING_ANGLE 36 +#define DI_PENALTY 40 /* number of request types */ -#define NR_DI_REQUEST 5 +#define NR_DI_REQUEST 6 /** Data known only by the driver */ typedef struct @@ -574,7 +575,7 @@ typedef struct tCarSetupItem suspCourse[4], suspPacker[4]; tCarSetupItem suspFastBump[4], suspSlowBump[4], suspBumpLvel[4]; tCarSetupItem suspFastRebound[4], suspSlowRebound[4], suspReboundLvel[4]; - tCarSetupItem reqRepair, reqTireset; //used for pit stop repair and tire set request + tCarSetupItem reqRepair, reqTireset, reqPenalty; //used for pit stop repair, tire set and stop & go request } tCarSetup; /** Command issued by the car during pit stop */