Revision 368
multiplayer work
proj.c | ||
---|---|---|
338 | 338 |
gunner_set_angle(shooter2, remote_info->remote_angle); |
339 | 339 |
build_host_structure(host_info, shooter1, shooter2); |
340 | 340 |
|
341 |
hltp_send_host_info(host_info); |
|
341 |
//hltp_send_host_info(host_info);
|
|
342 | 342 |
|
343 | 343 |
graph_clear_screen(); |
344 | 344 |
map_draw (map1); |
... | ... | |
452 | 452 |
|
453 | 453 |
double angle = get_mouse_angle(shooter1) - M_PI_2; |
454 | 454 |
|
455 |
build_remote_structure(remote_info, keys, angle); |
|
455 |
build_remote_structure(remote_info, get_key_presses(), angle); |
|
456 |
hltp_send_remote_info(remote_info); |
|
456 | 457 |
|
457 | 458 |
|
458 |
//hltp_send_remote_info(remote_info); |
|
459 | 459 |
gunner_set_pos(shooter1, (double)host_info->remote_x, (double)host_info->remote_y); |
460 | 460 |
gunner_set_angle(shooter1, (double)host_info->remote_angle); |
461 | 461 |
gunner_set_health(shooter1, (double)host_info->remote_health); |
Also available in: Unified diff