identation
This commit is contained in:
parent
c090445ae5
commit
4c4fe7a999
1 changed files with 9 additions and 9 deletions
|
@ -49,7 +49,7 @@ pattern_le_decafeine(struct s_game *g) {
|
|||
struct s_obstacle o;
|
||||
o = create_obstacle(SHAPE_THICK,
|
||||
(times + cleared_face)%g->polygon_type,
|
||||
1, max_dist + K_CLEARANCE + i*K_CLEARANCE/2);
|
||||
1, max_dist + K_CLEARANCE + i*K_CLEARANCE/2);
|
||||
add_obstacle(g, o);
|
||||
}
|
||||
cleared_face = (cleared_face+1)%g->polygon_type;
|
||||
|
@ -117,29 +117,29 @@ pattern_zigzagone(struct s_game *g) {
|
|||
struct s_obstacle o;
|
||||
|
||||
o = create_obstacle(SHAPE_THICK,
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE);
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE);
|
||||
add_obstacle(g, o);
|
||||
|
||||
o = create_obstacle(SHAPE_THICK,
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE + 2*(K_CLEARANCE/2 + SHAPE_THICK));
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE + 2*(K_CLEARANCE/2 + SHAPE_THICK));
|
||||
add_obstacle(g, o);
|
||||
|
||||
face = (cleared_face - perim);
|
||||
CLEVER_MODULO(face, g->polygon_type);
|
||||
|
||||
o = create_obstacle(SHAPE_THICK,
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE + 1*(K_CLEARANCE/2 + SHAPE_THICK));
|
||||
face,
|
||||
1, max_dist + K_CLEARANCE + 1*(K_CLEARANCE/2 + SHAPE_THICK));
|
||||
add_obstacle(g, o);
|
||||
}
|
||||
|
||||
struct s_obstacle o;
|
||||
|
||||
o = create_obstacle((SHAPE_THICK+K_CLEARANCE/2)*2 + SHAPE_THICK,
|
||||
cleared_face,
|
||||
1, max_dist + K_CLEARANCE);
|
||||
cleared_face,
|
||||
1, max_dist + K_CLEARANCE);
|
||||
add_obstacle(g, o);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue