Commit graph

5131 commits

Author SHA1 Message Date
Kp bd1c6d8c5d Reduce header includes of physfsx.h 2014-07-22 23:48:23 +00:00
Kp a6dcfa2e30 Simplify audio CD discovery 2014-07-22 23:48:23 +00:00
Kp e20301c7e3 Refactor kick_player out of multi_send_message_end 2014-07-22 23:48:23 +00:00
Kp b2f8088a75 Use find_if to traverse key_properties 2014-07-22 23:48:23 +00:00
Kp 99555d0e73 Extend sconf force support
Allow forcing a test to succeed without changing flags.
2014-07-19 22:25:27 +00:00
Kp b4a778ed9d Use DXX_ALWAYS_ERROR_FUNCTION for printf check
Enable printf check without relying on embedded compound statements.
2014-07-19 21:15:01 +00:00
Kp eec1cfdc34 Add <cstdint> to gr.h for old compilers 2014-07-19 18:01:15 +00:00
Kp 602da5a93c Enable DXX_ALWAYS_ERROR_FUNCTION wherever lambdas are allowed 2014-07-19 18:01:15 +00:00
Kp 66890d16a7 Centralize quoting macro values 2014-07-19 18:01:15 +00:00
Kp 3a35179e50 List initialize avg_color_rgb 2014-07-19 03:09:58 +00:00
Kp a4f7f607db List initialize input to vm_vec_zero 2014-07-19 03:09:26 +00:00
Kp 4c58f80f6b List initialize Dynamic_light in set_dynamic_light 2014-07-19 03:09:26 +00:00
Kp 6370292202 Pass array<> to create_*_vertex_lists 2014-07-17 03:29:57 +00:00
Kp 1864b023d2 List initialize Seg_orientation 2014-07-17 03:29:57 +00:00
Kp d3d457cf19 Pass array<> to gr_list_modes to preserve size information 2014-07-17 03:29:57 +00:00
Kp d135e93b94 Use std::min_element to find least vertex 2014-07-17 03:29:57 +00:00
Kp c69ff037d6 Remove useless self assignment 2014-07-16 03:25:28 +00:00
Kp 7552ceb259 Remove unused arguments 2014-07-16 03:24:40 +00:00
Kp 37f20ebfa7 Use specific num_frames test in convert_vclip 2014-07-16 03:23:49 +00:00
Kp bb66bbbff7 Remove always-true tests 2014-07-16 03:23:14 +00:00
Kp ec7eab42d6 Change print_trigger_message to avoid -Wstring-plus-int 2014-07-16 03:22:43 +00:00
Kp 92f7ace9ae Remove useless self assignment 2014-07-16 03:22:33 +00:00
Kp 50e4c92390 Remove write-only variable count in compute_average_rgb 2014-07-16 03:21:04 +00:00
Kp cf7bdf3261 Remove long-unused verify 2014-07-16 03:21:04 +00:00
Kp dbb7be37bb Set safe defaults for eclip in D1 2014-07-16 03:21:04 +00:00
Kp 07036e7962 Use consistent static on process_buffer(message) 2014-07-16 03:21:04 +00:00
Kp 6d30980b88 Avoid pointer subtraction searching group list 2014-07-16 03:21:04 +00:00
Kp 3946be044c Replace newmenu template specializations with free functions 2014-07-16 03:21:04 +00:00
Kp cf75bb6699 Define away printf %s check if __builtin_constant_p not available 2014-07-16 03:14:57 +00:00
Kp 5f9b981380 Move cstring_tie.p init to member initialization 2014-07-16 03:14:51 +00:00
Kp 9f685a0d0a List initialize unicode_frame_buffer 2014-07-16 03:14:04 +00:00
Kp dc87c78fd2 Mark grs_bitmap as prohibit_void_ptr 2014-07-16 03:14:04 +00:00
Kp b97ff9d496 Simplify cstring_tie 2014-07-14 02:27:11 +00:00
Kp 166253f4c2 Compact grs_canvas 2014-07-14 02:17:40 +00:00
Kp 22e630f0ce Fix apply_light_to_segment propagation for unusual connections
30 entries is insufficient.
2014-07-14 02:17:40 +00:00
Kp 41e016954a Remove unused add_flicker 2014-07-14 02:17:40 +00:00
Kp 5a90ab4197 Reduce reindexing of SoundObjects 2014-07-14 02:17:40 +00:00
Kp cb1337f8ae Switch digi_unxlat_sound to throw on error 2014-07-14 02:17:40 +00:00
Kp 2a8e0a78c6 Use partial_range with RBAudio 2014-07-14 02:17:40 +00:00
Kp afeaa09e9a Replace vm_copy_transpose_matrix with vm_transposed_matrix
Also, delete obsolete broken inlining support.
2014-07-14 02:17:40 +00:00
Kp 4c7249a016 Return vms_matrix from vm_matrix_x_matrix 2014-07-14 02:17:40 +00:00
Kp 08d72ae525 Mark find_connected_distance vms_vector const 2014-07-13 22:57:45 +00:00
Kp 03574d0f5e Change vm_vec_* macros to inline functions 2014-07-13 03:43:32 +00:00
Kp e765fd74fc Move Highest_segment_index into Segments 2014-07-13 03:43:32 +00:00
Kp b2a7195643 Remove unused multi_dump_robots 2014-07-13 03:43:32 +00:00
Kp 082bb43ede Fold valptridx_t features into template 2014-07-13 03:43:32 +00:00
Kp dd70a3f03d Use array<> for PowerupsInMine, MaxPowerupsAllowed 2014-07-12 19:23:37 +00:00
Kp 6091ac10e6 Avoid integer underflow in powerup counting 2014-07-12 19:23:12 +00:00
Kp 1e84c245e1 Use range_for for multi_strip_robots 2014-07-12 19:23:10 +00:00
Kp 722164b322 Fix free_object_slots undercounting
Modifying num_to_free while using it results in freeing too few
elements.  Capture num_to_free once before modifying it.
2014-07-12 17:31:55 +00:00