* senpai fucking dies * final flash fadeout * made cutscene not play on restart * winter horrorland + fixes * fix for pixel perfect shader * trail + fixes * better + shaking last update about it, i swear * never fucking mind + repacks + accuracy * more fixes + chromatic aberration * i hate how pixel shader fucks everything up * aberration in the cutscene & its cool twitch * camera beats when twitching * tank stuff pt1 now the cutscenes look 99% like og (still gotta freeze the stage animated sprites n stuff) PS: Deleting the lipSycn function in ugh and guns cutscenes cause its not needed + sometimes breaks the animations so lets just leave it in stress only like it was in og * week 5 completed + retrocompatibility with altanim now chrima parents work * philly train * gameplay shaders option better adding it now * tank stuff pt2 * blue balled text (death counter) * winter horrorland better rework WIP colored vignette usable by everyone (you can change its color, amount and strength) wip cuz i wanna edit the amount/strength based on the zoom, i'll do later, now i dont have time gotta do christmas irl stuff yay * winter horrorland better rework completed * seen cutscene variable finally * even better cutscenes * oops * tank stuff pt3 * tank stuff pt4 WIP running tanks Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com> * tankstuff pt4.5 imma check tmr why do some tankmen spawn too much up * tank stuff pt4.75 * dumb * tank stuff pt 4.9 * type on xml sprite type fix and more Co-Authored-By: Ne_Eo <NeeEoo@users.noreply.github.com> --------- Co-authored-by: Ne_Eo <NeeEoo@users.noreply.github.com> Co-authored-by: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
45 lines
1.6 KiB
Haxe
45 lines
1.6 KiB
Haxe
package funkin.backend.system.macros;
|
|
|
|
#if macro
|
|
import haxe.macro.Context;
|
|
import haxe.macro.Compiler;
|
|
import haxe.macro.Expr;
|
|
|
|
/**
|
|
* Macros containing additional help functions to expand HScript capabilities.
|
|
*/
|
|
class ScriptsMacro {
|
|
public static function addAdditionalClasses() {
|
|
for(inc in [
|
|
// FLIXEL
|
|
"flixel.util", "flixel.ui", "flixel.tweens", "flixel.tile", "flixel.text",
|
|
"flixel.system", "flixel.sound", "flixel.path", "flixel.math", "flixel.input",
|
|
"flixel.group", "flixel.graphics", "flixel.effects", "flixel.animation",
|
|
// FLIXEL ADDONS
|
|
"flixel.addons.api", "flixel.addons.display", "flixel.addons.effects", "flixel.addons.ui",
|
|
"flixel.addons.plugin", "flixel.addons.text", "flixel.addons.tile", "flixel.addons.transition",
|
|
"flixel.addons.util",
|
|
// OTHER LIBRARIES & STUFF
|
|
#if THREE_D_SUPPORT "away3d", "flx3d", #end
|
|
#if VIDEO_CUTSCENES "hxvlc.flixel", "hxvlc.openfl", #end
|
|
// BASE HAXE
|
|
"DateTools", "EReg", "Lambda", "StringBuf", "haxe.crypto", "haxe.display", "haxe.exceptions", "haxe.extern", "scripting"
|
|
])
|
|
Compiler.include(inc);
|
|
|
|
for(inc in [#if SYS "sys", "openfl.net", "funkin.backend.system.net" #end]) {
|
|
#if !HL
|
|
Compiler.include(inc);
|
|
#else
|
|
// TODO: Hashlink
|
|
//Compiler.include(inc, ["sys.net.UdpSocket", "openfl.net.DatagramSocket"]); // fixes FATAL ERROR : Failed to load function std@socket_set_broadcast
|
|
#end
|
|
}
|
|
|
|
Compiler.include("funkin", #if !UPDATE_CHECKING ['funkin.backend.system.updating'] #end);
|
|
|
|
#if HL HashLinkFixer.init(); #end
|
|
// Todo rewrite this to use if(Context.defined(""))
|
|
}
|
|
}
|
|
#end |