| 1907 | } |
| 1908 | |
| 1909 | static void BlockDefs_DefineBlock(cc_uint8* data) { |
| 1910 | BlockID block = BlockDefs_DefineBlockCommonStart(&data, false); |
| 1911 | |
| 1912 | cc_uint8 shape = *data++; |
| 1913 | if (shape > 0 && shape <= 16) { |
| 1914 | Blocks.MaxBB[block].y = shape / 16.0f; |
| 1915 | } |
| 1916 | |
| 1917 | BlockDefs_DefineBlockCommonEnd(data, shape, block); |
| 1918 | Block_DefineCustom(block, true); |
| 1919 | } |
| 1920 | |
| 1921 | static void BlockDefs_UndefineBlock(cc_uint8* data) { |
| 1922 | BlockID block; |
nothing calls this directly
no test coverage detected