forgot to add BARRIERS to output.txt
This commit is contained in:
parent
a4ee6d55b5
commit
218ed97f16
|
@ -1 +1 @@
|
|||
15 60
|
||||
353 94
|
BIN
bots/follow.cmi
BIN
bots/follow.cmi
Binary file not shown.
BIN
bots/follow.cmx
BIN
bots/follow.cmx
Binary file not shown.
|
@ -75,6 +75,7 @@ let metai = ref 0 in
|
|||
let roomSize = read_int meta metai in (* integer (meters) *)
|
||||
let maximumSpeed = read_int meta metai in (* integer (meters/seconds) *)
|
||||
let playerRadius = read_int meta metai in (* integer *)
|
||||
let areBarriers = read_int meta metai in (* 0/1 *)
|
||||
let friction = read_float meta metai in (* float (between 0.0 and 1.0) *)
|
||||
let restitutionFactor = read_float meta metai in (* float (between 0.0 and 1.0) *)
|
||||
let trackDistance = read_float meta metai in (*
|
||||
|
|
BIN
bots/follow.o
BIN
bots/follow.o
Binary file not shown.
BIN
bots/follow1
BIN
bots/follow1
Binary file not shown.
BIN
bots/follow2
BIN
bots/follow2
Binary file not shown.
BIN
bots/follow3
BIN
bots/follow3
Binary file not shown.
BIN
bots/follow4
BIN
bots/follow4
Binary file not shown.
1020
lastActions.txt
1020
lastActions.txt
File diff suppressed because it is too large
Load Diff
22
output.txt
22
output.txt
|
@ -1,15 +1,17 @@
|
|||
4
|
||||
0 (1 0) (15.98 83.38)
|
||||
1 (6 0) (12.66 31.55)
|
||||
2 (1 0) (22.92 36.40)
|
||||
3 (3 0) (80.42 49.95)
|
||||
0 (2 0) (44.74 79.84)
|
||||
1 (4 2) (29.89 68.20)
|
||||
2 (4 2) (44.91 24.65)
|
||||
3 (2 0) (37.59 54.88)
|
||||
3
|
||||
|
||||
3 10
|
||||
.S11111114
|
||||
E........0
|
||||
2111111115
|
||||
5 5
|
||||
..S14
|
||||
....0
|
||||
...35
|
||||
.E15.
|
||||
.....
|
||||
|
||||
100 220 5 0.90 0.80 0.20 0.00 0.20
|
||||
100 220 5 0 0.80 0.20 0.00 0.20 0.00
|
||||
|
||||
Room Size, Maximum speed, Player Radius, Friction, Restitution factor, Track Distance to Edge, Magnetic Field, Slow zone Width
|
||||
Room Size, Maximum speed, Player Radius, Barriers (0/1) Friction, Restitution factor, Track Distance to Edge, Magnetic Field, Slow zone Width
|
|
@ -71,8 +71,8 @@ void write_output(char* stream, level* lvl, int nPl) {
|
|||
fprintf(ptr, "\n");
|
||||
}
|
||||
fprintf(ptr, "\n");
|
||||
fprintf(ptr, "%d %d %d %.2lf %.2lf %.2lf %.2lf %.2lf\n", ROOM_SIZE, MAX_SPEED, PLAYER_R, FRICTION, RESTITUTION_WALL, DIST_EDGE, B, STR2_W);
|
||||
fprintf(ptr, "\nRoom Size, Maximum speed, Player Radius, Friction, Restitution factor, Track Distance to Edge, Magnetic Field, Slow zone Width");
|
||||
fprintf(ptr, "%d %d %d %d %.2lf %.2lf %.2lf %.2lf %.2lf\n", ROOM_SIZE, MAX_SPEED, PLAYER_R, BARRIERS, RESTITUTION_WALL, DIST_EDGE, B, STR2_W);
|
||||
fprintf(ptr, "\nRoom Size, Maximum speed, Player Radius, Barriers (0/1) Friction, Restitution factor, Track Distance to Edge, Magnetic Field, Slow zone Width");
|
||||
fclose(ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue