Kp
276d70d4c9
Move find_connect_side validation into find_seg_side
2014-08-12 03:08:39 +00:00
Kp
3bc5d4ad23
Use std::accumulate for compute_seg_dynamic_light
2014-08-12 03:06:53 +00:00
Kp
f492b736dd
Use range_for to iterate segment codes
2014-08-12 03:01:43 +00:00
Kp
bfda4c554e
Inline med_get_vertex_list
2014-08-12 03:01:14 +00:00
Kp
31fe0dc9ce
Reduce code duplication in !OGL g3_draw_bitmap
2014-08-12 03:01:05 +00:00
Kp
bc721dbc8f
Remove unused g3_draw_rod_tmap return value
2014-08-12 02:58:46 +00:00
Kp
2ae57a8529
Use array<> for find_joining_side_norms edge_verts
2014-08-12 02:58:08 +00:00
Kp
b5693e65e0
Remove serial detail class_type_indirection
2014-08-12 02:56:59 +00:00
Kp
7888c13b6b
Write point_seg carefully
2014-08-12 02:55:23 +00:00
Kp
ecd0ff1557
Check whether C++ linker works
2014-08-12 02:31:31 +00:00
Kp
cec32ce3f5
Move render state arrays onto stack
2014-08-12 02:28:03 +00:00
Kp
0ae2345cf4
Remove unnecessary throw
...
On error, partial_range will throw.
2014-08-09 21:22:25 +00:00
Kp
903258f54b
Make valptridx constructors ready for constexpr
...
Wait on constexpr marking since array in <gcc-4.8 is not constexpr.
2014-08-09 17:38:45 +00:00
Kp
d0db98fe01
Use array<> for netgame_info members
2014-08-09 16:43:55 +00:00
Kp
d13e0c9840
Add compile time check to partial_range
2014-08-09 04:14:59 +00:00
Kp
125218aa5a
Fix partial_range exception sending game information
...
Netgame.players is [MAX_PLAYERS], not [MAX_PLAYERS+4].
2014-08-09 04:14:54 +00:00
Kp
104333391f
Print more information from partial_range_error_t
2014-08-09 03:59:49 +00:00
Kp
c2fb6c728f
Fix D1 homing weapon regression
...
01f1553
intended to make D1 not treat proximity mines as chaff.
Instead, it removed the test for whether the object was an acceptable
type. As a result, all homing weapons lock onto the nearest
non-excluded object of any type, which is the homing weapon itself. It
then flies in a straight line trying to catch itself.
2014-08-08 03:06:31 +00:00
Kp
79d2c968a3
Use array<> for Players
2014-08-08 03:02:59 +00:00
Kp
597a55558f
Use array<> for Segment_points
2014-08-08 03:02:43 +00:00
Kp
c8af6bba86
Throw on invalid homing_flag
2014-08-08 03:02:32 +00:00
Kp
9308162c80
Make alloc_vert/free_vert static
2014-08-08 03:02:24 +00:00
Kp
4029de77b0
Fix array underrun in redraw_messagestream
2014-08-08 02:54:50 +00:00
Kp
62c656c00c
Pass quadint to quad_sqrt
2014-08-08 02:53:57 +00:00
Kp
279d39a2d7
Inline fixdivquadlong
2014-08-08 02:53:26 +00:00
Kp
cb352968b8
Fix !OGL build in gr_internal_color_string
2014-08-08 02:52:56 +00:00
Kp
52527e48ee
Optimize out unused g3_set_special_render arguments
2014-08-08 02:52:35 +00:00
Kp
4ec010ec75
Pack render side edges
2014-08-08 02:51:31 +00:00
Kp
1c064b8efb
Remove unused find_hitpoint_uv l parameter
2014-08-08 02:51:02 +00:00
Kp
b276590998
Change gr_fade_table to array<array<>>
2014-08-08 02:50:27 +00:00
Kp
f47aa29cd9
Use color_t for color values
2014-08-08 02:07:47 +00:00
Kp
fc979001cb
Remove assembler-only variables
2014-08-08 02:07:07 +00:00
Kp
50f74d8216
Use remove_if to clean up junk point_seg
2014-08-08 02:06:38 +00:00
Kp
019c8dc342
Use unique_ptr for automap->edges
2014-08-07 03:17:37 +00:00
Kp
8d727b31b1
Use unique_ptr for automap->drawingListBright
2014-08-07 03:12:02 +00:00
Kp
1560dd43e1
Use unique_ptr for font->ft_bitmaps
2014-08-07 03:09:28 +00:00
Kp
fd6a7c218e
Use unique_ptr for font->ft_chars
2014-08-07 03:05:48 +00:00
Kp
ee4773d3ba
Use unique_ptr for menu
2014-08-07 02:58:00 +00:00
Kp
37f5aa7960
Use unique_ptr for MenuX
2014-08-07 02:57:39 +00:00
Kp
4acbb40ad7
Use enum for window event result
2014-08-07 02:47:48 +00:00
Kp
553f17a3be
Initialize MarkerObject properly
2014-08-05 03:10:04 +00:00
Kp
c4eabfd388
Use wider alignment for sconf options
...
SConf option names are long and look bad with the regular alignment.
2014-08-05 02:43:29 +00:00
Kp
5b01c33d94
Allow scons prefix list to have empty inner element
...
All targets have the unqualified entry in their search list. Allow an
explicitly specified unqualified entry to suppress the implicit entry.
For example:
scons dxx=e,,f
Previously, this was equal to scons dxx=e,f and would set CXXFLAGS to
the concatenation of:
e_CXXFLAGS
f_CXXFLAGS
CXXFLAGS
Now, it remains dxx=e,,f and will concatenate:
e_CXXFLAGS
CXXFLAGS
f_CXXFLAGS
2014-08-05 02:41:42 +00:00
Kp
5c5eb1f1f7
Let WINDOW_SEND_EVENT return a value
2014-08-05 02:34:06 +00:00
Kp
ee32a200ea
Change window_create<void> to be non-template
2014-08-05 02:33:40 +00:00
Kp
16d45909b4
Use unique_ptr for OGL texbuf
2014-08-05 02:33:10 +00:00
Kp
11c22409ad
Use unique_ptr for circle_array_init_2
2014-08-05 02:32:55 +00:00
Kp
be86e384b8
Use unique_ptr for circle_array_init
2014-08-05 02:32:35 +00:00
Kp
ade7dbc238
Use unique_ptr for pig/pog
2014-08-05 02:32:00 +00:00
Kp
efb8c495f6
Use unique_ptr for hmp_track data
2014-08-05 02:31:03 +00:00