Skip to content

Commit 566896b

Browse files
committed
Merge branch 'Archipelago' of https://github.com/Z11Coding/Mixtape-Engine-Rework into Archipelago
2 parents f3741ce + dd6b67a commit 566896b

File tree

14 files changed

+62
-26
lines changed

14 files changed

+62
-26
lines changed
13.1 KB
Loading
15.7 KB
Loading

setup/unixLinux.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,32 @@ echo This might take a few moments depending on your internet speed.
1111
haxelib install lime 8.1.2
1212
haxelib install openfl 9.3.3
1313
haxelib install flixel 5.6.1
14-
haxelib install flixel-addons 3.2.2
14+
haxelib install flixel-addons 3.3.2
1515
haxelib install flixel-tools 1.5.1
1616
haxelib install hscript-iris 1.1.3
1717
haxelib install tjson 1.4.0
1818
haxelib install hxdiscord_rpc 1.2.4
1919
haxelib install hxvlc 2.0.1 --skip-dependencies
20-
haxelib install lime 8.1.2
21-
haxelib install openfl 9.3.3
2220
haxelib install helder.set 0.3.1
2321
haxelib install yaml 2.0.1
2422
haxelib install hxWebSockets 1.4.0
2523
haxelib install haxe-concurrent 5.1.3
2624
haxelib install actuate 1.9.0
2725
haxelib install flixel-ui 2.6.1
2826
haxelib install hscript 2.5.0
27+
haxelib install noisehx
28+
haxelib set lime 8.1.2
29+
haxelib set openfl 9.3.3
30+
haxelib git linc_dialogs https://github.com/snowkit/linc_dialogs.git
2931
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
3032
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 1906c4a96f6bb6df66562b3f24c62f4c5bba14a7
31-
haxelib git funkin.vis https://github.com/FunkinCrew/funkVis 22b1ce089dd924f15cdc4632397ef3504d464e90
32-
haxelib git grig.audio https://gitlab.com/haxe-grig/grig.audio.git cbf91e2180fd2e374924fe74844086aab7891666
33-
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
34-
haxelib git funkin.vis https://github.com/FunkinCrew/funkVis 22b1ce089dd924f15cdc4632397ef3504d464e90
33+
haxelib git funkin.vis https://github.com/beihu235/funkVis-FrequencyFixed
3534
haxelib git grig.audio https://gitlab.com/haxe-grig/grig.audio.git cbf91e2180fd2e374924fe74844086aab7891666
3635
haxelib git haxeui-core https://github.com/haxeui/haxeui-core 51c23588614397089a5ce182cddea729f0be6fa0
3736
haxelib git haxeui-flixel https://github.com/haxeui/haxeui-flixel da27e833947f32ef007ed11f523aa5524f5a5d54
3837
haxelib git flixel-text-input https://github.com/FunkinCrew/flixel-text-input 951a0103a17bfa55eed86703ce50b4fb0d7590bc
3938
haxelib git FlxPartialSound https://github.com/FunkinCrew/FlxPartialSound.git f986332ba5ab02abd386ce662578baf04904604a
39+
haxelib git moonchart https://github.com/MaybeMaru/moonchart
4040
haxelib git tentools https://github.com/TentaRJ/tentools.git
4141
haxelib git systools https://github.com/haya3218/systools
4242
haxelib run lime rebuild systools linux

