Frees up a procelement for use
| 266 | } |
| 267 | // Frees up a procelement for use |
| 268 | int ProcElementFree(int index) { |
| 269 | ASSERT(index >= 0 && index <= MAX_PROC_ELEMENTS); |
| 270 | Proc_free_list[--Num_proc_elements] = index; |
| 271 | DynamicProcElements[index].type = PROC_NONE; |
| 272 | return 1; |
| 273 | } |
| 274 | // Draws a line into the passed in bitmap |
| 275 | void DrawProceduralLine(int x1, int y1, int x2, int y2, uint8_t color) { |
| 276 | int DY, DX; |