TORCS  1.3.9
The Open Racing Car Simulator
atmosphere.cpp
Go to the documentation of this file.
1 /***************************************************************************
2 
3  file : atmosphere.cpp
4  created : Sun Feb 12 17:37:50 CET 2017
5  copyright : (C) 2017-2017 by Bernhard Wymann
6  email : berniw@bluewin.ch
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 #include "sim.h"
21 
23 {
24  // Nothing for now
25 }
26 
27 
29 {
30  // TODO: get this later form the situation, weather simulation.
31  car->localTemperature = 273.15f + 20.0f;
32  car->localPressure = 101300.0f;
33 }
cars situation used to inform the GUI and the drivers
Definition: raceman.h:85
Definition: carstruct.h:35
void SimAtmosphereUpdate(tCar *car, tSituation *s)
Definition: atmosphere.cpp:28
tdble localTemperature
Definition: carstruct.h:90
void SimAtmosphereConfig(tCar *car)
Definition: atmosphere.cpp:22
tdble localPressure
Definition: carstruct.h:91