Skip to content

Commit 3de3c3f

Browse files
committed
Allow tweening arrays and shaders
Ignore the contents of this, its just to make it redownload flixel
1 parent 25b5630 commit 3de3c3f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

source/funkin/backend/system/framerate/FlixelInfo.hx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package funkin.backend.system.framerate;
22

3+
import funkin.backend.scripting.ModState;
4+
35
class FlixelInfo extends FramerateCategory {
46
public function new() {
57
super("Flixel Info");
@@ -14,17 +16,22 @@ class FlixelInfo extends FramerateCategory {
1416
for(_ in FlxG.bitmap._cache.keys())
1517
c++;
1618

17-
_text = 'State: ${Type.getClassName(Type.getClass(FlxG.state))}';
19+
if((FlxG.state is ModState)) {
20+
var state:ModState = cast FlxG.state;
21+
_text = "Mod State: " + state.scriptName;
22+
} else {
23+
_text = 'State: ${Type.getClassName(Type.getClass(FlxG.state))}';
24+
}
1825
_text += '\nObject Count: ${FlxG.state.members.length}';
1926
_text += '\nCamera Count: ${FlxG.cameras.list.length}';
2027
_text += '\nBitmaps Count: ${c}';
2128
_text += '\nSounds Count: ${FlxG.sound.list.length}';
2229
_text += '\nFlxG.game Childs Count: ${FlxG.game.numChildren}';
2330
// _text += '\nCached objects count: ${cachedObjects}';
2431
#if FLX_POINT_POOL
25-
var points = flixel.math.FlxPoint.FlxBasePoint.pool;
32+
//var points = flixel.math.FlxPoint.FlxBasePoint.pool;
2633
//_text += '\nPoint Count: ${points._count} | +${points.made} | -${points.gotten} | ${points.balance} | >${points.putted}';
27-
_text += '\nPoint Count: ${points._count}';
34+
//_text += '\nPoint Count: ${points._count}';
2835
#end
2936
}
3037

0 commit comments

Comments
 (0)