Commit Graph

13 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Nicky 478630d338 Pull out local var to make sure it's lifetime (and thus the internal c_str() pointer) is longer than the if block. 2019-10-09 22:37:13 +02:00
Liny d428d17aaa After feedback from discord, add the client key into Variables.cmake.
Note to any other third party client, please obtain your own key for your client so you can customize the rich presence features.
2019-09-25 01:01:25 -07:00
Liny 14058a257a Add ability to hide SL username from discord 2019-09-16 13:39:09 -07:00
Nicky 183917e39c Do not hold on to pointer of temporary. 2019-09-14 19:20:12 +02:00
Liny 76457e0534 Fix linux build error about use of a deleted function 2019-09-11 06:26:45 -07:00
Liny 570cc07de8 Fix windows vs unix directory sepperator for non windows compiles 2019-09-11 00:54:29 -07:00
Ansariel 9d7b275c84 Backed out changeset 2369671de6ef - better keep it in English since it will be displayed in Discord to people not understanding the localized text 2019-09-10 21:44:47 +02:00
Ansariel 90755c8d27 Fix "Missing RLVa String" error if region is hidden in Discord rich presence and RLVa is disabled 2019-09-10 21:44:05 +02:00
Ansariel f4b49de475 Add elapsed time to Discord rich presence 2019-09-10 21:28:01 +02:00
Ansariel 614ca33030 Localizable Discord app name 2019-09-10 18:21:07 +02:00
Nicky 2b962ab541 Clean up conflicting use of tabs vs spaces. 2019-09-10 16:57:26 +02:00
Nicky 197e1ab3c6 Make sure string pointer keeps valid as long as needed. 2019-09-10 16:55:14 +02:00
Liny 1c8be4e323 Discord rich presence support 2019-09-10 04:24:02 -07:00