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
Kp
6abf37539e
Remove unused OGL variable pixels
2014-07-30 03:13:34 +00:00
Kp
de56714572
Optimize gr_ubox0
2014-07-30 03:12:52 +00:00
Kp
33bf7b6e12
Use constant scan labels
2014-07-30 03:06:41 +00:00
Kp
2c8eca5229
Use constant status
2014-07-30 03:06:41 +00:00
Kp
4fadbbc92c
Replace render globals with const
2014-07-30 03:06:41 +00:00
Kp
6d3850b6c1
Use object helper to iterate over render segments
2014-07-30 03:06:41 +00:00
Kp
4151a6989b
Use object helper to iterate over fuelcen segments
2014-07-30 03:06:41 +00:00
Kp
6a4ffd84a1
Use object helper to iterate over fireball segments
2014-07-30 03:06:41 +00:00
Kp
56d12300b9
Use object helper to iterate over dumpmine segments
2014-07-30 03:06:41 +00:00
Kp
dfce3e399c
Use object helper to iterate over ai segments
2014-07-30 03:06:41 +00:00
Kp
2aa5ddf169
Use object helper to iterate over editor segments
2014-07-30 03:06:41 +00:00
Kp
0f7e561775
Add helper to iterate over objects in segment
2014-07-30 03:06:40 +00:00
Kp
fcd4926d5d
Fix cosmetic bug in vulcan ammo display
...
If the player has a gauss cannon, vulcan ammo, and no vulcan cannon, and
has never selected the gauss cannon, gauges showed 'A'. 'A' should
appear only if neither weapon is available. Use 'G' in this situation.
2014-07-27 01:20:46 +00:00
Kp
eebd1f12d4
Fix NULL pointer exception in object_create_explosion_sub
2014-07-27 01:20:43 +00:00
Kp
13b233b7d7
Fix Windows build
2014-07-26 22:53:41 +00:00
Kp
b37c295c59
Pick default extra_version from git tag
2014-07-26 22:53:41 +00:00
Kp
9e619f73d5
Inline polymodel_read_n
2014-07-26 04:18:06 +00:00
Kp
cc0ce764c2
Fix reading HXM polymodels on x64
2014-07-26 04:01:35 +00:00
Kp
51fdeea84b
Use unique_ptr for model_data
2014-07-26 04:01:35 +00:00
Kp
ebb1b70350
Fix polymodel writing on x64
...
Packed writing a structure containing a pointer, but reading it as an
int, is wrong on x64.
2014-07-26 04:01:35 +00:00
Kp
4e0665b8ee
Use unique_ptr for d1_tmap_nums
2014-07-25 02:54:31 +00:00
Kp
940cbceed8
Use unique_ptr for Bitmap_replacement_data
2014-07-25 02:54:31 +00:00
Kp
5826156ff2
Use unique_ptr for SoundBits
2014-07-25 02:54:31 +00:00
Kp
2ad9437257
Use unique_ptr for BitmapBits
2014-07-25 02:54:31 +00:00
Kp
593f4b08e0
Use unique_ptr for start_poll_data
2014-07-25 02:54:31 +00:00
Kp
af912ea84d
Use unique_ptr for level_names
2014-07-25 02:54:31 +00:00
Kp
d1eaa1819c
Use unique_ptr for secret_level_names
2014-07-25 02:54:31 +00:00
Kp
3bf30f9cf7
Use unique_ptr for secret_level_table
2014-07-25 02:54:31 +00:00