12 lines
209 B
C
12 lines
209 B
C
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <graph.h>
|
||
|
#include <time.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
void Terrain(){
|
||
|
if (pos_x[0] >1140 || pos_x[0]<=20)
|
||
|
go_on=0;
|
||
|
if (pos_y[0]<40 || pos_y[0] >=680)
|
||
|
go_on=0;
|
||
|
}
|