Adrien Boucaud преди 12 години
родител
ревизия
4b711c851e
променени са 2 файла, в които са добавени 0 реда и са изтрити 11 реда
  1. 0 3
      hexagon.c
  2. 0 8
      struct.h

+ 0 - 3
hexagon.c

@@ -11,9 +11,6 @@
 //duration of a frame
 #define FRAME_TIME 1/FPS
 
-//see struct.h
-Line lines[6] = {{0, NULL, 0},{1, NULL, 60},{2, NULL, 120},{3, NULL, 180},{4, NULL, 240},{5, NULL, 300}};
-
 //oriented angle between the player and the horizontal axis
 int player_angle=0;
 

+ 0 - 8
struct.h

@@ -38,12 +38,4 @@ struct Wall{
 
     Wall *nxt;
 };
-
-//a line. There are six lines (by default) in the game, numeroted from 0 to 5
-//each list has a list of obstacles and an angle
-struct Line{
-    int id;
-    Wall *list;
-    int angle;
-};
 #endif