remove the use of 'typedef enum' without an indentifier

This commit is contained in:
Jonathan Gray 2013-05-01 21:32:28 +10:00
parent 00934e804e
commit 88e6b70d0d
6 changed files with 13 additions and 13 deletions

View file

@ -76,7 +76,7 @@ typedef enum
#define NUM_CHUNK_MODELS 4
typedef enum
enum
{
CHUNK_METAL1 = 0,
CHUNK_METAL2,
@ -410,4 +410,4 @@ typedef struct {
extern cgs_t cgs;
#endif //__CG_MEDIA_H_
#endif //__CG_MEDIA_H_

View file

@ -1026,7 +1026,7 @@ void G_Victory( gentity_t *ent )
}
}
typedef enum
enum
{
TAUNT_TAUNT = 0,
TAUNT_BOW,

View file

@ -4,7 +4,7 @@
#define __ITEMS_H__
// Items enums
typedef enum
enum
{
ITM_NONE,
@ -77,7 +77,7 @@ ITM_NUM_ITEMS
};
// Inventory item enums
typedef enum //# item_e
enum //# item_e
{
INV_ELECTROBINOCULARS,
INV_BACTA_CANISTER,

View file

@ -1,7 +1,7 @@
#ifndef HITLOCS_H
#define HITLOCS_H
typedef enum //# hitloc_e
enum //# hitloc_e
{
HL_NONE = 0,
HL_FOOT_RT,

View file

@ -58,7 +58,7 @@ typedef enum
LOCK_FORCE_DRAIN
} sabersLockMode_t;
typedef enum
enum
{
SABERLOCK_TOP,
SABERLOCK_SIDE,
@ -69,7 +69,7 @@ typedef enum
SABERLOCK_LOSE
};
typedef enum
enum
{
DIR_RIGHT,
DIR_LEFT,
@ -148,7 +148,7 @@ extern char *saberColorStringForColor[];
#define MASK_FORCE_PUSH (MASK_OPAQUE|CONTENTS_SOLID)
typedef enum
enum
{
FORCE_LEVEL_0,
FORCE_LEVEL_1,
@ -159,7 +159,7 @@ typedef enum
#define FORCE_LEVEL_4 (FORCE_LEVEL_3+1)
#define FORCE_LEVEL_5 (FORCE_LEVEL_4+1)
typedef enum
enum
{
FJ_FORWARD,
FJ_BACKWARD,

View file

@ -146,7 +146,7 @@ void UI_AdjustSaveGameListBox( int currentLine );
void Menus_CloseByName(const char *p);
// Movedata Sounds
typedef enum
enum
{
MDS_NONE = 0,
MDS_FORCE_JUMP,
@ -155,7 +155,7 @@ typedef enum
MDS_MOVE_SOUNDS_MAX
};
typedef enum
enum
{
MD_ACROBATICS = 0,
MD_SINGLE_FAST,
@ -1511,7 +1511,7 @@ static float UI_GetValue(int ownerDraw)
}
//Force Warnings
typedef enum
enum
{
FW_VERY_LIGHT = 0,
FW_SEMI_LIGHT,