Pioneer
gameconsts.h
Go to the documentation of this file.
1 // Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 #ifndef _GAMECONSTS_H
5 #define _GAMECONSTS_H
6 
7 static const double PHYSICS_HZ = 60.0;
8 
9 static const double MAX_LANDING_SPEED = 30.0; // m/sec
10 static const double LIGHT_SPEED = 3e8; // m/sec
11 
12 static const Uint32 UNIVERSE_SEED = 0xabcd1234;
13 
14 static const double EARTH_RADIUS = 6378135.0; // m
15 static const double EARTH_MASS = 5.9742e24; // Kg
16 static const double SOL_RADIUS = 6.955e8; // m
17 static const double SOL_MASS = 1.98892e30; // Kg
18 
19 static const double AU = 149598000000.0; // m
20 static const double G = 6.67428e-11;
21 
22 static const double EARTH_ATMOSPHERE_SURFACE_DENSITY = 1.225;
23 static const double GAS_CONSTANT_R = 8.3144621;
24 
25 #endif /* _GAMECONSTS_H */