Project

General

Profile

Revision 171

crosshair and mouse (not working yet)

View differences:

proj_func.h
15 15
 */
16 16
void update_movement(void);
17 17

  
18
void update_mouse_position(struct packet *p);
19

  
20
int32_t get_mouse_X(void);
21

  
22
int32_t get_mouse_Y(void);
23

  
18 24
/**
19 25
 * @brief
20 26
 * @param
......
22 28
 * @param
23 29
 * @return Angle
24 30
 */
25
double get_mouse_angle(sprite_t *p, int32_t mouse_x, int32_t mouse_y);
31
double get_mouse_angle(sprite_t *p);
26 32

  
27 33
/**
28 34
 * @brief Get horizontal movement direction.

Also available in: Unified diff