From baeb412272a8d4ecfc44e7d497f92249f15ce02c Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Wed, 29 Mar 2017 02:10:27 +0200 Subject: BLADERUNNER: fixed compilation without c++11 --- engines/bladerunner/bladerunner.h | 2 +- engines/bladerunner/script/script.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/engines/bladerunner/bladerunner.h b/engines/bladerunner/bladerunner.h index 3fc8a23cf1..3b0359be2e 100644 --- a/engines/bladerunner/bladerunner.h +++ b/engines/bladerunner/bladerunner.h @@ -36,7 +36,7 @@ namespace BladeRunner { -enum AnimationModes : int { +enum AnimationModes { kAnimationModeIdle = 0, kAnimationModeWalk = 1, kAnimationModeRun = 2, diff --git a/engines/bladerunner/script/script.h b/engines/bladerunner/script/script.h index eab683038d..ff61dd5986 100644 --- a/engines/bladerunner/script/script.h +++ b/engines/bladerunner/script/script.h @@ -29,7 +29,7 @@ namespace BladeRunner { -enum Actors : int { +enum Actors { kActorMcCoy = 0, kActorSteele = 1, kActorGordo = 2, @@ -106,7 +106,7 @@ enum Actors : int { kActorVoiceOver = 99 }; -enum Clues : int { +enum Clues { kClueOfficersStatement = 0, kClueDoorForced1 = 1, kClueDoorForced2 = 2, @@ -397,14 +397,14 @@ enum Clues : int { kClueCrazylegGgrovels = 287, }; -enum ClueTypes: int{ +enum ClueTypes { kClueTypePhotograph = 0, kClueTypeVideoClip = 1, kClueTypeAudioRecording = 2, kClueTypeObject = 3 }; -enum Crimes : int { +enum Crimes { kCrimeAnimalMurder = 0, kCrimeEisendullerMurder = 1, kCrimeArmsDealing = 2, @@ -416,7 +416,7 @@ enum Crimes : int { kCrimeMoonbusHijacking = 8 }; -enum SpinnerDestinations : int { +enum SpinnerDestinations { kSpinnerDestinationPoliceStation = 0, kSpinnerDestinationMcCoysApartment = 1, kSpinnerDestinationRuncitersAnimals = 2, -- cgit v1.2.3