Changeset View
Changeset View
Standalone View
Standalone View
src/unit.h
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Line(s) | 71 | enum UnitId { | |||
---|---|---|---|---|---|
135 | // Velocity | 135 | // Velocity | ||
136 | MeterPerSecond = 9000, KilometerPerHour, MilePerHour, FootPerSecond, InchPerSecond, Knot, | 136 | MeterPerSecond = 9000, KilometerPerHour, MilePerHour, FootPerSecond, InchPerSecond, Knot, | ||
137 | Mach, SpeedOfLight, Beaufort, | 137 | Mach, SpeedOfLight, Beaufort, | ||
138 | 138 | | |||
139 | // Power | 139 | // Power | ||
140 | Yottawatt = 10000, Zettawatt, Exawatt, Petawatt, Terawatt, Gigawatt, Megawatt, Kilowatt, | 140 | Yottawatt = 10000, Zettawatt, Exawatt, Petawatt, Terawatt, Gigawatt, Megawatt, Kilowatt, | ||
141 | Hectowatt, Decawatt, Watt, Deciwatt, Centiwatt, Milliwatt, Microwatt, Nanowatt, Picowatt, | 141 | Hectowatt, Decawatt, Watt, Deciwatt, Centiwatt, Milliwatt, Microwatt, Nanowatt, Picowatt, | ||
142 | Femtowatt, Attowatt, Zeptowatt, Yoctowatt, Horsepower, | 142 | Femtowatt, Attowatt, Zeptowatt, Yoctowatt, Horsepower, | ||
143 | /** @since 5.62 */ | ||||
ngraham: This will (hopefully) land in 5.62, so use that for the number | |||||
144 | DecibelKilowatt, DecibelWatt, DecibelMilliwatt, DecibelMicrowatt, | ||||
143 | 145 | | |||
144 | // Time | 146 | // Time | ||
145 | Yottasecond = 11000, Zettasecond, Exasecond, Petasecond, Terasecond, Gigasecond, Megasecond, | 147 | Yottasecond = 11000, Zettasecond, Exasecond, Petasecond, Terasecond, Gigasecond, Megasecond, | ||
146 | Kilosecond, Hectosecond, Decasecond, Second, Decisecond, Centisecond, Millisecond, | 148 | Kilosecond, Hectosecond, Decasecond, Second, Decisecond, Centisecond, Millisecond, | ||
147 | Microsecond, Nanosecond, Picosecond, Femtosecond, Attosecond, Zeptosecond, Yoctosecond, | 149 | Microsecond, Nanosecond, Picosecond, Femtosecond, Attosecond, Zeptosecond, Yoctosecond, | ||
148 | Minute, Hour, Day, Week, JulianYear, LeapYear, Year, | 150 | Minute, Hour, Day, Week, JulianYear, LeapYear, Year, | ||
149 | 151 | | |||
150 | // FuelEfficiency | 152 | // FuelEfficiency | ||
▲ Show 20 Lines • Show All 404 Lines • Show Last 20 Lines |
This will (hopefully) land in 5.62, so use that for the number