setup/unixMac.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,32 @@ echo This might take a few moments depending on your internet speed.
1111
haxelib install lime 8.1.2
1212
haxelib install openfl 9.3.3
1313
haxelib install flixel 5.6.1
14-
haxelib install flixel-addons 3.2.2
14+
haxelib install flixel-addons 3.3.2
1515
haxelib install flixel-tools 1.5.1
1616
haxelib install hscript-iris 1.1.3
1717
haxelib install tjson 1.4.0
1818
haxelib install hxdiscord_rpc 1.2.4
1919
haxelib install hxvlc 2.0.1 --skip-dependencies
20-
haxelib install lime 8.1.2
21-
haxelib install openfl 9.3.3
2220
haxelib install helder.set 0.3.1
2321
haxelib install yaml 2.0.1
2422
haxelib install hxWebSockets 1.4.0
2523
haxelib install haxe-concurrent 5.1.3
2624
haxelib install actuate 1.9.0
2725
haxelib install flixel-ui 2.6.1
2826
haxelib install hscript 2.5.0
27+
haxelib install noisehx
28+
haxelib set lime 8.1.2
29+
haxelib set openfl 9.3.3
30+
haxelib git linc_dialogs https://github.com/snowkit/linc_dialogs.git
2931
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
3032
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 1906c4a96f6bb6df66562b3f24c62f4c5bba14a7
31-
haxelib git funkin.vis https://github.com/FunkinCrew/funkVis 22b1ce089dd924f15cdc4632397ef3504d464e90
32-
haxelib git grig.audio https://gitlab.com/haxe-grig/grig.audio.git cbf91e2180fd2e374924fe74844086aab7891666
33-
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
34-
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 1906c4a96f6bb6df66562b3f24c62f4c5bba14a7
35-
haxelib git funkin.vis https://github.com/FunkinCrew/funkVis 22b1ce089dd924f15cdc4632397ef3504d464e90
33+
haxelib git funkin.vis https://github.com/beihu235/funkVis-FrequencyFixed
3634
haxelib git grig.audio https://gitlab.com/haxe-grig/grig.audio.git cbf91e2180fd2e374924fe74844086aab7891666
3735
haxelib git haxeui-core https://github.com/haxeui/haxeui-core 51c23588614397089a5ce182cddea729f0be6fa0
3836
haxelib git haxeui-flixel https://github.com/haxeui/haxeui-flixel da27e833947f32ef007ed11f523aa5524f5a5d54
3937
haxelib git flixel-text-input https://github.com/FunkinCrew/flixel-text-input 951a0103a17bfa55eed86703ce50b4fb0d7590bc
4038
haxelib git FlxPartialSound https://github.com/FunkinCrew/FlxPartialSound.git f986332ba5ab02abd386ce662578baf04904604a
39+
haxelib git moonchart https://github.com/MaybeMaru/moonchart
4140
haxelib git tentools https://github.com/TentaRJ/tentools.git
4241
haxelib git systools https://github.com/haya3218/systools
4342
haxelib run lime rebuild systools mac

setup/windows.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,19 @@ haxelib install haxe-concurrent 5.1.3
2020
haxelib install actuate 1.9.0
2121
haxelib install flixel-ui 2.6.1
2222
haxelib install hscript 2.5.0
23+
haxelib install noisehx
2324
haxelib set lime 8.1.2
2425
haxelib set openfl 9.3.3
26+
haxelib git linc_dialogs https://github.com/snowkit/linc_dialogs.git
2527
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
2628
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 1906c4a96f6bb6df66562b3f24c62f4c5bba14a7
27-
haxelib git funkin.vis https://github.com/FunkinCrew/funkVis 22b1ce089dd924f15cdc4632397ef3504d464e90
29+
haxelib git funkin.vis https://github.com/beihu235/funkVis-FrequencyFixed
2830
haxelib git grig.audio https://gitlab.com/haxe-grig/grig.audio.git cbf91e2180fd2e374924fe74844086aab7891666
2931
haxelib git haxeui-core https://github.com/haxeui/haxeui-core 51c23588614397089a5ce182cddea729f0be6fa0
3032
haxelib git haxeui-flixel https://github.com/haxeui/haxeui-flixel da27e833947f32ef007ed11f523aa5524f5a5d54
3133
haxelib git flixel-text-input https://github.com/FunkinCrew/flixel-text-input 951a0103a17bfa55eed86703ce50b4fb0d7590bc
3234
haxelib git FlxPartialSound https://github.com/FunkinCrew/FlxPartialSound.git f986332ba5ab02abd386ce662578baf04904604a
35+
haxelib git moonchart https://github.com/MaybeMaru/moonchart
3336
haxelib git tentools https://github.com/TentaRJ/tentools.git
3437
haxelib git systools https://github.com/haya3218/systools
3538
haxelib run lime rebuild systools windows

