![]() |
torcs - 1.2.2 | ![]() |
00001 /*************************************************************************** 00002 00003 file : controlconfig.h 00004 created : Wed Mar 12 22:09:01 CET 2003 00005 copyright : (C) 2003 by Eric Espié 00006 email : eric.espie@torcs.org 00007 version : $Id: controlconfig.h,v 1.3 2003/11/08 16:37:18 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 _CONTROLCONFIG_H_ 00027 #define _CONTROLCONFIG_H_ 00028 00029 extern void *TorcsControlMenuInit(void *prevMenu, int index); 00030 00031 00032 typedef struct 00033 { 00034 char *name; 00035 tCtrlRef ref; 00036 int Id; 00037 char *minName; 00038 float min; 00039 char *maxName; 00040 float max; 00041 char *powName; 00042 float pow; 00043 int keyboardPossible; 00044 } tCmdInfo; 00045 00046 #endif /* _CONTROLCONFIG_H_ */ 00047 00048 00049