/*************************************************************************** file : human.h created : Sat May 10 19:12:46 CEST 2003 copyright : (C) 2003 by Eric Espié email : eric.espie@torcs.org version : $Id: human.h,v 1.3 2003/11/08 16:37:17 torcs Exp $ ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ /** @file @author Eric Espie @version $Id: human.h,v 1.3 2003/11/08 16:37:17 torcs Exp $ */ #ifndef _HUMAN_H_ #define _HUMAN_H_ typedef struct HumanContext { int NbPitStops; int LastPitStopLap; int AutoReverseEngaged; tdble shiftThld[MAX_GEARS+1]; tdble Gear; tdble distToStart; float ABS; float AntiSlip; int lap; float prevLeftSteer; float prevRightSteer; int manual; int Transmission; int NbPitStopProg; int ParamAsr; int ParamAbs; int RelButNeutral; int SeqShftAllowNeutral; int AutoReverse; tControlCmd *CmdControl; int MouseControlUsed; int lightCmd; } tHumanContext; extern tHumanContext *HCtx[]; extern int joyPresent; #endif /* _HUMAN_H_ */