source/backend/Achievements.hx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ class Achievements {
9191
createAchievement('hype', {name: "Hyperactive", description: "Finish a Song without going back to Idle."});
9292
createAchievement('two_keys', {name: "Just the Two of Us", description: "Finish a Song pressing only two keys."});
9393
createAchievement('toastie', {name: "Toaster Gamer", description: "Have you tried to run the game on a toaster?"});
94+
createAchievement('potato', {name: "The Ultimate Potato", description: "The minimum requirement to run the game on a potato."});
9495
createAchievement('debugger', {name: "Debugger", description: "Beat the \"Test\" Stage from the Chart Editor.", hidden: true});
96+
createAchievement('search_songs', {name: "The Music Lost to Time", description: "Find all 3 secret freeplay songs\n(And no, playing them in archipelago mode doesn't count)", maxScore: 3, maxDecimals: 0});
9597

9698
// Secret achievements
9799
createAchievement('pessy_easter_egg', {name: "Engine Gal Pal", description: "Teehee, you found me~!", hidden: true});
@@ -132,7 +134,7 @@ class Achievements {
132134
_firstLoad = false;
133135
}
134136
}
135-
137+
136138
public static function save():Void
137139
{
138140
FlxG.save.data.achievementsUnlocked = achievementsUnlocked;

source/backend/MusicBeatChartingState.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package backend;
22

33
import flixel.addons.ui.FlxUIState;
4+
#if windows
45
import backend.window.CppAPI;
6+
#end
57
import flixel.FlxState;
68
import backend.PsychCamera;
79
import archipelago.APEntryState;
@@ -135,10 +137,12 @@ class MusicBeatChartingState extends FlxUIState
135137

136138
override function update(elapsed:Float)
137139
{
140+
#if windows
138141
if (emergencyOpacityFix) {
139142
CppAPI.setWindowOppacity(1);
140143
emergencyOpacityFix = false;
141144
}
145+
#end
142146

143147
if (Main.audioDisconnected && getState() == PlayState.instance)
144148
{

source/backend/MusicBeatState.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package backend;
22

33
import haxe.ds.HashMap;
4+
#if windows
45
import backend.window.CppAPI;
6+
#end
57
import flixel.FlxState;
68
import backend.PsychCamera;
79
import archipelago.APEntryState;
@@ -166,6 +168,7 @@ class MusicBeatState extends FlxState
166168

167169
override function update(elapsed:Float)
168170
{
171+
#if windows
169172
if (emergencyOpacityFix) {
170173
CppAPI.setWindowOppacity(1);
171174
emergencyOpacityFix = false;
@@ -179,6 +182,7 @@ class MusicBeatState extends FlxState
179182
FlxG.resetState();
180183
}
181184
else if (Main.audioDisconnected) FlxG.resetState();
185+
#end
182186

183187
// everyStep();
184188
var oldStep:Int = curStep;

source/backend/Paths.hx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,7 @@ class Paths
234234

235235
return new FlxRuntimeShader(
236236
fragFile==null ? null : File.getContent(fragPath),
237-
vertFile==null ? null : File.getContent(vertPath),
238-
//version
239-
);
237+
vertFile==null ? null : File.getContent(vertPath));
240238
}catch(e:Dynamic){
241239
trace("Shader compilation error:" + e.message);
242240
}

source/backend/TransitionState.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,8 @@ class TransitionState {
499499
CppAPI.setWindowOppacity(num);
500500
});
501501
#end
502-
case 'transparent close': var psPause = states.PlayState.instance?.paused;
502+
case 'transparent close':
503+
var psPause = states.PlayState.instance?.paused;
503504
if (FlxG.sound.music != null && FlxG.sound.music.playing)
504505
{
505506
try {

0 commit comments

Comments
 (0)