Revision 341
more changes in ent.h, ent.c
proj_func.h | ||
---|---|---|
28 | 28 |
*/ |
29 | 29 |
void update_movement(map_t *map, gunner_t *p, keys_t *keys, list_t *shooter_list); |
30 | 30 |
|
31 |
/** |
|
32 |
* @brief Get random spawn (actually, position) for new gunner. |
|
33 |
* |
|
34 |
* The new position cannot collide with the map, nor with any of the gunners |
|
35 |
* already in the list. |
|
36 |
* @param map Pointer to map |
|
37 |
* @param p Pointer to new gunner |
|
38 |
* @param l List of gunners that already exist |
|
39 |
*/ |
|
40 |
void (get_random_spawn)(const map_t *map, gunner_t *p, list_t *l); |
|
41 |
|
|
31 | 42 |
void update_mouse(struct packet *p); |
32 | 43 |
|
33 | 44 |
keys_t* (get_key_presses)(void); |
Also available in: Unified diff