1 2 3 4 5 6 7 8 9 10 11 12
#pragma once #define AIR_RESISTANCE 0.99 #define GRAVITY 0.2 typedef struct { double scale_x; double scale_y; double rot_speed; double angle; int dirx; } Player;