mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-20 02:42:42 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -94,7 +94,7 @@ static int MapOldSubType(const Vehicle *v)
|
||||
|
||||
|
||||
/* TTDP style aircraft movement states for GRF Action 2 Var 0xE2 */
|
||||
enum TTDPAircraftMovementStates {
|
||||
enum TTDPAircraftMovementStates : uint8_t {
|
||||
AMS_TTDP_HANGAR,
|
||||
AMS_TTDP_TO_HANGAR,
|
||||
AMS_TTDP_TO_PAD1,
|
||||
@@ -230,7 +230,7 @@ static uint8_t MapAircraftMovementState(const Aircraft *v)
|
||||
|
||||
|
||||
/* TTDP style aircraft movement action for GRF Action 2 Var 0xE6 */
|
||||
enum TTDPAircraftMovementActions {
|
||||
enum TTDPAircraftMovementActions : uint8_t {
|
||||
AMA_TTDP_IN_HANGAR,
|
||||
AMA_TTDP_ON_PAD1,
|
||||
AMA_TTDP_ON_PAD2,
|
||||
|
||||
Reference in New Issue
Block a user