mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Binpack function arguments together
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead. Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
committed by
Hielke Morsink
parent
95ce592579
commit
b02dfdbc93
@@ -127,12 +127,7 @@ static void graph_draw_months_money32(
|
||||
}
|
||||
|
||||
static void graph_draw_line_a_money32(
|
||||
rct_drawpixelinfo* dpi,
|
||||
const money32* history,
|
||||
int32_t count,
|
||||
int32_t baseX,
|
||||
int32_t baseY,
|
||||
int32_t modifier,
|
||||
rct_drawpixelinfo* dpi, const money32* history, int32_t count, int32_t baseX, int32_t baseY, int32_t modifier,
|
||||
int32_t offset)
|
||||
{
|
||||
int32_t i, x, y, lastX, lastY;
|
||||
@@ -161,12 +156,7 @@ static void graph_draw_line_a_money32(
|
||||
}
|
||||
|
||||
static void graph_draw_line_b_money32(
|
||||
rct_drawpixelinfo* dpi,
|
||||
const money32* history,
|
||||
int32_t count,
|
||||
int32_t baseX,
|
||||
int32_t baseY,
|
||||
int32_t modifier,
|
||||
rct_drawpixelinfo* dpi, const money32* history, int32_t count, int32_t baseX, int32_t baseY, int32_t modifier,
|
||||
int32_t offset)
|
||||
{
|
||||
int32_t i, x, y, lastX, lastY;
|
||||
|
||||
Reference in New Issue
Block a user