* add funkin modchart to hscript config for custom classes * change to only classes that are needed
38 lines
811 B
Haxe
38 lines
811 B
Haxe
package hscript;
|
|
|
|
class Config {
|
|
// Runs support for custom classes in these
|
|
public static final ALLOWED_CUSTOM_CLASSES = [
|
|
#if !DOCUMENTATION
|
|
"flixel",
|
|
|
|
"funkin",
|
|
#if MODCHARTING_FEATURES
|
|
"modchart.engine",
|
|
"modchart.backend.standalone",
|
|
#end
|
|
#end
|
|
];
|
|
|
|
// Runs support for abstract support in these
|
|
public static final ALLOWED_ABSTRACT_AND_ENUM = [
|
|
#if !DOCUMENTATION
|
|
"flixel",
|
|
"openfl",
|
|
|
|
"haxe.xml",
|
|
"haxe.CallStack",
|
|
"funkin",
|
|
#end
|
|
];
|
|
|
|
// 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.scripting.events.sprite.PlayAnimContext", // Error: expected member name or ';' after declaration specifiers, Due to define macro from math.h
|
|
];
|
|
} |