zack got pissed off about this in vc so im making a pr for this

This commit is contained in:
Abnormal
2025-07-15 00:01:14 -07:00
committed by Kade
parent 126ed3a67a
commit 11da19ce1e
2 changed files with 6 additions and 4 deletions
+6 -1
View File
@@ -796,7 +796,7 @@ class Project extends HXProject
//
FEATURE_FUNKVIS.apply(this, true);
FEATURE_LOG_TRACE.apply(this, true);
FEATURE_LOG_TRACE.apply(this, false);
FEATURE_NAUGHTYNESS.apply(this, true);
FEATURE_OPEN_URL.apply(this, true);
FEATURE_PARTIAL_SOUNDS.apply(this, true);
@@ -888,6 +888,11 @@ class Project extends HXProject
setHaxedef("FLX_NO_DEBUG");
}
if (FEATURE_LOG_TRACE.isDisabled(this))
{
setHaxeFlag("--no-traces");
}
// Disable the built in pause screen when unfocusing the game.
setHaxedef("FLX_NO_FOCUS_LOST_SCREEN");
-3
View File
@@ -10,9 +10,6 @@ class AnsiTrace
*/
public static function trace(v:Dynamic, ?info:haxe.PosInfos)
{
#if (NO_FEATURE_LOG_TRACE && !FEATURE_DEBUG_FUNCTIONS)
return;
#end
var str = formatOutput(v, info);
#if FEATURE_DEBUG_TRACY
cpp.vm.tracy.TracyProfiler.message(str, flixel.util.FlxColor.WHITE);