… | |
… | |
1825 | uint32_t smooth_level[256 / 32]; // one bit for every possible smooth level |
1825 | uint32_t smooth_level[256 / 32]; // one bit for every possible smooth level |
1826 | static uint8_t smooth_max[256][256]; // egad, fast and wasteful on memory (64k) |
1826 | static uint8_t smooth_max[256][256]; // egad, fast and wasteful on memory (64k) |
1827 | smooth_key skey; |
1827 | smooth_key skey; |
1828 | int pl_x, pl_y; |
1828 | int pl_x, pl_y; |
1829 | maptex pl_tex; |
1829 | maptex pl_tex; |
1830 | |
|
|
1831 | pl_tex.name = 0; |
|
|
1832 | |
|
|
1833 | rc_t *rc = rc_alloc (); |
1830 | rc_t *rc = rc_alloc (); |
1834 | rc_key_t key; |
1831 | rc_key_t key; |
1835 | rc_array_t *arr; |
1832 | rc_array_t *arr; |
|
|
1833 | |
|
|
1834 | pl_tex.name = 0; |
1836 | |
1835 | |
1837 | // thats current max. sorry. |
1836 | // thats current max. sorry. |
1838 | if (sw > 255) sw = 255; |
1837 | if (sw > 255) sw = 255; |
1839 | if (sh > 255) sh = 255; |
1838 | if (sh > 255) sh = 255; |
1840 | |
1839 | |