dxx-rebirth/similar
Kp 96d9ae4e4a Optimize initial MultiLevelInv clear
Change the clearing of MultiLevelInv during initialization to reduce
wasted stores.  MultiLevelInv has three fields.

Field ::Initial is not accessed by MultiLevelInv_CountLevelPowerups, and
is overwritten immediately afterward, so it does not need to be cleared
first.

Field ::Current is unconditionally cleared by
MultiLevelInv_CountLevelPowerups, so it does not need to be cleared
first.

Field ::RespawnTimer is not accessed by
MultiLevelInv_CountLevelPowerups, but needs to be cleared.  Add a clear
of field .RespawnTimer and remove the clear of the entire structure.
2016-07-14 01:59:03 +00:00
..
2d Rewrite declarations of ubyte * to standard uint8_t * 2016-07-14 01:59:02 +00:00
3d Rewrite simple integer casts from C style to static_cast<> 2016-06-05 01:04:26 +00:00
arch Invert sense of digi.cpp firstplay to already_playing 2016-07-09 17:58:34 +00:00
editor Remove unused STRING_LENGTH 2016-07-09 17:58:35 +00:00
main Optimize initial MultiLevelInv clear 2016-07-14 01:59:03 +00:00
misc Rewrite simple pointer casts from C style to reinterpret_cast<> 2016-06-05 01:04:26 +00:00