22 lines
410 B
C
22 lines
410 B
C
#ifndef BACK_MOVE_H
|
|
#define BACK_MOVE_H
|
|
|
|
bool checkCollision();
|
|
|
|
bool checkCollision2(int cx, int cy, int x, int y);
|
|
|
|
void normalize(int* ch_coord, int* coord, double* ε);
|
|
|
|
bool checkCollisionSquare(double square_size);
|
|
|
|
void increment_x(double dx);
|
|
|
|
void increment_y(double dy);
|
|
|
|
bool moveRequest(double dx, double dy);
|
|
|
|
void moveControl(bool* halt);
|
|
|
|
void moveFunctionMaster(SDL_Renderer* renderer);
|
|
|
|
#endif |