| 17 | } |
| 18 | |
| 19 | static void PartitionSpaceInsert(_tagPartSpace* space, void* data) |
| 20 | { |
| 21 | space->total++; |
| 22 | _tagPartLink* head = &space->head; |
| 23 | _tagPartLink* tmp = head; |
| 24 | while (tmp->next != NULL) |
| 25 | { |
| 26 | tmp = tmp->next; |
| 27 | } |
| 28 | head = PartitionGetFreeLink(); |
| 29 | tmp->next = head; |
| 30 | tmp->next->data = data; |
| 31 | tmp->next->next = NULL; |
| 32 | } |
| 33 | |
| 34 | S32 xPartitionGetTrueIdx(_tagPartition* part, S32 x_spaces, S32 y_spaces, S32 z_spaces) |
| 35 | { |
no test coverage detected