Commit Graph

224 Commits

Author SHA1 Message Date
Ben Morse
839ba32671 use unambiguous C declaration style 2018-01-05 16:56:08 -08:00
Ben Morse
6a59509b7b
add Discord_ClearPresence() (#104)
send-presence example updated - start a line with 'c' to toggle
whether presence information is sent or not.

Added ClearPresence to .cs bindings

Added ClearPresence to UE4 blueprint class.
2018-01-05 15:17:23 -08:00
Dmitry
b0e31a9e25 MinGW and WinXP support (issue #102) (#103)
* Add MinGW and WinXP support, remove Win SDK dep when using MinGW

Was meant to add MinGW support only, WinXP support was made by accident.
Changes:
* Remove Win SDK dependency when compiled with MinGW
* Remap the Win SDK-depended functions to string.h substitutes
* Remap missing WinAPI call RegSetKeyValueW to a substitute function

* Remove warnings by pragma when using MinGW
2018-01-05 10:56:55 -08:00
Ben Morse
2d0661c906 fix debug build with static crt
CMAKE_BUILD_TYPE is not set at configuration time, so we can't test
against it.  So, we string-replace /MD with /MT in the c[xx] flags for
the different targets.  CF:

https://stackoverflow.com/questions/14172856/cmake-compile-with-mt-instead-of-md
2018-01-05 10:42:44 -08:00
Nicolas Adamoglou
265ea814f5 Add Java Wrapper (#75) 2018-01-03 13:12:29 -08:00
Florian Zwoch
8990824c9c make ready() to explicitly take no arguments -> ready(void) (#100) 2017-12-26 22:21:32 -08:00
Gus Caplan
8f9013cea6 Revert "Clarify js rp wrapper" (#96)
This reverts commit 5438d6bf22.
2017-12-18 09:46:33 -08:00
Mason Sciotti
085e0e7326 Click dependency in build.py 2017-12-14 13:58:03 -08:00
Fades
b3102db5c9 Fix broken docs URL (#95)
Signed-off-by: Fades <me@fades.me>
2017-12-12 10:30:53 -08:00
Mason Sciotti
5438d6bf22 Clarify js rp wrapper 2017-12-11 17:22:08 -08:00
Gus Caplan
b9f9b08606 add discord rich presence js lib (#90)
* add discord rich presence js lib

* alphabeticalizeify
2017-12-08 16:05:46 -08:00
John Grosh
e5bdd61223 Added Java Implementation to list(#76) 2017-12-08 13:46:40 -08:00
Alejandro
1555405d83 Add SwordRPC to implementations (#82)
This also reorganizes the list to have languages in alphabetical order
2017-12-06 09:05:45 -08:00
Mason Sciotti
051a1eeb70 Added ATJ for unity example 2017-12-04 15:16:59 -08:00
Bluexin
3852d83d12 Adding drpc4k to wrappers/implementations list (#72)
* Adding drpc4k to wrappers/implementations list

* Git you're dumb and I hate you
2017-12-03 10:26:49 -08:00
Florian Spieß
d8122e7d69 Add Java Binding to Community Wrappers (#73) 2017-12-03 10:20:15 -08:00
Alejandro
060182f366 Update "hard mode" to change evnt to evt (#80) 2017-12-03 10:11:34 -08:00
Chris Marsh
19ed45ac25 Also only build release in for_unity build 2017-12-01 14:41:20 -08:00
Chris Marsh
be7fda7c50 Update build script for a more targeted set of stuff to build for unity 2017-12-01 14:41:20 -08:00
Chris Marsh
50ea4e61c6 Fix unity build for osx 2017-12-01 14:41:20 -08:00
Chris Marsh
82439911c6 wip update unity example 2017-12-01 14:41:20 -08:00
Chris Marsh
0d24fabdf4 Fix param type 2017-12-01 14:41:20 -08:00
Chris Marsh
79eea99d19 Update Unreal example (register more callbacks, still mostly debug prints) 2017-12-01 14:41:20 -08:00
Chris Marsh
c053b72f58 Update Unity example (also, remove dll, need to do that a better way) 2017-12-01 14:41:20 -08:00
Chris Marsh
1a278528a2 Add discriminator to join request 2017-12-01 14:41:20 -08:00
Chris Marsh
c1a8899d02 Build script cleanup 2017-12-01 14:41:20 -08:00
Chris Marsh
b01d0a8af3 Move the signing stuff out of cmake 2017-11-29 14:00:37 -08:00
Mason Sciotti
8cae35ea46 Added community wrapper/implementation table 2017-11-29 11:24:39 -08:00
Chris Marsh
8307a1ad83 Update readme 2017-11-29 10:36:14 -08:00
Chris Marsh
8af28e46be Disable code formatting on CI builds. 2017-11-29 09:50:30 -08:00
Michał Janiszewski
2af5adca3d Use simpler version of GetModuleFileNameW
As per
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683198(v=vs.85).aspx,
the advised use for getting the file name of a module from `<current
process>` is to use the simplified version. Additionally, this clears
the confusion introduced in Win7's PSAPI which moved
`GetModuleFileNameExW` into the kernel, changing its signature to
`K32GetModuleFileNameExW`, effectively breaking pre-Win7 uses unless
actively mitigated with `#define PSAPI_VERSION 1`
2017-11-29 08:08:47 -08:00
Chris Marsh
7300d1caa8 wip build script, playing with buildkite logging 2017-11-28 10:58:10 -08:00
Chris Marsh
7c3e28870e wip more build script, add signing 2017-11-28 10:27:40 -08:00
Chris Marsh
9130707086 Wrap std::thread in a holder that joins it on destruction. 2017-11-28 09:16:00 -08:00
Chris Marsh
49b23040c6 wip updating build script 2017-11-22 16:12:37 -08:00
Hunter
522c304b32 Change appveyor artifacts 2017-11-22 08:51:37 -08:00
Kia
5d5bc82e26 Moved generated.h include to last position as it is required by UE4. 2017-11-19 17:26:33 -08:00
Michał Janiszewski
49b7703334 Skip formatting on Travis 2017-11-17 10:53:59 -08:00
Michał Janiszewski
706847dd47 Add Xcode 2017-11-17 10:53:59 -08:00
Michał Janiszewski
2c566b208b Add clang 5 2017-11-17 10:53:59 -08:00
Michał Janiszewski
95be02d4ce Add Travis CI support 2017-11-17 10:53:59 -08:00
Chris Marsh
c834a2e6d9 Thanks, paranoia 2017-11-17 09:15:24 -08:00
Chris Marsh
6a963456ed Thanks, Danny. 2017-11-17 09:13:22 -08:00
Michał Janiszewski
c5d3481c47 Add GNUInstallDirs include to top-level CMakeLists 2017-11-16 09:03:17 -08:00
Michał Janiszewski
2b248a6cef Don't use hardcoded paths for installation targets 2017-11-16 09:03:17 -08:00
Ted John
c9cf6b3f41 Move /MT directive to MSVC only 2017-11-16 09:03:17 -08:00
Ted John
704c56d13f Add option for building with /MT 2017-11-16 09:03:17 -08:00
Ted John
5085d23dd1 Improve cmakelists for vcpkg building
- Remove forced /MT directive.
- Allow building for debug.
- Add option to prevent building of example apps.
2017-11-16 09:03:17 -08:00
Michał Janiszewski
1675d5d2dc Provide link to info about BUILD_SHARED_LIBS 2017-11-15 11:35:55 -08:00
Hunter
bf6e0fddd5 Update appveyor.yml 2017-11-15 09:31:21 -08:00