Skip to content

Commit ece41f5

Browse files
committed
Feature: 4x zoom factory
1 parent 7b5140c commit ece41f5

9 files changed

Lines changed: 28 additions & 0 deletions

baseset/nml/base/base-2011-industries.pnml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ template template_spr2146(z) {
219219
}
220220
base_graphics spr2146(2146, "../graphics/industries/temperate/64/pygen/factory_combo_tiles_8bpp.png") { template_spr2146(1) }
221221
#32 alternative_sprites(spr2146, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP, "../graphics/industries/temperate/64/pygen/factory_combo_tiles_rm32bpp.png", "../graphics/industries/temperate/64/pygen/factory_combo_tiles_8bpp.png") { template_spr2146(1) }
222+
#ez alternative_sprites(spr2146, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "../graphics/industries/temperate/256/pygen/factory_combo_tiles_8bpp.png") { template_spr2146(4) }
223+
#32 #ez alternative_sprites(spr2146, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/industries/temperate/256/pygen/factory_combo_tiles_rm32bpp.png", "../graphics/industries/temperate/256/pygen/factory_combo_tiles_8bpp.png") { template_spr2146(4) }
222224

223225
//2161-2172 printworks
224226
template template_spr2161(z) {

graphics/generate_graphics.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,13 @@ def copy_if_changed(source_path, target_directory):
308308
scale = 4
309309
if scale <= max_scale:
310310
current_path = os.path.join(base_path, "industries", "temperate", str(scale * 64))
311+
#### flatten
312+
flatten_list = ["factory"]
313+
for name in flatten_list:
314+
buildings_base_flatten(os.path.join(current_path, name), scale)
311315
#### tile mask
312316
mask_list = {
317+
"factory_combo": "factory_tilemask.png",
313318
"bank": "bank_tilemask.png",
314319
"bank_base": "bank_tilemask.png",
315320
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2385caef4df3820971443e9fe3a14da67b14cf309eb8e79add7b9f7571624f54
3+
size 55970
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:48205329e70c36164344ee8780f25d386f2776241069940ba5fcbdf482917bc8
3+
size 38008
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:723c49c8b968003343c4debaa544c1e1fd8d0da2ae467e0bf6961dc32fff9ecb
3+
size 109607
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)