chore: format everything

This commit is contained in:
Tropical
2026-03-30 02:13:59 -05:00
parent 470ddf959d
commit c9b90cae2c
463 changed files with 12748 additions and 11285 deletions

View File

@@ -433,7 +433,7 @@ void SparseLightStorage::addNewPlane(int y) {
// try again
queueForDelete(dataPointer);
// printf("Marking for delete (fail) 0x%x\n",
//dataPointer);
// dataPointer);
}
} while (!success);
}
@@ -464,9 +464,9 @@ void SparseLightStorage::tick() {
unsigned char* toFree = nullptr;
do {
toFree = deleteQueue[freeIndex].Pop();
// if( toFree ) printf("Deleting 0x%x\n", toFree);
// Determine correct means to free this data - could have been allocated either
// with XPhysicalAlloc or malloc
// if( toFree ) printf("Deleting 0x%x\n", toFree);
// Determine correct means to free this data - could have been allocated
// either with XPhysicalAlloc or malloc
{
free(toFree);
}
@@ -498,7 +498,7 @@ void SparseLightStorage::updateDataAndCount(int64_t newDataAndCount) {
success = true;
// Queue old data to be deleted
// printf("Marking for delete 0x%x (full
//replace)\n", lastDataPointer);
// replace)\n", lastDataPointer);
queueForDelete(lastDataPointer);
}
} while (!success);
@@ -580,13 +580,13 @@ int SparseLightStorage::compress() {
// Failed to write. Don't bother trying again... being very
// conservative here.
// printf("Marking for delete 0x%x (compress
//fail)\n", newIndicesAndData);
// fail)\n", newIndicesAndData);
queueForDelete(newIndicesAndData);
} else {
// Success
queueForDelete(planeIndices);
// printf("Successfully compressed to %d planes, to delete
//0x%x\n", planesToAlloc, planeIndices);
// 0x%x\n", planesToAlloc, planeIndices);
#if defined(LIGHT_COMPRESSION_STATS)
count = planesToAlloc;
#endif