Partial refactoring of tile code functions
Authored by: fourshades 2024-09-01
Parent: [r972]
Child: [r974]