]> git.lizzy.rs Git - dragonfireclient.git/commit
Implement override.txt support for special tiles (#10140)
authorHugues Ross <hugues.ross@gmail.com>
Tue, 4 Aug 2020 18:12:47 +0000 (14:12 -0400)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 18:12:47 +0000 (20:12 +0200)
commit93ecc589bc49a80187705f6e06df23a71263d3d7
treeffb4cacc13843f2b7ef7cb5fcc192c0dfb3816d4
parentd22fd6fc348ecf393f535c9b172410f4a82a2d52
Implement override.txt support for special tiles (#10140)

Add override targets for all special_tiles entries in node definitions, allowing texture packs to replace these textures. This makes overrides work properly with a variety of drawtypes.

The targets are named special1 through special6, covering the the current length of the special_tiles array.
doc/texture_packs.txt
src/nodedef.cpp
src/nodedef.h
src/texture_override.cpp
src/texture_override.h
util/ci/lint.sh [changed mode: 0644->0755]