completely rewrote all doors code to condense them
into two files - one with the nodebox models, and one with the actual node definitions. In the process, cleaned up the code that handles node_ownership and protection mods. Also made the mod automatically enable either left-click or right-click to open/close a door, depending on whether the game supports it (actually it checks for the existance of an unrelated function that happened to be added at the same time as the new right-click function). Renamed some textures, duplicated all of the _lr.png textures to make it easier to register the textures in a loop and to allow for more flexible texturing.
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
BIN
textures/homedecor_door_closet_mahogany_lrt.png
Normal file
After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 447 B |
BIN
textures/homedecor_door_closet_oak_lrt.png
Normal file
After Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
BIN
textures/homedecor_door_exterior_fancy_lrt.png
Normal file
After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
BIN
textures/homedecor_door_wood_glass_lrt.png
Normal file
After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
BIN
textures/homedecor_door_wood_glass_mahogany_lrt.png
Normal file
After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
BIN
textures/homedecor_door_wood_glass_white_lrt.png
Normal file
After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 724 B |
BIN
textures/homedecor_door_wood_plain_lrt.png
Normal file
After Width: | Height: | Size: 724 B |