… | |
… | |
1567 | draw (CFPlus::Map self, int mx, int my, int sw, int sh, int T) |
1567 | draw (CFPlus::Map self, int mx, int my, int sw, int sh, int T) |
1568 | CODE: |
1568 | CODE: |
1569 | { |
1569 | { |
1570 | HV *smooth = (HV *)sv_2mortal ((SV *)newHV ()); |
1570 | HV *smooth = (HV *)sv_2mortal ((SV *)newHV ()); |
1571 | uint32_t smooth_level[256 / 32]; // one bit for every possible smooth level |
1571 | uint32_t smooth_level[256 / 32]; // one bit for every possible smooth level |
1572 | uint8_t smooth_max[256][256]; |
1572 | static uint8_t smooth_max[256][256]; // egad, fats and wasteful on memory (64k) |
1573 | smooth_key skey; |
1573 | smooth_key skey; |
1574 | int x, y, z; |
1574 | int x, y, z; |
1575 | int last_name; |
1575 | int last_name; |
1576 | |
1576 | |
1577 | // thats current max. sorry. |
1577 | // thats current max. sorry. |