Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Commit 61bf367

Browse files
remove every discord thing and some stuff
1 parent 3f1d5c7 commit 61bf367

File tree

18 files changed

+1
-353
lines changed

18 files changed

+1
-353
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Build
22

33
on:
4-
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
8-
94
workflow_dispatch:
105

116
jobs:

.github/workflows/pages.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/publish-wiki.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

Project.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222

2323
<!-- [ Custom Defines ] -->
2424

25-
<define name="FUTURE_POLYMOD" if="desktop" />
26-
<define name="FUTURE_DISCORD_RPC" if="desktop" />
25+
<define name="FUTURE_POLYMOD" if="desktop || mobile" />
2726
<define name="UPDATE_CHECK" if="desktop release" />
2827
<define name="CRASH_HANDLER" if="desktop release" />
2928

@@ -67,7 +66,6 @@
6766
<haxelib name="rulescript" />
6867
<haxelib name="hxluajit-wrapper" />
6968
<haxelib name="scriptless-polymod" if="FUTURE_POLYMOD" />
70-
<haxelib name="hxdiscord_rpc" if="FUTURE_DISCORD_RPC" />
7169
<haxelib name="hxcpp-debug-server" if="desktop debug" />
7270
<haxelib name="hxgamemode" if="linux" />
7371
<haxelib name="hx_arabic_shaper" />

docs/docs.hxml

Lines changed: 0 additions & 50 deletions
This file was deleted.

docs/docs.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

source/Main.hx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ class Main extends openfl.display.Sprite
9090
Lib.current.stage.window.setIcon(lime.graphics.Image.fromFile('icon.png'));
9191
#end
9292

93-
#if FUTURE_DISCORD_RPC
94-
DiscordClient.load();
95-
#end
96-
9793
Application.current.window.onFocusOut.add(onWindowFocusOut);
9894
Application.current.window.onFocusIn.add(onWindowFocusIn);
9995

@@ -223,10 +219,6 @@ class Main extends openfl.display.Sprite
223219

224220
FlxG.sound.play(Paths.sound('error'));
225221

226-
#if FUTURE_DISCORD_RPC
227-
DiscordClient.shutdown();
228-
#end
229-
230222
#if windows
231223
WindowsAPI.messageBox('Error!', 'Uncaught Error: \n$msg
232224
\n\nIf you think this shouldn\'t have happened, report this error to GitHub repository!\nhttps://github.com/JoaTH-Team/Rhythmo-SC/issues', MSG_ERROR);
@@ -279,9 +271,6 @@ class Main extends openfl.display.Sprite
279271
Sys.println('Crash dump saved in ${Path.normalize(path)}');
280272

281273
Application.current.window.alert(errMsg, 'CRITICAL ERROR!');
282-
#if FUTURE_DISCORD_RPC
283-
DiscordClient.shutdown();
284-
#end
285274
Sys.exit(1);
286275
}
287276
#end

source/rhythmo/api/DiscordClient.hx

Lines changed: 0 additions & 113 deletions
This file was deleted.

source/rhythmo/modding/HScript.hx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,6 @@ class HScript extends FlxBasic
268268
setVariable('Achievements', Achievements);
269269
setVariable('Bar', Bar);
270270
setVariable('Conductor', Conductor);
271-
#if FUTURE_DISCORD_RPC
272-
setVariable('DiscordClient', DiscordClient);
273-
#end
274271
setVariable('ExtendableState', ExtendableState);
275272
setVariable('ExtendableSubState', ExtendableSubState);
276273
setVariable('GameSprite', GameSprite);

source/rhythmo/options/OptionsState.hx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ class OptionsState extends ExtendableState
1616

1717
override public function create():Void
1818
{
19-
#if FUTURE_DISCORD_RPC
20-
DiscordClient.changePresence('Options Menu', null);
21-
#end
22-
2319
var bg:FlxSprite = new GameSprite().loadGraphic(Paths.image('menu/backgrounds/options_bg'));
2420
bg.scrollFactor.set();
2521
bg.screenCenter();

0 commit comments

Comments
 (0)