Project

General

Profile

Revision 239

commented out some parts under development

View differences:

proj_func.c
50 50
    ver_mov = key_presses.s_pressed - key_presses.w_pressed;
51 51
    hor_mov = key_presses.d_pressed - key_presses.a_pressed;
52 52
}
53

  
53
/*
54 54
void update_movement(const map_t *map, list_t *shooter_list){
55 55
    list_node_t *it1 = list_begin(shooter_list);
56 56
    while(it1 != list_end(shooter_list)){
......
67 67
        }
68 68
    }
69 69
}
70

  
70
*/
71 71
void (shoot_bullet)(const gunner_t *shooter, list_t *bullet_list, const basic_sprite_t *bsp_bullet) {
72 72
    double angle = gunner_get_angle(shooter);
73 73
    double vx = -BULLET_SPEED * fm_sin(angle);

Also available in: Unified diff