mirror of https://github.com/nmlgc/ReC98.git
8 lines
263 B
C
8 lines
263 B
C
|
#include "th04/main/player/player.h"
|
||
|
|
||
|
// Calculates the angle from ([x], [y]) to the current player position, and
|
||
|
// optionally adds [plus_angle] to the result.
|
||
|
unsigned char pascal near player_angle_from(
|
||
|
Subpixel x, Subpixel y, unsigned char plus_angle = 0
|
||
|
);
|