Pioneer
Loading...
Searching...
No Matches
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
7static const double PHYSICS_HZ = 60.0;
8
9static const double MAX_LANDING_SPEED = 30.0; // m/sec
10static const double LIGHT_SPEED = 3e8; // m/sec
11
12static const Uint32 UNIVERSE_SEED = 0xabcd1234;
13
14static const double EARTH_RADIUS = 6378135.0; // m
15static const double EARTH_MASS = 5.9742e24; // Kg
16static const double SOL_RADIUS = 6.955e8; // m
17static const double SOL_MASS = 1.98892e30; // Kg
18
19static const double AU = 149598000000.0; // m
20static const double G = 6.67428e-11;
21
22static const double EARTH_ATMOSPHERE_SURFACE_DENSITY = 1.225;
23static const double GAS_CONSTANT_R = 8.3144621;
24
25#endif /* _GAMECONSTS_H */