- more Debug info on spool

This commit is contained in:
Ilya Shurumov 2021-07-08 00:59:23 +06:00 committed by InspirationByte
parent 9d096ef7cb
commit bb7ba1580c

View File

@ -94,15 +94,19 @@ void DrawDebugOverlays()
PrintString(tempBuf, 10, 20);
extern volatile int spoolactive;
sprintf(tempBuf, "Spooling: %d spec: %d, active: %d", doSpooling, allowSpecSpooling, spoolactive);
PrintString(tempBuf, 10, 30);
extern int numActiveCops;
extern int numCopCars;
extern int numCivCars;
extern int numParkedCars;
extern int maxCopCars;
extern int maxCivCars;
extern int current_region;
extern int LoadedArea;
Spool* spoolptr = (Spool*)(RegionSpoolInfo + spoolinfo_offsets[current_region]);
sprintf(tempBuf, "Spooling: %d spec: %d, active: %d, Reg: %d, Ar: %d, Cn: %d %d", doSpooling, allowSpecSpooling, spoolactive, current_region, LoadedArea, spoolptr->connected_areas[0] & 0x3f, spoolptr->connected_areas[1] & 0x3f);
PrintString(tempBuf, 10, 30);
sprintf(tempBuf, "Civs: %d - %d parked - max %d", numCivCars, numParkedCars, maxCivCars);
PrintString(tempBuf, 10, 40);