Improved Hscript

This commit is contained in:
NeeEoo
2023-09-23 21:44:33 +02:00
parent 96216d4258
commit 371ee854a7
2 changed files with 31 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
package hscript;
class Config {
// Runs support for custom classes in these
public static final ALLOWED_CUSTOM_CLASSES = [
"flixel",
"funkin",
];
// Runs support for abstract support in these
public static final ALLOWED_ABSTRACT_AND_ENUM = [
"flixel",
"openfl.display.BlendMode",
"haxe.xml",
"haxe.CallStack",
"funkin",
];
// Incase any of your files fail
// These are the module names
public static final DISALLOW_CUSTOM_CLASSES = [
];
public static final DISALLOW_ABSTRACT_AND_ENUM = [
"funkin.backend.FunkinSprite", // Error: String has no field trim, Due to Func
"funkin.backend.scripting.events.PlayAnimEvent", // Error: expected member name or ';' after declaration specifiers, Due to Func
];
}