new system for debug logs

This commit is contained in:
Zeno Rogue committed 2025-10-19 15:47:01 +02:00
1 parent 94024dd5f1
commit 113e75d5e1
43 files changed
+601 -447

No files matched your search

+2 -2
View File
@@ -76,7 +76,7 @@ void geometry_information::pushShape(usershapelayer& ds) {
void geometry_information::prepare_usershapes() {
hpc.resize(prehpc);
last = NULL;
DEBB(DF_POLY, ("hpc = ", prehpc));
DEBB(debug_poly, ("hpc = ", prehpc));
user_triangles_texture.tvertices.clear();
@@ -92,7 +92,7 @@ void geometry_information::prepare_usershapes() {
static int qhpc0;
int qhpc = isize(hpc);
if(qhpc != qhpc0 && (debugflags & (DF_GEOM | DF_POLY))) {
if(qhpc != qhpc0 && debug_poly) {
println(hlog, "qhpc = ", qhpc0=qhpc, " (", prehpc, "+", qhpc-prehpc, ")");
println(hlog, "shapes = ", isize(allshapes));
int inve=0, issi=0, vcon=0, ccon=0;