You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in favor of using df::builtin_mats enum entries
Also adjust some comparisons to use more easily understandable values
(e.g. <= CREATURE_200 instead of < HIST_FIG_1)
Copy file name to clipboardExpand all lines: docs/changelog.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,13 @@ Template for new versions:
68
68
## API
69
69
70
70
- ``Screen``: new functions ``paintMapPortTile`` and ``readMapPortTile`` to write and read world and region map tiles.
71
+
- ``Materials``: ``MaterialInfo`` constants ``NUM_BUILTIN``, ``GROUP_SIZE``, `CREATURE_BASE``, ``FIGURE_BASE``, ``PLANT_BASE``, and ``END_BASE`` removed. New plugins should use appropriate members of the ``df::builtin_mats`` enum.
71
72
72
73
## Lua
73
74
74
75
- Added ``Screen::paintMapPortTile`` as ``dfhack.screen.paintMapPortTile``
75
76
- Added ``Screen::readMapPortTile`` as ``dfhack.screen.readMapPortTile``
76
-
77
+
- Deprecated ``gui.materials.CREATURE_BASE`` and ``gui.materials.PLANT_BASE`` - scripts should instead use ``df.builtin_mats.CREATURE_1`` and ``df.builtin_mats.PLANT_1``, respectively.
0 commit comments