Kp
0b3bb6397e
Make DXX_VERSION_*i be uint16_t
2015-02-14 22:48:29 +00:00
Kp
8ddab68448
Remove unused MULTI_DROP_WEAPON field player
2015-02-14 22:48:29 +00:00
Kp
7bf56a7d69
Add compile-time check on multi message sizes
2015-02-14 22:48:28 +00:00
Kp
004e1371d6
Split valid/nonvalid cases of do_cockpit_window_view
2015-02-14 22:48:28 +00:00
Kp
8a64ea3b0e
Use array<> for Vertex_active
2015-02-14 22:48:28 +00:00
Kp
d1f45f85b2
Wrap submodel angles
2015-02-14 22:48:28 +00:00
Kp
03576a28c2
Pass PHYSFSX_* file extensions as counted array
2015-02-14 22:48:28 +00:00
Kp
661e676688
Combine object_intersects_wall_d outputs
...
Drop unused face.
2015-02-14 22:48:27 +00:00
Kp
dc8b88eed4
Convert various loops to range_for
2015-02-14 22:48:27 +00:00
Kp
2088dcc0f3
Add compile-time check for trailing con_printf newline
2015-02-13 03:27:28 +00:00
Kp
7f2974ea69
Make default ports uint16_t
...
Fixes a clang warning formatting %hu with the result of
(condition ? short : int).
2015-02-08 17:43:29 +00:00
Kp
91cc111295
Provide SndDisableSdlMixer=true if !USE_SDLMIXER
...
Accept -nosdlmixer as a no-op in !USE_SDLMIXER builds.
2015-02-08 17:43:29 +00:00
Bradley Bell
3c0b5b0b31
include gr.h
...
needed for various 2d functions when building the software renderer
2015-02-06 21:59:27 -08:00
Bradley Bell
5a9b2497b1
remove #ifdef USE_UDP
...
even when compiling without USE_UDP, almost everything in this file is needed
2015-02-05 17:15:52 -08:00
Kp
ddfa4aeecf
Inline away fixmulaccum in vm_vec_mag2
2015-02-05 03:03:51 +00:00
Kp
078d9513e0
Pass end-of-list for ignore_obj_list
2015-02-05 03:03:51 +00:00
Kp
536c9af35d
Pass sincos_2_matrix arg by &
2015-02-05 03:03:51 +00:00
Kp
673a711461
Remove vm_angles_2_matrix return value
2015-02-05 03:03:51 +00:00
Kp
8d3f047427
Make udt_to_message __attribute__((unused))
...
Clang warns for unused static inline functions defined in a source file,
including those defined in a macro in a header, when the macro is
expanded in the source file.
2015-02-05 03:03:50 +00:00
Kp
2daaacaa26
Move robot_points onto stack
2015-02-05 03:03:50 +00:00
Kp
1c58627aa3
Remove unused cos from fix_fastsincos
2015-02-05 03:03:50 +00:00
Kp
4f11c2516f
Add convenience methods fix_sin, fix_cos
2015-02-05 03:03:50 +00:00
Kp
8f5e6df9a5
Use array<> for Side_to_verts
2015-02-05 03:03:50 +00:00
Kp
600f1417ff
Reorder gr_ubox0 stores to eliminate multiplication
2015-02-05 03:03:49 +00:00
Kp
4c8f3a47b5
Convert frequently used casts to C++ casts
2015-02-05 03:03:49 +00:00
Kp
ae0a00a893
Return timer_query() from timer_update()
...
Most timer_update sites immediately query the timer, so return it to
save them the call.
2015-02-05 03:03:48 +00:00
Kp
0b18b4140e
Switch vm_vec_scale2 back to ALU
...
fixmuldiv uses higher precision now
2015-02-05 03:03:48 +00:00
Kp
a8784bc486
Fold fixmul calls to fixmul64
2015-02-05 03:03:48 +00:00
Kp
949b019d55
Delegate vm_vec_scale to vm_vec_copy_scale
2015-02-03 00:37:08 +00:00
Kp
d1f5695562
Remove unused return value of vm_vec_scale_add
2015-02-03 00:37:08 +00:00
Kp
2026ab7e3a
Remove unused return value of vm_extract_angles_vector
2015-02-03 00:37:08 +00:00
Kp
656c51fa99
Remove unused return value of vm_vec_rotate
2015-02-03 00:37:08 +00:00
Kp
cda693680a
Remove unused return value of g3_rotate_delta_vec
2015-02-03 00:37:08 +00:00
Kp
505a3dbae7
Remove unused return value of vm_vector_2_matrix
2015-02-03 00:37:07 +00:00
Kp
c6f95c5880
Remove unused return value of vm_vec_normal
2015-02-03 00:37:07 +00:00
Kp
52267b87b9
Remove unused return value of vm_vec_cross
2015-02-03 00:37:07 +00:00
Kp
aa75eb212c
Remove unused return value of vm_vec_perp
2015-02-03 00:37:07 +00:00
Kp
055f9593de
Remove unused return value of vm_vec_scale2
2015-02-03 00:37:07 +00:00
Kp
cca8fd65a1
Remove unused return value of vm_vec_scale_add2
2015-02-03 00:37:07 +00:00
Kp
e0bf0be779
Remove unused return value of vm_vec_add2
2015-02-03 00:37:07 +00:00
Kp
e14440b0e0
Remove unused return value of vm_vec_sub2
2015-02-03 00:37:07 +00:00
Kp
cd7e99981b
Remove unused return value of vm_vec_avg
2015-02-03 00:37:07 +00:00
Kp
cf4a36aeff
Optimize quad_sqrt masking
2015-02-01 23:07:18 +00:00
Kp
98afca20a9
Split and simplify partial_range check
...
Rely on T.size() instead of distance(T.begin(), T.end()) to get the
container size. Add a special case for C-style arrays with known size.
In some cases, gcc-4.9 fails to optimize distance(...) on an array<T, N>
of unknown base address, leading to a bogus compile failure. Switching
the object to have a known address prevents the problem, but requires
changing the calling code. Switch to using T.size(), which gcc seems to
get right.
2015-02-01 23:07:18 +00:00
Kp
07501d2b94
Simplify gr_bitmap_rle_compress setting BM_FLAG_RLE_BIG
2015-01-29 04:27:37 +00:00
Kp
1985f7f295
Pass rle_swap_0_255 arg by &
2015-01-29 04:27:37 +00:00
Kp
27aeb6764d
Pass rle_remap arg by &
2015-01-29 04:27:37 +00:00
Kp
912253ab00
Pass gr_bitmap_rle_compress arg by &
2015-01-29 04:27:37 +00:00
Kp
26544682e0
Cache COLOR
2015-01-29 04:27:37 +00:00
Kp
e0529b06a7
Improve fixmul* readability
2015-01-29 04:27:37 +00:00