torcs - 1.2.2

src/interfaces/playerpref.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003     file                 : playerpref.h
00004     created              : Wed Mar 21 21:50:23 CET 2001
00005     copyright            : (C) 2001 by Eric Espié
00006     email                : Eric.Espie@torcs.org
00007     version              : $Id: playerpref.h,v 1.9 2003/11/23 20:21:11 torcs Exp $
00008 
00009  ***************************************************************************/
00010 
00011 /***************************************************************************
00012  *                                                                         *
00013  *   This program is free software; you can redistribute it and/or modify  *
00014  *   it under the terms of the GNU General Public License as published by  *
00015  *   the Free Software Foundation; either version 2 of the License, or     *
00016  *   (at your option) any later version.                                   *
00017  *                                                                         *
00018  ***************************************************************************/
00019  
00026 #ifndef _PLAYERPREF_H_
00027 #define _PLAYERPREF_H_
00028 
00029 #define HM_DRV_FILE             "drivers/human/human.xml"
00030 #define HM_PREF_FILE            "drivers/human/preferences.xml"
00031 
00032 #define HM_SECT_JSPREF          "joystick"
00033 #define HM_SECT_MOUSEPREF       "mouse"
00034 #define HM_SECT_KEYBPREF        "keyboard"
00035 
00036 #define HM_SECT_DRVPREF         "Preferences/Drivers"
00037 
00038 #define HM_ATT_CONTROL          "control"
00039 
00040 #define HM_ATT_UP_SHFT          "up shift"
00041 #define HM_ATT_DN_SHFT          "down shift"
00042 #define HM_ATT_ASR_CMD          "ASR cmd"
00043 #define HM_ATT_ABS_CMD          "ABS cmd"
00044 
00045 #define HM_ATT_LIGHT1_CMD       "Light1 cmd"
00046 #define HM_ATT_SPDLIM_CMD       "Speed Limiter"
00047 
00048 #define HM_ATT_AUTOREVERSE      "auto reverse"
00049 
00050 #define HM_ATT_GEAR_R           "reverse gear"
00051 #define HM_ATT_GEAR_N           "neutral gear"
00052 #define HM_ATT_GEAR_1           "1st gear"
00053 #define HM_ATT_GEAR_2           "2nd gear"
00054 #define HM_ATT_GEAR_3           "3rd gear"
00055 #define HM_ATT_GEAR_4           "4th gear"
00056 #define HM_ATT_GEAR_5           "5th gear"
00057 #define HM_ATT_GEAR_6           "6th gear"
00058 
00059 /* used for RS Shifter controller */
00060 #define HM_ATT_REL_BUT_NEUTRAL  "release gear button goes neutral"
00061 
00062 /* Tell if the sequential shifter can go to neutral */
00063 #define HM_ATT_SEQSHFT_ALLOW_NEUTRAL "sequential shifter allow neutral"
00064 
00065 #define HM_ATT_STEER_SENS       "steer sensitivity"
00066 #define HM_ATT_STEER_POW        "steer power"
00067 #define HM_ATT_STEER_SPD        "steer speed sensitivity"
00068 #define HM_ATT_STEER_DEAD       "steer dead zone"
00069 
00070 #define HM_ATT_LEFTSTEER        "left steer"
00071 #define HM_ATT_LEFTSTEER_MIN    "left steer min"
00072 #define HM_ATT_LEFTSTEER_MAX    "left steer max"
00073 #define HM_ATT_LEFTSTEER_POW    "left steer power"
00074 #define HM_ATT_LEFTSTEER_DEAD   "left steer dead zone"
00075 
00076 #define HM_ATT_RIGHTSTEER       "right steer"
00077 #define HM_ATT_RIGHTSTEER_MIN   "right steer min"
00078 #define HM_ATT_RIGHTSTEER_MAX   "right steer max"
00079 #define HM_ATT_RIGHTSTEER_POW   "right steer power"
00080 #define HM_ATT_RIGHTSTEER_DEAD  "right steer dead zone"
00081 
00082 #define HM_ATT_THROTTLE         "throttle"
00083 #define HM_ATT_THROTTLE_MIN     "throttle min"
00084 #define HM_ATT_THROTTLE_MAX     "throttle max"
00085 #define HM_ATT_THROTTLE_SENS    "throttle sensitivity"
00086 #define HM_ATT_THROTTLE_POW     "throttle power"
00087 #define HM_ATT_THROTTLE_DEAD    "throttle dead zone"
00088 
00089 #define HM_ATT_BRAKE            "brake"
00090 #define HM_ATT_BRAKE_MIN        "brake min"
00091 #define HM_ATT_BRAKE_MAX        "brake max"
00092 #define HM_ATT_BRAKE_SENS       "brake sensitivity"
00093 #define HM_ATT_BRAKE_POW        "brake power"
00094 #define HM_ATT_BRAKE_DEAD       "brake dead zone"
00095 
00096 #define HM_ATT_CLUTCH           "clutch"
00097 #define HM_ATT_CLUTCH_MIN       "clutch min"
00098 #define HM_ATT_CLUTCH_MAX       "clutch max"
00099 #define HM_ATT_CLUTCH_SENS      "clutch sensitivity"
00100 #define HM_ATT_CLUTCH_POW       "clutch power"
00101 #define HM_ATT_CLUTCH_DEAD      "clutch dead zone"
00102 
00103 #define HM_SECT_PREF    "Preferences"
00104 
00105 #define HM_LIST_DRV     "Drivers"
00106 
00107 #define HM_ATT_TRANS    "transmission"
00108 #define HM_ATT_ABS      "ABS on"
00109 #define HM_ATT_ASR      "ASR on"
00110 #define HM_ATT_NBPITS   "programmed pit stops"
00111 
00112 #define HM_VAL_AUTO     "auto"
00113 #define HM_VAL_MANUAL   "manual"
00114 
00115 #define HM_VAL_YES      "yes"
00116 #define HM_VAL_NO       "no"
00117 
00118 #define HM_VAL_JOYSTICK "joystick"
00119 #define HM_VAL_MOUSE    "mouse"
00120 #define HM_VAL_KEYBOARD "keyboard"
00121 
00122 #endif /* _PLAYERPREF_H_ */ 
00123 
00124 
00125 

Generated at Thu Feb 26 21:52:27 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.