-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[BACKEND] New scripting backend using cppia
#5087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
"ref": "d914cac17779efad8b3aa6f4a12dff566518d1b9", | ||
"url": "https://github.com/lemz1/hscript" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporary compilation fix
will be removed when we remove hscript entirely
@@ -503,7 +503,7 @@ class Project extends HXProject { | |||
FEATURE_POLYMOD_MODS.apply(this, true); | |||
FEATURE_FUNKVIS.apply(this, true); | |||
FEATURE_PARTIAL_SOUNDS.apply(this, true); | |||
FEATURE_VIDEO_PLAYBACK.apply(this, true); | |||
FEATURE_VIDEO_PLAYBACK.apply(this, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporary change to fix compilation issues
@@ -525,7 +525,7 @@ class Project extends HXProject { | |||
|
|||
// Should be true on desktop, release, non-tester builds. | |||
// We don't want testers to accidentally leak songs to their Discord friends! | |||
FEATURE_DISCORD_RPC.apply(this, isDesktop() && !FEATURE_DEBUG_FUNCTIONS.isEnabled(this)); | |||
FEATURE_DISCORD_RPC.apply(this, isDesktop() && !FEATURE_DEBUG_FUNCTIONS.isEnabled(this) && false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporary change to fix compilation issues
it doesnt fully compile with it on msvc: we need to use /bigobj flag, when we add dll_export
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to still have .hxc
as an option for backwards compatibility?
I dont know whether the haxe compiler supports different file extensions. |
Promoted to |
Linked Issues
Closes #5077
Description
This pr changes the scripting backend from
hscript
tocppia
.cppia
is more performant, more type-safe thanhscript
, and has much better haxe language support.Note
A few scripts had some changes that i deemed necessary to mention, so just look in the scripts for
// CPPIA:
.Make CPPIA Work Ideas
use dll_export / dll_importTodo