Merge branch 'main' of https://github.com/FNF-CNE-Devs/CodenameEngine-Dev
This commit is contained in:
@@ -20,6 +20,7 @@ class ScriptsMacro {
|
||||
"flixel.addons.plugin", "flixel.addons.text", "flixel.addons.tile", "flixel.addons.transition",
|
||||
"flixel.addons.util",
|
||||
// OTHER LIBRARIES & STUFF
|
||||
"funkin",
|
||||
"away3d", "flx3d",
|
||||
#if VIDEO_CUTSCENES "hxcodec.flixel", "hxcodec.openfl", "hxcodec.lime", #end
|
||||
// BASE HAXE
|
||||
|
||||
@@ -31,7 +31,7 @@ class NdllUtil {
|
||||
* @param name Name of the function.
|
||||
* @param args Number of arguments of that function.
|
||||
*/
|
||||
public static function getFunction(ndll:String, name:String, args:Int) {
|
||||
public static function getFunction(ndll:String, name:String, args:Int):Dynamic {
|
||||
#if NDLLS_SUPPORTED
|
||||
return getFunctionFromPath(Paths.ndll('$ndll-$os'), name, args);
|
||||
#else
|
||||
@@ -47,7 +47,7 @@ class NdllUtil {
|
||||
* @param name Name of the function.
|
||||
* @param args Number of arguments of that function.
|
||||
*/
|
||||
public static function getFunctionFromPath(ndll:String, name:String, args:Int) {
|
||||
public static function getFunctionFromPath(ndll:String, name:String, args:Int):Dynamic {
|
||||
#if NDLLS_SUPPORTED
|
||||
if (!Assets.exists(ndll)) {
|
||||
Logs.trace('Couldn\'t find ndll at ${ndll}.', WARNING);
|
||||
|
||||
Reference in New Issue
Block a user