New maps, Temple of Gnarg (lake_country/temples/gnarg-temple) and related dungeon, Foul Smelling Cave (lake_country/dungeons/foul-smelling-cave) in Lake Country. Map entrance created in the world map (world/world_109_127) as well.
9894 lines of code changed in 3 files:
Revert FABS macro change
Some bit of the server somewhere relies on the type-independent behavior
of the original FABS macro. This manifests itself in the form of
infinite recursion when attempting to log in.
3 lines of code changed in 2 files:
Fix signed integer comparisons
16 lines of code changed in 9 files:
Convert fatal error codes to enum
10 lines of code changed in 3 files:
Remove remnants of crossfire-config
1 lines of code changed in 2 files:
Move compatibility definitions to compat.h
Note that we never call FABS on a floating-point value, so defining it
as a call to abs() is okay.
Also remove an ancient compiler check.
11 lines of code changed in 2 files:
Remove unused variable
0 lines of code changed in 1 file:
Convert OBJECT_TYPE defgroup to enum
158 lines of code changed in 2 files:
Remove unused object types
0 lines of code changed in 1 file:
Move shop_price_sell() call after argument check
sell_item() checks the arguments to shop_price_sell() so that errors are
handled gracefully instead of triggering a failed assertion. The call
was moved before the check while refactoring, leading to crashes when
the assertion does not hold.
Fix by moving check before the call to shop_price_sell(). The root cause
still needs to be investigated and fixed.
1 lines of code changed in 1 file:
Remove superfluous return statements
Reported by: Andreas Kirschbaum
3 lines of code changed in 1 file:
Fix sign extension by using unsigned cast
Reported by: Coverity Scan
11 lines of code changed in 4 files:
Fix botched memory leak fix
The fix in r20296 was incorrect and introduced double frees.
2 lines of code changed in 1 file:
Use get_map_flags instead of GET_MAP_FLAGS
Reported by: Coverity Scan
1 lines of code changed in 1 file:
Fix order of operations
1 lines of code changed in 1 file:
Fix overflows by using calloc() correctly
10 lines of code changed in 6 files:
Add explicit cast
1 lines of code changed in 1 file:
Fix incorrect substitution of NULL for ASCII NUL
Reported by: Coverity Scan
1 lines of code changed in 1 file:
Add missing va_end()
Reported by: Coverity Scan
1 lines of code changed in 1 file:
Convert randomness macros to functions
Each function that the randomness macros call returns a different type.
Explicitly declare a cf_random() and cf_srandom().
24 lines of code changed in 2 files:
Fix memory leaks
Reported by: Coverity Scan
6 lines of code changed in 1 file: