maps4fs 0.9.96__py3-none-any.whl → 0.9.98__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
maps4fs/generator/grle.py CHANGED
@@ -57,15 +57,6 @@ class GRLE(Component):
57
57
  width = int(self.map_width * info_layer["width_multiplier"])
58
58
  data_type = info_layer["data_type"]
59
59
 
60
- self.logger.debug(
61
- "Creating InfoLayer PNG file %s with dimensions %dx%d, %d channels, "
62
- "and data type %s.",
63
- file_path,
64
- height,
65
- width,
66
- data_type,
67
- )
68
-
69
60
  # Create the InfoLayer PNG file with zeros.
70
61
  info_layer_data = np.zeros((height, width), dtype=data_type)
71
62
  print(info_layer_data.shape)
@@ -73,3 +64,12 @@ class GRLE(Component):
73
64
  self.logger.info("InfoLayer PNG file %s created.", file_path)
74
65
  else:
75
66
  self.logger.warning("Invalid InfoLayer schema: %s.", info_layer)
67
+
68
+ def previews(self) -> list[str]:
69
+ """Returns a list of paths to the preview images (empty list).
70
+ The component does not generate any preview images so it returns an empty list.
71
+
72
+ Returns:
73
+ list[str]: An empty list.
74
+ """
75
+ return []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maps4fs
3
- Version: 0.9.96
3
+ Version: 0.9.98
4
4
  Summary: Generate map templates for Farming Simulator from real places.
5
5
  Author-email: iwatkot <iwatkot@gmail.com>
6
6
  License: MIT License
@@ -6,7 +6,7 @@ maps4fs/generator/component.py,sha256=ibfl2V_niXqWaFO05aaV25JbPBaupUpKBOLxKQq0Fv
6
6
  maps4fs/generator/config.py,sha256=qomeSaHNgSYvRyPbGkyDjgAxU1jUMND8wESuy9uXcV4,4280
7
7
  maps4fs/generator/dem.py,sha256=aU0syr7pu81hd6oVn1rjQoDsDAYJro-58i1STTUz3jw,17167
8
8
  maps4fs/generator/game.py,sha256=hvVsU4l43kHYM9oZ6WBFhDiI8U3gJxzSeavAvXyh0DI,7395
9
- maps4fs/generator/grle.py,sha256=dwy5rK8sIOk2z6aQgu3X2aUuCzY0TntaLfcH6WSwpiU,3153
9
+ maps4fs/generator/grle.py,sha256=kyFiGu-2aXrLVB_8GeXlGvG5ULwlSVuqU1yfpt_0br4,3134
10
10
  maps4fs/generator/i3d.py,sha256=CSdVDQJOybeu6DQhxTxImEOSsbbXSNqAN8sunNuicM0,3602
11
11
  maps4fs/generator/map.py,sha256=1EJfq5928xbV7v9vBBuoC3VpD5gC1SMDBTQ7geH6yaA,4678
12
12
  maps4fs/generator/path_steps.py,sha256=yeN6hmOD8O2LMozUf4HcQMIy8WJ5sHF5pGQT_s2FfOw,3147
@@ -15,8 +15,8 @@ maps4fs/generator/texture.py,sha256=9qBlL3udozp5ATg9N48naRjTQPWe_eOPgs28hG4U13g,
15
15
  maps4fs/generator/tile.py,sha256=6zUpDidPcPRTGzQvYSNw-0Pj-if2WiakU2qb-40vyOk,2151
16
16
  maps4fs/toolbox/__init__.py,sha256=zZMLEkGzb4z0xql650gOtGSvcgX58DnJ2yN3vC2daRk,43
17
17
  maps4fs/toolbox/dem.py,sha256=z9IPFNmYbjiigb3t02ZenI3Mo8odd19c5MZbjDEovTo,3525
18
- maps4fs-0.9.96.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
19
- maps4fs-0.9.96.dist-info/METADATA,sha256=MAD-z_gNxlirW7YiOrmCnZzWoeE-NfMihp8OK-n0f7c,25194
20
- maps4fs-0.9.96.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
21
- maps4fs-0.9.96.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
22
- maps4fs-0.9.96.dist-info/RECORD,,
18
+ maps4fs-0.9.98.dist-info/LICENSE.md,sha256=pTKD_oUexcn-yccFCTrMeLkZy0ifLRa-VNcDLqLZaIw,10749
19
+ maps4fs-0.9.98.dist-info/METADATA,sha256=O0p9Zjx6_gFZHTtBurPZkMmsVcqzOUpK4uQUGfPmH_M,25194
20
+ maps4fs-0.9.98.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
21
+ maps4fs-0.9.98.dist-info/top_level.txt,sha256=Ue9DSRlejRQRCaJueB0uLcKrWwsEq9zezfv5dI5mV1M,8
22
+ maps4fs-0.9.98.dist-info/RECORD,,