Debug: Add support for showing extended variables in object debug window
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "../object_map.h"
|
||||
#include "../waypoint_base.h"
|
||||
#include "../string_func_extra.h"
|
||||
#include "../newgrf_extension.h"
|
||||
|
||||
/* Helper for filling property tables */
|
||||
#define NIP(prop, base, variable, type, name) { name, (ptrdiff_t)cpp_offsetof(base, variable), cpp_sizeof(base, variable), prop, type }
|
||||
@@ -842,6 +843,8 @@ static const NIVariable _niv_objects[] = {
|
||||
NIV(0x62, "land info of nearby tiles"),
|
||||
NIV(0x63, "animation stage of nearby tiles"),
|
||||
NIV(0x64, "distance on nearest object with given type"),
|
||||
NIV(A2VRI_OBJECT_FOUNDATION_SLOPE, "slope after foundation applied"),
|
||||
NIV(A2VRI_OBJECT_FOUNDATION_SLOPE_CHANGE, "slope after foundation applied xor non-foundation slope"),
|
||||
NIV_END()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user