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

@@ -430,7 +430,7 @@ void SparseDataStorage::addNewPlane(int y) {
// try again
queueForDelete(dataPointer);
// printf("Marking for delete (fail) 0x%x\n",
//dataPointer);
// dataPointer);
}
} while (!success);
}
@@ -461,9 +461,9 @@ void SparseDataStorage::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);
}
@@ -495,7 +495,7 @@ void SparseDataStorage::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);
@@ -570,13 +570,13 @@ int SparseDataStorage::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(DATA_COMPRESSION_STATS)
count = planesToAlloc;
#endif