Project

General

Profile

Revision 369

remote + bullets from remote

View differences:

proj/project/src/proj.c
336 336
                                   gunner_get_y(shooter1)-ent_get_YLength()/2.0);
337 337

  
338 338
                    gunner_set_angle(shooter2, remote_info->remote_angle);
339
                    build_host_structure(host_info, shooter1, shooter2);
339
                    //build_host_structure(host_info, shooter1, shooter2);
340 340

  
341 341
                    //hltp_send_host_info(host_info);
342 342

  
......
510 510
                        update_mouse(&pp);
511 511
                        if (last_lb ^ keys->lb_pressed && keys->lb_pressed) {
512 512
                            bullet_info->new_bullet = true;
513
                            //hltp_send_bullet_info(bullet_info);
513
                            hltp_send_bullet_info(bullet_info);
514 514
                        }
515 515
                        last_lb = keys->lb_pressed;
516 516
                        mouse_set_counter_mouse_ih(0);
proj/Makefile
12 12
SRCS= list.c queue.c graph.c kbc.c keyboard.c mouse.c utils.c timer.c interrupts_func.c fast_math.c xpm_utils.c rtc.c uart.c makecode_map.c menu.c proj_func.c rectangle.c font.c ent.c proj.c hltp.c zombies.c campaign.c singleplayer.c chat.c scoreboards.c
13 13
IPATHS=-I./project/include -I./libs -I./libs/graph/include -I./libs/kbc/include -I./libs/rtc/include -I./libs/timer/include -I./libs/uart/include -I./libs/classes/include -I./libs/utils/include -I./maps -I./media/xpm
14 14

  
15
CPPFLAGS += -pedantic ${IPATHS} -D LCOM_MACRO #-D __LCOM_OPTIMIZED__ -Wall -Wextra -Wshadow -Wunreachable-code #-Weverything -Wno-padded -Wno-unused-macros
15
CPPFLAGS += -pedantic ${IPATHS} -D LCOM_MACRO -D __LCOM_OPTIMIZED__ -Wall -Wextra -Wshadow -Wunreachable-code #-Weverything -Wno-padded -Wno-unused-macros
16 16

  
17 17
DPADD += ${LIBLCF}
18 18
LDADD += -llcf

Also available in: Unified diff