torcs - 1.2.2

src/interfaces/simu.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 
00003     file                 : simu.h
00004     created              : Sun Jan 30 12:02:05 CET 2000
00005     copyright            : (C) 2000 by Eric Espie
00006     email                : torcs@free.fr
00007     version              : $Id: simu.h,v 1.4 2003/08/11 20:53:40 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  
00020  
00021 #ifndef _SIMUV1_H_
00022 #define _SIMUV1_H_
00023 
00024 #include <track.h>
00025 
00026 #define SIM_IDENT       0
00027 
00028 struct Situation;
00029 
00030 typedef void (*tfSimInit)(int);
00031 typedef void (*tfSimConfig)(tCarElt*);
00032 typedef void (*tfSimReConfig)(tCarElt*);
00033 typedef void (*tfSimUpdate)(struct Situation*, double, int);
00034 typedef void (*tfSimShutdown)(void);
00035 
00036 typedef struct
00037 {
00038     tfSimInit     init;
00039     tfSimConfig   config;
00040     tfSimReConfig reconfig;
00041     tfSimUpdate   update;
00042     tfSimShutdown shutdown;
00043 } tSimItf;
00044 
00045 
00046 
00047 #endif /* _SIMUV1_H_ */ 
00048 
00049 
00050 

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.