2023-03-17 10:51:17 +01:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-18 23:40:10 +01:00
|
|
|
#define AIR_RESISTANCE 0.99
|
|
|
|
#define GRAVITY 0.2
|
|
|
|
|
2023-03-17 10:51:17 +01:00
|
|
|
typedef struct {
|
2023-03-17 17:00:47 +01:00
|
|
|
double scale_x;
|
|
|
|
double scale_y;
|
2023-03-19 07:16:10 +01:00
|
|
|
double rot_speed;
|
|
|
|
double angle;
|
2023-03-17 17:00:47 +01:00
|
|
|
int dirx;
|
2023-03-17 10:51:17 +01:00
|
|
|
} Player;
|