Project

General

Profile

Revision 192

added zoom/scale

View differences:

proj_func.h
1 1
#ifndef PROJ_FUNC_H_INCLUDED
2 2
#define PROJ_FUNC_H_INCLUDED
3 3

  
4
#include "sprite.h"
4
#include "ent.h"
5 5

  
6 6
/**
7 7
 * @brief Cleans up all memory, unsubscribes interrupts.
......
15 15
/**
16 16
 * @brief Updates movement variables.
17 17
 */
18
void update_movement(sprite_t *p);
18
void update_movement(ent_t *p);
19 19

  
20 20
void update_mouse_position(struct packet *p);
21 21

  
......
30 30
 * @param
31 31
 * @return Angle
32 32
 */
33
double get_mouse_angle(sprite_t *p);
33
double get_mouse_angle(ent_t *p);
34 34

  
35 35
/**
36 36
 * @brief Get horizontal movement direction.

Also available in: Unified diff