| 168 | } |
| 169 | |
| 170 | void Block_SetSide(TextureLoc texLoc, BlockID blockId) { |
| 171 | int index = blockId * FACE_COUNT; |
| 172 | Blocks.Textures[index + FACE_XMIN] = texLoc; |
| 173 | Blocks.Textures[index + FACE_XMAX] = texLoc; |
| 174 | Blocks.Textures[index + FACE_ZMIN] = texLoc; |
| 175 | Blocks.Textures[index + FACE_ZMAX] = texLoc; |
| 176 | } |
| 177 | |
| 178 | |
| 179 | /*########################################################################################################################* |
no outgoing calls
no test coverage detected