Skip to content

Commit 1bfc02c

Browse files
committed
really last minute things
1 parent d5c8c66 commit 1bfc02c

12 files changed

+45
-14
lines changed

source/archipelago/APPlayState.hx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,6 +2379,38 @@ class APPlayState extends PlayState {
23792379
}
23802380
}
23812381

2382+
override function beatHit()
2383+
{
2384+
switch (terminateStep)
2385+
{
2386+
case 3:
2387+
var terminate = new TerminateTimestamp(Math.floor(Conductor.songPosition / Conductor.crochet) * Conductor.crochet + Conductor.crochet * 3);
2388+
add(terminate);
2389+
terminateTimestamps.push(terminate);
2390+
terminateStep--;
2391+
COD.setPresetCOD('custom');
2392+
COD.custom = 'You were Terminated.';
2393+
case 2 | 1 | 0:
2394+
terminateMessage.loadGraphic(Paths.image("streamervschat/terminate" + terminateStep));
2395+
terminateMessage.screenCenter(XY);
2396+
terminateMessage.cameras = [camOther];
2397+
terminateMessage.visible = true;
2398+
if (terminateStep > 0)
2399+
{
2400+
terminateSound.volume = 0.6;
2401+
terminateSound.play(true);
2402+
}
2403+
else if (terminateStep == 0)
2404+
{
2405+
FlxG.sound.play(Paths.sound('streamervschat/beep2'), 0.85);
2406+
}
2407+
terminateStep--;
2408+
case -1:
2409+
terminateMessage.visible = false;
2410+
}
2411+
super.beatHit();
2412+
}
2413+
23822414
override function closeSubState()
23832415
{
23842416
setBoyfriendInvuln(1 / 60);

source/backend/ClientPrefs.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import states.TitleState;
2020
public var splashAlpha:Float = 0.6;
2121
public var lowQuality:Bool = false;
2222
public var shaders:Bool = true;
23-
public var cacheOnGPU:Bool = #if !switch false #else true #end; // GPU Caching made by Raltyro
23+
public var cacheOnGPU:Bool = false; // GPU Caching made by Raltyro // its buggy lol
2424
public var framerate:Int = 60;
2525
public var camZooms:Bool = true;
2626
public var hideHud:Bool = false;

source/options/MixtapeSettingsSubState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class MixtapeSettingsSubState extends BaseOptionsMenu
5151
"Native",
5252
"Native-old",
5353
"Andromeda (legacy)",
54-
"BEAT! Engine",
54+
//"BEAT! Engine",
5555
//"Kade Engine",
5656
//"ZoroForce EK",
5757
//"Mic'ed Up Engine",
@@ -115,7 +115,7 @@ class MixtapeSettingsSubState extends BaseOptionsMenu
115115
addOption(option);
116116

117117
var option:Option = new Option('Freeplay Menu:',
118-
"Which freeplay menu do you prefer?\n(This has no effect on Archipelago Mode)\nDOES NOTHING FOR NOW!",
118+
"Which freeplay menu do you prefer?\n(This has no effect on Archipelago Mode)\nBASE GAME DOES NOTHING FOR NOW!",
119119
'freeplayMenu',
120120
STRING,
121121
['Mixtape', 'Osu', 'Base Game']);

source/states/MainMenuState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ enum MainMenuColumn {
1717
class MainMenuState extends MusicBeatState
1818
{
1919
public static var psychEngineVersion:String = '1.0.3'; // This is also used for Discord RPC
20-
public static var mixtapeEngineVersion:String = '4.6.0'; // this is used for Discord RPC
20+
public static var mixtapeEngineVersion:String = '4.7.0'; // this is used for Discord RPC
2121
public static var curSelected:Int = 0;
2222
public static var curColumn:MainMenuColumn = CENTER;
2323
private var archButton:PsychUIButton;

source/states/editors/DialogueCharacterEditorState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class DialogueCharacterEditorState extends MusicBeatState implements PsychUIEven
144144
addTouchPadCamera();
145145
#end
146146

147-
MusicManager.playEditorMusic(1);
147+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
148148

149149
super.create();
150150
}

source/states/editors/DialogueEditorState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class DialogueEditorState extends MusicBeatState implements PsychUIEventHandler.
8787
changeText();
8888
super.create();
8989

90-
MusicManager.playEditorMusic(1);
90+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
9191
}
9292

9393
var UI_box:PsychUIBox;

source/states/editors/MenuCharacterEditorState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class MenuCharacterEditorState extends MusicBeatState implements PsychUIEventHan
6464
FlxG.mouse.visible = true;
6565
updateCharacters();
6666

67-
MusicManager.playEditorMusic();
67+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
6868

6969
super.create();
7070
}

source/states/editors/NoteSplashEditorState.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ class NoteSplashEditorState extends MusicBeatState
117117
curText.x += 5;
118118
add(curText);
119119

120+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
121+
120122
super.create();
121123
}
122124

source/states/editors/StageEditorState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class StageEditorState extends MusicBeatState implements PsychUIEventHandler.Psy
114114
FlxG.mouse.visible = true;
115115
animationEditor = new StageEditorAnimationSubstate();
116116

117-
MusicManager.playEditorMusic(1);
117+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
118118

119119
super.create();
120120
}

source/states/editors/StickerTest.hx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@ class StickerTest extends MusicBeatState {
3838
BG.updateHitbox();
3939
add(BG);
4040
addEditorBox();
41-
#if TOUCH_CONTROLS_ALLOWED
42-
addTouchPad('NONE','B');
43-
#end
4441
super.create();
45-
MusicManager.playEditorMusic(1);
42+
MusicManager.playEditorMusic(ClientPrefs.data.editorMusVol);
4643
}
4744

4845
var UI_box:PsychUIBox;

0 commit comments

Comments
 (0)