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
Kp
81cb86f2e3
Use unique_ptr for hmp_file
2014-08-05 02:29:43 +00:00
Kp
1adaad4147
Remove broken assembler support
...
Assembler failed to build in 0.58.1. Assembler failed to run correctly
after 59344482
/ fc92651eb
changed y_pointers from int[] to int*.
2014-08-04 03:09:33 +00:00
Kp
e30af52b91
Improve collision detection switch
2014-08-04 03:07:06 +00:00
Kp
ea8fbe5d7b
Use object helper to iterate in render_segment
2014-08-03 03:17:34 +00:00
Kp
2246761818
Use object helper to iterate in paging_touch_segment
2014-08-03 03:17:34 +00:00
Kp
4702727a2f
Use object helper to iterate in powerup_grab_cheat_all
2014-08-03 03:17:34 +00:00
Kp
e9c5a64c7e
Use object helper to iterate in fvi
2014-08-03 03:17:34 +00:00
Kp
50fa311e71
Use object helper to iterate in check_object_object_intersection
2014-08-03 03:17:34 +00:00
Kp
acdbd20263
Use object helper to iterate in segment cleanup
2014-08-03 03:17:34 +00:00
Kp
d3927e4b9b
Use object helper to iterate in draw_seg_objects
2014-08-03 03:08:15 +00:00
Kp
b39b877bbb
Use object helper to iterate over rotate group
2014-08-03 03:08:15 +00:00
Kp
d9f6e944c9
Use template aliases when available
2014-08-03 03:08:15 +00:00
Kp
d536832239
Fix D1 exception when killed by materialization center
...
objptridx_t rejects NULL pointers
2014-08-02 23:17:15 +00:00
Kp
e04821e08f
Disable moving Viewer to slide object
...
Moving the Viewer changes the membership of segments, which would lead
to dangling and invalid indexes.
2014-08-02 00:46:56 +00:00
Kp
d667772b21
Move valptridx operator- into DEFINE_VALPTRIDX_SUBTYPE
2014-08-02 00:46:56 +00:00
Kp
b29f2ef7bd
Replace hashtable with std::map
2014-08-02 00:46:56 +00:00
Kp
9c6cc3b3c9
Allow constructing valptridx_t(index_type) from ~0
2014-08-01 03:34:08 +00:00
Kp
2ec453f636
Fix tests with -Wunused-parameter
2014-08-01 03:34:08 +00:00
Kp
b732be702a
Fix mismatched new/free
2014-08-01 03:34:08 +00:00
Kp
af6e4c2218
Optimistically reorder tests
...
Run tests last-to-first to detect success immediately. Run the lesser
tests next, so that build logs show what the compiler can do.
2014-08-01 03:34:08 +00:00
Kp
7133d75698
Propagate loop variable to silence gcc 4.6 warning
...
Suppress warning about changed variable scope under new ISO C++ rules.
2014-08-01 03:34:08 +00:00
Kp
f1713f2fec
Rewrite DXX_PHYSFS_CHECK_* to avoid if
2014-08-01 03:34:08 +00:00
Kp
17dd525029
Improve __builtin_constant_p test
...
Discourage compiler from inlining due to -finline-functions-called-once.
Otherwise, -O2 -fno-inline will inline the sconf test, but not inline
real usage.
2014-08-01 03:34:08 +00:00
Kp
db2dc1ed38
Reduce newdemo_read_frame_information segnum scope
...
At broad scope, gcc complains about potential uninitialized usage.
2014-08-01 03:34:08 +00:00
Kp
0fc376d92a
Simplify DXX_VALPTRIDX_STATIC_CHECK
2014-08-01 03:34:08 +00:00
Kp
ecc49d0a11
Prefer compound statements to lambdas
...
Compound statements produce better error messages.
2014-08-01 03:34:08 +00:00
Kp
2550f635a9
Eliminate temporary button in EVENT_MOUSE_BUTTON_UP
2014-07-30 03:15:06 +00:00