Commit Graph

413 Commits

Author SHA1 Message Date
d849a3a87f Adding Steam Rich Presence support. (#1453)
* Steam Rich Presence support. I opted to put this code inside of
DesktopLauncher.java instead of SNet.java because it heavily overlaps
with the work the DiscordRPC code was already doing.

Testing wasn't easy because I had to figure out how the Steam version
actually runs normally, but it was straightforward once I figured out
what version information to slam into the JAR and fixed 'desktop:steamtest' to work locally with my paths.

Because of how Steam currently expects SetRichPresence to be used, I had
to upload to the Steam partner site a trivial Rich Presence loc token
called 'steam_status_raw' that just gets entirely substituted for the
'steam_status' RP token string. I didn't expect that I'd need to do
anything for localization support (and instead just let it use English
for everyone like Discord) but apparently Steam isn't happy if you
directly set 'steam_display' to a raw string (but I'm going to look at
that when I'm back at work because I don't know that we need that
requirement.)

* Whoops, left this in there from debugging the Steam connection.

* Fixing coding style, and also triggering another CI build
2020-01-27 12:17:52 -05:00
78fb427120 Minor fixes 2020-01-24 13:02:03 -05:00
d031efe1f2 Added Steam player limit + reduced votekick cooldown 2020-01-23 17:49:53 -05:00
95352e1729 Added server descriptions 2020-01-18 10:05:18 -05:00
c3d2351b2d Various icon changes 2020-01-17 13:57:04 -05:00
68be77fa1d Added configurable block access validation 2020-01-14 10:32:52 -05:00
677aa0d0bf Shortening of a few classes 2020-01-10 15:13:34 -05:00
954e26fc14 Method cleanup 2019-12-26 20:08:53 -05:00
4858e602ed Fixed compilation 2019-12-26 19:40:54 -05:00
de5979f4ee Many various internal changes 2019-12-26 17:46:01 -05:00
9016c12d16 Made team a separate class 2019-12-25 19:07:04 -05:00
475794640d More cleanup 2019-12-25 11:16:54 -05:00
514d4817c8 it is done 2019-12-25 01:39:38 -05:00
d47f86cc21 Cleanup 2019-12-16 10:12:39 -05:00
0cf39bf5c3 Eliminated 8 characters 2019-12-15 20:01:06 -05:00
e043f4bb66 API cleanup 2019-12-14 18:19:02 -05:00
675e15ddca Minor refactor of class names 2019-12-11 14:23:53 -05:00
2554433f8d Fixed #1184 2019-12-08 21:29:03 -05:00
9f29898713 Better console / Better logging 2019-12-08 15:17:14 -05:00
268f3cc3c2 Merge branches 'master' and 'rhino-js-suffering' of https://github.com/Anuken/Mindustry
# Conflicts:
#	core/src/io/anuke/mindustry/content/Blocks.java
#	gradle.properties
2019-12-08 00:15:42 -05:00
7dd7ccf698 Add gradle property jvmArgs (#1161)
Allows specifying additional arguments for the vm, which would
make using tools such as HotSwapAgent and dcevm easier
Example: run -PjvmArgs='["-XXaltjvm=dcevm"]'
2019-12-04 20:05:01 -05:00
5788c27aaa hmmm 2019-12-03 01:01:18 -05:00
e66ecb6c90 Removed unnecessary option 2019-12-01 12:50:11 -05:00
0e7c403bd8 Tweaks 2019-12-01 12:32:35 -05:00
b21c25bccf Added features that don't work 2019-11-30 22:15:30 -05:00
ceae04aa5b Desktop-specific scripting 2019-11-30 18:30:39 -05:00
7b69310f1b Deployment tweak 2019-11-23 21:27:52 -05:00
a1fb3e27ab Fixed launched items not saving 2019-11-22 23:10:50 -05:00
2d42704062 Switched to hjson extension 2019-11-22 18:19:18 -05:00
968f3ace33 Better mod parsing 2019-11-20 18:09:43 -05:00
ec7379cc86 Updated to gradle 6.0 2019-11-15 19:48:26 -05:00
0fd6207689 Cleanup 2019-11-14 08:51:12 -05:00
4c0607aba8 Bugfixes 2019-11-09 17:19:29 -05:00
c71b5d6f87 Copy Steam DLLs into folder 2019-11-07 14:58:51 -05:00
1e7c21c1ae Bugfixes 2019-11-06 13:59:35 -05:00
6153764c0d Bugfixes for Steam 2019-11-04 22:18:34 -05:00
a72d95e6d7 Display steam load error message 2019-11-02 14:16:26 -04:00
6d6fe41bc5 Bugfixes 2019-11-01 15:19:42 -04:00
06e7b94b60 Steam fixes 2019-10-30 16:29:01 -04:00
ee5d229f51 Workshop bugfixes 2019-10-30 01:24:03 -04:00
fcbcdfc5d9 Tweaks 2019-10-30 00:27:17 -04:00
b86218b75a Cleanup (1) 2019-10-29 15:59:53 -04:00
0722ad2f4c Refactoring of functional package 2019-10-29 15:57:25 -04:00
d28ae1b304 Bugfixes 2019-10-27 16:05:13 -04:00
bd0a6636e6 Minor bugfixes 2019-10-25 14:00:38 -04:00
f971061ef4 Bugfixes 2019-10-24 18:52:42 -04:00
ab199633f8 Check version when connecting 2019-10-23 21:47:08 -04:00
1f5e639fb2 Use short map names 2019-10-22 19:37:03 -04:00
d7ebbbf2b6 Better organization 2019-10-21 21:22:35 -04:00
4b428c6636 Bugfixes 2019-10-20 14:06:43 -04:00