diff --git a/game/reconstructed/btl4app.cpp b/game/reconstructed/btl4app.cpp index 0a2439d..4cf3cf9 100644 --- a/game/reconstructed/btl4app.cpp +++ b/game/reconstructed/btl4app.cpp @@ -645,6 +645,9 @@ BTL4Application::SharedData BTL4GaugeRenderer *gauge_renderer = (BTL4GaugeRenderer*)GetGaugeRenderer(); // *(this+0x4c) + if (getenv("BT_VSS_LOG")) + DEBUG_STREAM << "[vss] MakeViewpointEntity: gaugeRenderer=" + << (int)(gauge_renderer != NULL) << " -> ConfigureForModel(Init)\n" << std::flush; if (gauge_renderer != NULL) { gauge_renderer->ConfigureForModel("Init", viewing_entity); // FUN_0046ff64 diff --git a/game/reconstructed/btl4gau2.cpp b/game/reconstructed/btl4gau2.cpp index b494898..79f230b 100644 --- a/game/reconstructed/btl4gau2.cpp +++ b/game/reconstructed/btl4gau2.cpp @@ -1371,6 +1371,8 @@ Logical imageNames[p] = methodDescription.parameterList[p].data.string; int count = entity->GetSubsystemCount(); // entity+0x124 + if (getenv("BT_VSS_LOG")) + DEBUG_STREAM << "[vss] Make called: subsystemCount=" << count << "\n" << std::flush; for (int i = 0; i < count; i++) { if (i == 0) // slot 0 = the controls mapper @@ -1382,6 +1384,9 @@ Logical continue; int group = *(int *)((char *)sub + 0x1dc) - 1; // aux-screen position 1..12 + if (getenv("BT_VSS_LOG")) + DEBUG_STREAM << "[vss] i=" << i << " classID=" << (int)sub->GetClassID() + << " auxScreen[0x1dc]=" << (group + 1) << "\n" << std::flush; if (group < 0) { DebugStream << "Auxiliary screen position = zero\n";