Procházet zdrojové kódy

Added requested fix

Eiyeron před 12 roky
rodič
revize
cec126b5fd
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      struct.h

+ 2 - 2
struct.h

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