Debug: Adjust vehicle debug text order/indentation

This commit is contained in:
Jonathan G Rennison
2024-02-18 21:40:16 +00:00
parent fdd666f66a
commit 8f9783e7d3

View File

@@ -507,6 +507,10 @@ class NIHVehicle : public NIHelper {
v->sprite_seq_bounds.left, v->sprite_seq_bounds.top, v->sprite_seq_bounds.right, v->sprite_seq_bounds.bottom, v->x_offs, v->y_offs); v->sprite_seq_bounds.left, v->sprite_seq_bounds.top, v->sprite_seq_bounds.right, v->sprite_seq_bounds.bottom, v->x_offs, v->y_offs);
output.print(buffer); output.print(buffer);
seprintf(buffer, lastof(buffer), " Current image cacheable: %s (%X), spritenum: %X",
v->cur_image_valid_dir != INVALID_DIR ? "yes" : "no", v->cur_image_valid_dir, v->spritenum);
output.print(buffer);
if (HasBit(v->vehicle_flags, VF_SEPARATION_ACTIVE)) { if (HasBit(v->vehicle_flags, VF_SEPARATION_ACTIVE)) {
std::vector<TimetableProgress> progress_array = PopulateSeparationState(v); std::vector<TimetableProgress> progress_array = PopulateSeparationState(v);
if (!progress_array.empty()) { if (!progress_array.empty()) {
@@ -685,10 +689,6 @@ class NIHVehicle : public NIHelper {
} }
} }
} }
seprintf(buffer, lastof(buffer), " Current image cacheable: %s (%X), spritenum: %X",
v->cur_image_valid_dir != INVALID_DIR ? "yes" : "no", v->cur_image_valid_dir, v->spritenum);
output.print(buffer);
} }
/* virtual */ void SpriteDump(uint index, SpriteGroupDumper &dumper) const override /* virtual */ void SpriteDump(uint index, SpriteGroupDumper &dumper) const override