From c82ae90b054213730318c3fc847fc82512fa135f Mon Sep 17 00:00:00 2001 From: glx22 Date: Thu, 5 Oct 2023 21:51:04 +0200 Subject: [PATCH] Codechange: Use "const" in 030_house regression test --- regression/030_house.nml | 4 +- regression/expected/030_house.grf | Bin 14397 -> 14343 bytes regression/expected/030_house.nfo | 133 ++++++++++++++---------------- 3 files changed, 62 insertions(+), 75 deletions(-) diff --git a/regression/030_house.nml b/regression/030_house.nml index 023baa95..ea65250d 100644 --- a/regression/030_house.nml +++ b/regression/030_house.nml @@ -50,8 +50,8 @@ spriteset(brewery_spriteset_building) { tmpl_building_sprite(150, 60, 91, -60, "brewery_snow.png") } -default_palette = PALETTE_USE_DEFAULT; -/* Generic sprite layout that is used for all tiles of the building. Parmaeters: +const default_palette = PALETTE_USE_DEFAULT; +/* Generic sprite layout that is used for all tiles of the building. Parameters: * - building_sprite: offset in the brewery_spriteset_building spriteset to use. -1 to skip building sprite. * - with_smoke: Show smoke above the tile (also depends on animation state) */ spritelayout brewery_sprite_layout(building_sprite, with_smoke) { diff --git a/regression/expected/030_house.grf b/regression/expected/030_house.grf index d0ebec34f73d30affb58f6dc879e8f8611d3ddf6..f74e952097630614b7be548b6bf5b1f0b5d55ddd 100644 GIT binary patch delta 288 zcmdm6&|VswTxCQDs>G1fyx;eIDz;-Cj$$&dyu0iBbdhvl4Asl zPu|EXt`hFy>IfCDg^II+^zhbm)YXF3v)6AHV-sa$te>pI9t|Wrz~mD!>A)e*$i6v( zLz9^eCllVdp~H!tAc%)|!LD+l2h@v$>8@@}pY_{_q{w>eLAKNlnaW<3Q-7B&H( gA{Exn^#U%8n7Ce*Uk{}+Js>KJSPGd3_ZumeT@v(>Tu7h(8s z2x2p_|99@?2eLrm027dCXa+GiyE9s`XxBoW0XCA8frZ;W$kCG#Y5`D=5vUTvtC_rp zRa&wJD#i*F|Ib^;QCkC+Wv|=(fK`-{v2OA=wrC(3#110Yu}90*v4E^(U