Kp
c88fb72b81
Fix bogus -Wmaybe-uninitialized at -Og
...
At -Og, gcc fails to recognize that txtweapon is always initialized.
Add a default:continue; to suppress the warning and trust high
optimization levels to delete the default case.
2014-11-02 16:18:24 +00:00
Kp
fb4de8e2a8
Pass med_attach_segment_rotated vms_matrix by &
2014-11-02 03:45:01 +00:00
Kp
f5717c7db7
Pass med_rotate_segment vms_matrix by &
2014-11-02 03:44:31 +00:00
Kp
fed5d0e90f
Add vm_vec_perp that returns result
2014-11-02 03:44:27 +00:00
Kp
d76e259db5
Add vm_vec_cross that returns result
2014-11-02 03:44:12 +00:00
Kp
40eb2e6b01
Add vm_vec_scale_add that returns result
2014-11-02 03:43:57 +00:00
Kp
b32f5e5df3
Add vm_vec_copy_scale that returns result
2014-11-02 03:43:47 +00:00
Kp
6746879427
Use const & in process_super_mines_frame
2014-11-02 03:43:42 +00:00
Kp
805d7f2404
Pass get_face_light arg by &
2014-11-02 03:43:29 +00:00
Kp
8c29419ac8
Refactor polyobj_find_min_max
2014-11-02 03:43:17 +00:00
Kp
0e72ef36d5
Use & in physics
2014-11-02 03:43:04 +00:00
Kp
7856545c38
Pass find_min_max arg by &
2014-11-02 03:42:54 +00:00
Kp
742c67b935
Pass fvi_* args by &
2014-11-02 03:42:50 +00:00
Kp
ec51d24ff8
Switch do_exploding_wall_frame vms_vector* to &
2014-11-02 03:42:34 +00:00
Kp
9ae0e27f29
Pass angvec_add2_scale arg by &
2014-11-02 03:42:17 +00:00
Kp
dac7f5e13b
Pass get_angs_to_object arg by &
2014-11-02 03:42:02 +00:00
Kp
e747e26968
Pass do_boss_weapon_collision vector by &
2014-11-02 03:41:49 +00:00
Kp
4ab6662475
Pass calc_best_gun vector by &
2014-11-02 03:41:45 +00:00
Kp
c78b3e61af
Pass player_path_set_orient_and_vel vector by &
2014-11-02 03:41:39 +00:00
Kp
a0c8536075
Pass ai_path_set_orient_and_vel vector by &
2014-11-02 03:41:21 +00:00
Kp
73474521ea
Pass ai_fire_laser_at_player vector by &
2014-11-02 03:41:17 +00:00
Kp
164ea2dc10
Pass calc_gun_point vector by &
2014-11-02 03:41:01 +00:00
Kp
bc3a76c673
Hoist gauge loop iterations
2014-11-01 15:28:07 +00:00
Kp
ad527a7551
Use unique_ptr for MVEFILE
2014-11-01 15:04:30 +00:00
Kp
a42e7c3db1
Use unique_ptr for MVESTREAM
2014-11-01 15:00:48 +00:00
Kp
279233cf24
Use std::vector for MVE buffer
2014-11-01 15:00:04 +00:00
Kp
3f4de49b2b
Pass set_camera_pos arg by &
2014-11-01 14:57:37 +00:00
Kp
d408faf532
Pass nd_read_angvec arg by &
2014-11-01 14:57:25 +00:00
Kp
e047d6c2b3
Pass nd_read_vector arg by &
2014-11-01 14:57:05 +00:00
Kp
1aaa08bf33
Pass nd_write_vector arg by &
2014-11-01 14:56:53 +00:00
Kp
5952288b5d
Pass vm_extract_angles_vector_normalized vector by &
2014-11-01 14:55:54 +00:00
Kp
b9f6c3ae36
Pass apply_light arg by &
2014-11-01 03:18:32 +00:00
Kp
274ed12076
Pass add_side_as_quad arg as &
2014-11-01 03:18:06 +00:00
Kp
697bdcf078
Add vm_vec_normal that returns result
2014-11-01 03:17:48 +00:00
Kp
3665c02dda
Pass ai_turn_randomly vector by &
2014-11-01 03:14:28 +00:00
Kp
0202a4b054
Pass scale_vert vector by &
2014-11-01 03:14:14 +00:00
Kp
ff877834cb
Pass render_terrain vector by &
2014-11-01 03:12:57 +00:00
Kp
9aa0cf0b89
Pass read_model_guns vector as array &
2014-11-01 03:08:27 +00:00
Kp
7e3c7a413a
Pass obj_create_copy vector by const &
2014-11-01 03:06:04 +00:00
Kp
5f9b06cce9
Pass multi_send_robot_fire vector by const &
2014-10-30 03:37:22 +00:00
Kp
6024bf0369
Pass multi_send_controlcen_fire vector by &
2014-10-30 03:37:13 +00:00
Kp
8276bbc36a
Pass compute_object_light vector as const *
2014-10-30 03:36:22 +00:00
Kp
6d61198130
Pass compute_segment_center vector by &
2014-10-30 03:32:51 +00:00
Kp
9ccc289d64
Pass apply_light_to_segment vector by &
2014-10-30 03:32:44 +00:00
Kp
c0004cf4bd
Pass pick_random_point_in_seg vector by &
2014-10-30 03:32:38 +00:00
Kp
8a89eff0bb
Pass compute_center_point_on_side vector by &
2014-10-30 03:32:27 +00:00
Kp
ecb39298f1
Fix uninitialized vms_vector on player vs matcen collision
2014-10-30 03:29:29 +00:00
Kp
95c3dc81e6
Pass drop_marker_object arg by &
2014-10-30 03:19:32 +00:00
Kp
7b402cf613
Pass vnear vector by &
2014-10-30 03:19:11 +00:00
Kp
66a4b8b061
Add vm_vec_avg that returns result
2014-10-30 03:18:38 +00:00