dxx-rebirth/common
Kp 075b14373a Change Difficulty_level_type from unsigned to signed
Difficulty_level_type is used in arithmetic expressions.  If
Difficulty_level_type is unsigned, then those expressions use unsigned
terms, but some of the expressions were designed to use signed terms and
produce incorrect results when used with unsigned terms.  There is no
strong reason to make Difficulty_level_type unsigned, so switch it to
signed instead of trying to fix every site that uses it.

Reported-by: AlumiuN <https://github.com/dxx-rebirth/dxx-rebirth/issues/471>
Fixes: 1eaaff3016 ("Move Difficulty_level to GameUniqueState")
2019-11-17 23:27:13 +00:00
..
2d Move some SDL-only symbols into !DXX_USE_OGL 2019-08-06 02:59:41 +00:00
3d Move some SDL-only symbols into !DXX_USE_OGL 2019-08-06 02:59:41 +00:00
arch modify SConstruct to handle target platform; fix track finish detect code 2019-10-27 14:53:48 +02:00
editor
include indent fixes, improve comments, other code fixes 2019-10-27 03:11:15 +03:00
main Change Difficulty_level_type from unsigned to signed 2019-11-17 23:27:13 +00:00
maths Fix integer truncation in quaternion setup 2019-04-13 18:00:07 +00:00
mem
misc Fix Windows build of hmp.cpp 2019-05-17 02:13:22 +00:00
music Rework ADL dynamic loader 2018-10-15 00:51:53 +00:00
texmap Fix fallthrough warning in ntmap.cpp [SDL only] 2019-07-07 22:00:02 +00:00
ui Use xrange for loops with zero start and constant numerical end 2019-05-04 18:27:36 +00:00
unittest