From 7b5d5bc663c2cb8b60bb191d3174a5b89d2770d4 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 2 May 2013 17:19:10 +1000 Subject: [PATCH] remove the use of 'typedef enum' without an indentifier --- CODE-mp/game/bg_public.h | 2 +- CODE-mp/game/g_local.h | 2 +- CODE-mp/game/q_shared.h | 4 ++-- CODE-mp/game/w_saber.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CODE-mp/game/bg_public.h b/CODE-mp/game/bg_public.h index 7642784..97d94b5 100644 --- a/CODE-mp/game/bg_public.h +++ b/CODE-mp/game/bg_public.h @@ -200,7 +200,7 @@ typedef enum { } weaponstate_t; -typedef enum { +enum { FORCE_MASTERY_UNINITIATED, FORCE_MASTERY_INITIATE, FORCE_MASTERY_PADAWAN, diff --git a/CODE-mp/game/g_local.h b/CODE-mp/game/g_local.h index 786194b..5928f5d 100644 --- a/CODE-mp/game/g_local.h +++ b/CODE-mp/game/g_local.h @@ -57,7 +57,7 @@ typedef enum //# material_e #define SP_PODIUM_MODEL "models/mapobjects/podium/podium4.md3" -typedef enum +enum { HL_NONE = 0, HL_FOOT_RT, diff --git a/CODE-mp/game/q_shared.h b/CODE-mp/game/q_shared.h index 419d9ba..e00b905 100644 --- a/CODE-mp/game/q_shared.h +++ b/CODE-mp/game/q_shared.h @@ -469,7 +469,7 @@ typedef enum NUM_FORCE_POWERS } forcePowers_t; -typedef enum +enum { FORCE_LEVEL_0, FORCE_LEVEL_1, @@ -2051,7 +2051,7 @@ typedef struct { // For ghoul2 axis use -typedef enum Eorientations +enum Eorientations { ORIGIN = 0, POSITIVE_X, diff --git a/CODE-mp/game/w_saber.h b/CODE-mp/game/w_saber.h index 8463bc4..483e4e3 100644 --- a/CODE-mp/game/w_saber.h +++ b/CODE-mp/game/w_saber.h @@ -6,7 +6,7 @@ #define FORCE_LIGHTNING_RADIUS 300 #define MAX_DRAIN_DISTANCE 512 -typedef enum +enum { FJ_FORWARD, FJ_BACKWARD,