Commit graph

5815 commits

Author SHA1 Message Date
Kp dc772c693d Remove unused gr_bitblt_double mode 2014-11-12 03:48:22 +00:00
Kp e756f37b0f Trap bitmap coordinate overflow 2014-11-12 03:43:44 +00:00
Kp fa136e7812 Drop redundant gr_set_bitmap_data in gr_init_bitmap_alloc 2014-11-12 03:22:20 +00:00
Kp 01c38167de Avoid sqrt in rendering distance 2014-11-12 03:04:23 +00:00
Kp fda3fc33f3 Skip unnecessary sqrt for omega cannon 2014-11-11 04:25:47 +00:00
Kp 18e4ca1b2c Fix SDL build after for propagation 2014-11-11 04:21:57 +00:00
Kp 1bb1c0ad33 Fix build break for objptr->objptridx conversions 2014-11-11 04:12:10 +00:00
Kp 47ea6955ee Add workaround for <gcc-4.9.1 reference binding bug
This could be gcc bug #61500.
2014-11-04 03:21:23 +00:00
Kp d5d958af96 Add make_random_vector that returns result 2014-11-04 01:33:45 +00:00
Kp e2741ce899 Add vm_extract_angles_matrix that returns result 2014-11-04 01:32:43 +00:00
Kp df6b4bd783 Add vm_vec_rotate that returns result 2014-11-04 01:31:22 +00:00
Kp cf4d216c41 Pass check_and_fix_matrix vms_matrix by & 2014-11-04 01:30:49 +00:00
Kp 3a24b20e15 Add vm_vector_2_matrix that returns result 2014-11-04 01:27:55 +00:00
Kp 9026e225db Add vm_vec_ang_2_matrix that returns result 2014-11-04 01:27:46 +00:00
Kp 141a7602d0 Add vm_angles_2_matrix that returns result 2014-11-04 01:24:08 +00:00
Kp fd9a9a5166 Pass rotate_segment_new arg by & 2014-11-04 01:23:01 +00:00
Kp c97f1136fa Pass AttachSegmentNewAng arg by & 2014-11-04 01:20:07 +00:00
Kp 553ab8d56c Pass med_move_group arg by & 2014-11-04 01:14:36 +00:00
Kp f321621d77 Pass med_copy_group arg by & 2014-11-04 01:13:52 +00:00
Kp 5d1df2484e Add med_create_group_rotation_matrix that returns result 2014-11-04 01:13:08 +00:00
Kp fddb15310b Pass med_create_group_rotation_matrix arg by & 2014-11-04 01:10:52 +00:00
Kp b935797f21 Use array<> for multi remote_to_local, local_to_remote 2014-11-04 01:06:47 +00:00
Kp a5a848f6cd Use exchange when restoring state 2014-11-04 01:06:17 +00:00
Kp 60837a7cfb Fix -fno-inline build by promoting INVALID_SOCKET to global scope 2014-11-02 17:05:10 +00:00
Kp e766381265 Fix __builtin_constant_p test at -Og
Remove explicit 'inline' on __builtin_constant_p test, since -Og will
inline simple functions on request but not inline speculatively or
inline complex templates.  When testing at -Og with 'static inline',
__builtin_constant_p is marked as functional, but physfsx checks are not
inlined and result in spurious failures.  When testing at -Og with
'static', __builtin_constant_p is marked as broken and the physfsx
checks are skipped.  When testing at -O2, __builtin_constant_p is marked
as working and the physfsx checks are included.
2014-11-02 16:46:11 +00:00
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