Browse Source

Added requested fix

Eiyeron 12 years ago
parent
commit
cec126b5fd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      struct.h

+ 2 - 2
struct.h

@@ -11,7 +11,7 @@
 
 //macros
 #define abs(x) x>0 ? x : -x
-typedef enum Pattern_Enum Pattern_Enum;
+typedef enum{PATTERN1, PATTERN_WHATEVER}Pattern;
 typedef struct Camera Camera;
 typedef struct Wall Wall;
 typedef struct Line Line;
@@ -19,7 +19,7 @@ typedef struct Level Level;
 
 struct Level{
 	//for the level generation
-	Pattern_Enum available_patterns[][];
+	Pattern available_patterns[][];
 	int nb_patterns;
 
 	//for the camera rotation