dxx-rebirth/common
Kp 4d6affd74d Fix SDL-only briefing crash
Trim the bitmap's current width and height to be not more than its
parent.  Otherwise, an automatic screen resize, such as triggered when
playing the robot briefings in Descent 2, will give the window a new
smaller bm_data, but continue to use the old dimensions.  This then
causes load_briefing_screen -> gr_bitmap_scale_to -> scale_line to write
off the end of the smaller bm_data, causing memory corruption and
eventually a crash.
2021-11-01 03:37:20 +00:00
..
2d Fix SDL-only briefing crash 2021-11-01 03:37:20 +00:00
3d Move g3 instance contexts onto the stack 2021-09-04 12:17:14 +00:00
arch Move window_is_visible,window_set_visible to be window methods 2021-11-01 03:37:18 +00:00
editor Return string width/height from gr_get_string_size 2021-09-12 16:20:52 +00:00
include Convert some math functions to fixang 2021-11-01 03:37:20 +00:00
main Pass random generator to pick_random_point_in_seg 2021-11-01 03:37:20 +00:00
maths Convert some math functions to fixang 2021-11-01 03:37:20 +00:00
mem
misc Delegate score comma handling to std::locale 2021-09-19 10:53:48 +00:00
music
texmap Fix SDL-only build 2021-11-01 03:37:20 +00:00
ui Move window_is_visible,window_set_visible to be window methods 2021-11-01 03:37:18 +00:00
unittest Propagate T::index_type through partial_range 2021-09-04 12:17:14 +00:00