2017-04-03 16:04:57 +00:00
|
|
|
#ifndef _PLANE_H_
|
|
|
|
#define _PLANE_H_
|
|
|
|
|
2017-04-08 17:25:44 +00:00
|
|
|
|
|
|
|
#include <time.h>
|
|
|
|
#include <math.h>
|
|
|
|
|
2017-04-03 16:04:57 +00:00
|
|
|
#include "lib/header.h"
|
2017-04-08 17:25:44 +00:00
|
|
|
#include "lib/network/udp/client.h"
|
|
|
|
#include "lib/network/tcp/client.h"
|
|
|
|
|
2017-04-03 16:04:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define ALTMAX 20000
|
|
|
|
#define ALTMIN 0
|
|
|
|
|
|
|
|
#define VITMAX 1000
|
|
|
|
#define VITMIN 200
|
|
|
|
|
|
|
|
#define PAUSE 2
|
|
|
|
|
|
|
|
struct coord {
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int z;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct control {
|
|
|
|
int cap;
|
|
|
|
int speed;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|