| 133 | } |
| 134 | |
| 135 | void xParCmdTexInit(xParCmdTex* tex) |
| 136 | { |
| 137 | tex->unit_count = tex->rows * tex->cols; |
| 138 | tex->unit_width = (tex->x2 - tex->x1) / tex->cols; |
| 139 | tex->unit_height = (tex->y2 - tex->y1) / tex->rows; |
| 140 | } |
| 141 | |
| 142 | void xParSysInit(void* b, void* tasset) |
| 143 | { |