TORCS  1.3.9
The Open Racing Car Simulator
engine.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  file : engine.h
4  created : Sun Mar 19 00:07:07 CET 2000
5  copyright : (C) 2000 by Eric Espie
6  email : torcs@free.fr
7  version : $Id$
8 
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 
20 #ifndef _ENGINE_H_
21 #define _ENGINE_H_
22 
23 typedef struct {
28 
29 typedef struct {
35  int nbPts;
37 } tEngineCurve;
38 
39 typedef struct
40 {
46  tdble rads; /* revs in rad/s ... */
47  tdble Tq; /* output torque */
53 } tEngine;
54 
55 #endif /* _ENGINE_H_ */
56 
57 
58 
tdble maxPw
Definition: engine.h:31
tdble rpmMaxPw
Definition: engine.h:32
tdble brakeCoeff
Definition: engine.h:49
tdble rpmMaxTq
Definition: engine.h:34
tdble I
Definition: engine.h:45
tdble fuelcons
Definition: engine.h:48
tEngineCurve curve
Definition: engine.h:41
tdble tickover
Definition: engine.h:44
tdble maxTq
Definition: engine.h:30
tdble TqAtMaxPw
Definition: engine.h:33
float tdble
Floating point type used in TORCS.
Definition: tgf.h:48
tdble revsLimiter
Definition: engine.h:42
tdble Tq
Definition: engine.h:47
Definition: engine.h:39
tdble exhaust_refract
Definition: engine.h:52
tdble exhaust_pressure
Definition: engine.h:51
tdble revsMax
Definition: engine.h:43
int nbPts
Definition: engine.h:35
tdble rads
Definition: engine.h:24
tdble pressure
Definition: engine.h:50
tdble rads
Definition: engine.h:46
tEngineCurveElem * data
Definition: engine.h:36