Revision 398
multiplayer
proj/src/project/src/proj.c | ||
---|---|---|
334 | 334 |
gunner_get_y(shooter1)-ent_get_YLength()/2.0); |
335 | 335 |
|
336 | 336 |
gunner_set_angle(shooter2, remote_info->remote_angle); |
337 |
if (timer_get_no_interrupts() % 6 == 0) { |
|
337 |
/*if (timer_get_no_interrupts() % 6 == 0) {
|
|
338 | 338 |
build_host_structure(host_info, shooter1, shooter2); |
339 | 339 |
|
340 | 340 |
hltp_send_host_info(host_info); |
341 |
} |
|
341 |
}*/
|
|
342 | 342 |
|
343 | 343 |
graph_clear_screen(); |
344 | 344 |
map_draw (map1); |
... | ... | |
513 | 513 |
update_mouse(&pp); |
514 | 514 |
if (last_lb ^ keys->lb_pressed && keys->lb_pressed) { |
515 | 515 |
bullet_info->new_bullet = true; |
516 |
//hltp_send_bullet_info(bullet_info);
|
|
516 |
hltp_send_bullet_info(bullet_info); |
|
517 | 517 |
} |
518 | 518 |
last_lb = keys->lb_pressed; |
519 | 519 |
mouse_set_counter_mouse_ih(0); |
proj/src/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