Skip to content

Commit 2df1a2d

Browse files
using FunkinCrew HXCPP Forks
Co-Authored-By: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com>
1 parent 6034a5f commit 2df1a2d

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

Project.hxp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,13 @@ class EngineAsset {
326326
if (isRelease() && !isDebug())
327327
setHaxedef('analyzer-optimize');
328328

329+
if (isDebug() || useTracy.exists()) {
330+
setHaxedef('HXCPP_CHECK_POINTER');
331+
setHaxedef('HXCPP_STACK_LINE');
332+
setHaxedef('HXCPP_STACK_TRACE');
333+
setHaxedef('HXCPP_CATCH_SEGV');
334+
}
335+
329336
if (useTracy.exists()) { // mostly just copied from base funkin
330337
setHaxedef('HXCPP_TELEMETRY'); // Enable telemetry
331338
setHaxedef('HXCPP_TRACY'); // Enable Tracy telemetry

commands/setup/data.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "hxhardware",
55
"version": "git",
66
"branch": "main",
7-
"url": "https://github.com/Vortex2Oblivion/hxhardware/"
7+
"url": "https://github.com/Vortex2Oblivion/hxhardware"
88
},
99

1010
{ "name": "hxWindowColorMode" },
@@ -27,14 +27,20 @@
2727
"branch": "custom-classes",
2828
"url": "https://github.com/CodenameCrew/hscript-improved"
2929
},
30+
3031
{
3132
"name": "hxcpp",
3233
"version": "git",
33-
"branch": "v4.3.75",
34-
"url": "https://github.com/HaxeFoundation/hxcpp"
34+
"branch": "363d3d0a8d3ac450f5ba1b4c3357353656b71e82",
35+
"url": "https://github.com/FunkinCrew/hxcpp"
36+
},
37+
{
38+
"name": "hxcpp-debug-server",
39+
"version": "git",
40+
"branch": "7459934666a473a4cc4d066ba4a93ef92f1ce94c",
41+
"url": "https://github.com/FunkinCrew/hxcpp-debugger"
3542
},
3643

37-
{ "name": "hxcpp-debug-server" },
3844
{ "name": "hxdiscord_rpc" },
3945
{ "name": "hxp" },
4046

commands/setup/history.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
haxelib git hxhardware https://github.com/Vortex2Oblivion/hxhardware/ main
1+
haxelib git hxhardware https://github.com/Vortex2Oblivion/hxhardware main
22
haxelib install hxWindowColorMode
33
haxelib install flixel-addons --skip-dependencies
44
haxelib install flixel --skip-dependencies
55
haxelib install lime
66
haxelib install openfl
7-
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp v4.3.75
8-
haxelib install hxcpp-debug-server
7+
haxelib git hxcpp https://github.com/FunkinCrew/hxcpp 363d3d0a8d3ac450f5ba1b4c3357353656b71e82
8+
haxelib git hxcpp-debug-server https://github.com/FunkinCrew/hxcpp-debugger 7459934666a473a4cc4d066ba4a93ef92f1ce94c
99
haxelib install hxdiscord_rpc
1010
haxelib install hxp
1111
haxelib git json2object https://github.com/FunkinCrew/json2object

0 commit comments

Comments
 (0)