GameEnts: Convert enumerator to defines.
This commit is contained in:
@@ -3,13 +3,10 @@
|
|||||||
#ifndef _GAMEENTS_H_
|
#ifndef _GAMEENTS_H_
|
||||||
#define _GAMEENTS_H_
|
#define _GAMEENTS_H_
|
||||||
|
|
||||||
enum {
|
|
||||||
Ent_Player,
|
|
||||||
Ent_Platform,
|
|
||||||
Ent_Block,
|
|
||||||
|
|
||||||
Ent_Last
|
#define Ent_Player 1
|
||||||
} EntityType;
|
#define Ent_Platform 2
|
||||||
|
#define Ent_Block 3
|
||||||
|
|
||||||
extern Entity ent_Player;
|
extern Entity ent_Player;
|
||||||
extern Entity ent_Platform;
|
extern Entity ent_Platform;
|
||||||
|
|||||||
Reference in New Issue
Block a user