Commit Graph
100 Commits
Author SHA1 Message Date
Chris MarshandChris Marsh 19ed45ac25 Also only build release in for_unity build 2017-12-01 14:41:20 -08:00
Chris MarshandChris 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 MarshandChris Marsh 50ea4e61c6 Fix unity build for osx 2017-12-01 14:41:20 -08:00
Chris MarshandChris Marsh 82439911c6 wip update unity example 2017-12-01 14:41:20 -08:00
Chris MarshandChris Marsh 0d24fabdf4 Fix param type 2017-12-01 14:41:20 -08:00
Chris MarshandChris Marsh 79eea99d19 Update Unreal example (register more callbacks, still mostly debug prints) 2017-12-01 14:41:20 -08:00
Chris MarshandChris Marsh c053b72f58 Update Unity example (also, remove dll, need to do that a better way) 2017-12-01 14:41:20 -08:00
Chris MarshandChris Marsh 1a278528a2 Add discriminator to join request 2017-12-01 14:41:20 -08:00
Chris MarshandChris 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
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
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
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
Chris Marsh 6e744d228f Update to clang-format 6, specify all the options, turn off sort includes. 2017-11-13 10:50:37 -08:00
Chris Marsh 2f54e62c23 fix include order 2017-11-10 13:14:00 -08:00
Chris Marsh 7dc663a170 Static link crt 2017-11-09 14:24:30 -08:00
Chris Marsh a7808a20ed Fix some sizes on join request strings. 2017-11-03 13:40:30 -07:00
Chris Marsh aa79c70bf9 Adding MIT license. 2017-11-01 15:25:14 -07:00
Chris MarshandChris Marsh a089aab53e Update unity. 2017-10-17 13:34:03 -07:00
Chris Marsh 86ca320cb9 These should have been extern C. 2017-10-13 10:02:12 -07:00
Chris Marsh 6cdc830544 Missed a couple wanrings. Build example dll 2017-10-12 16:14:16 -07:00
Chris Marsh 6fa00223ad Enable all warnings, turn the noisy ones back off, fix the others. 2017-10-12 15:39:31 -07:00
Chris Marsh e7cdfaa64e I knew I shouldn't have checked in this dll 2017-09-21 14:04:46 -07:00
Chris Marsh 11e74bca5e update dll 2017-09-07 16:16:58 -07:00
Chris Marsh fb87e7c193 ReadFile and WriteFile really want to report how many bytes were read/written. 2017-09-07 16:16:34 -07:00
Chris Marsh 19abe80449 Add a few more null checks. 2017-09-07 09:23:35 -07:00
Chris Marsh fa39179be7 Fix up doing builds script, add packaging up results. 2017-09-07 09:05:41 -07:00
Chris Marsh 3566190a01 Mention unreal example in the readme 2017-09-06 14:28:49 -07:00
Chris Marsh 592f134d80 format 2017-09-06 14:27:52 -07:00
Chris Marsh 8bceae0a3a autoformat missed these before? 2017-08-29 12:42:10 -07:00
Chris Marsh 4cf8ca5670 Remove dep on rapidjson/internal 2017-08-28 10:43:36 -07:00
Chris Marsh e07806424b copy-n-paste bug 2017-08-28 10:02:37 -07:00
Chris Marsh 4dcb4afd2e Update presence 2017-08-21 10:12:19 -07:00
Chris Marsh 6dc12b82c6 Actually hook up callbacks 2017-08-21 10:12:19 -07:00
Chris Marsh 432166ef1d Expose all the callback events, hook up connect/disconnect events in example 2017-08-21 10:12:19 -07:00
Chris Marsh bd995f047d change to a UObject 2017-08-21 10:12:18 -07:00
Chris Marsh 63b467f81d wip make plugin do stuff 2017-08-21 10:12:18 -07:00
Chris Marsh 9c6495ab3e Toggleable connected message 2017-08-21 10:12:18 -07:00
Chris Marsh 21eb1e459b Somehow these settings were lost? 2017-08-21 10:12:18 -07:00
Chris Marsh ff24776107 More plugin 2017-08-21 10:12:18 -07:00
Chris Marsh 70cd486e13 Start on a Discord rpc unreal plugin 2017-08-21 10:12:18 -07:00
Chris Marsh 7ca912a5ac Adding example ui 2017-08-21 10:12:18 -07:00
Chris Marsh 10383339cc Create unreal template app 2017-08-21 10:12:18 -07:00
Chris Marsh 8dab07035f Update example id 2017-08-16 11:48:27 -07:00
Chris Marsh 88f47486cb update dll 2017-08-03 10:51:06 -07:00
Chris Marsh 0271889b2e Allow for disconnect/reconnect. 2017-08-03 10:47:27 -07:00
Chris Marsh 54bef63d67 Update readme to point out other demo 2017-08-03 10:24:08 -07:00
Chris Marsh c82cc94538 UI thing 2017-08-03 10:15:22 -07:00
Chris Marsh 470259e8b0 Unity example: show when connected 2017-08-03 09:52:43 -07:00
Chris Marsh f6853fac1b Unity example working better. 2017-08-02 17:52:20 -07:00
Chris Marsh f06b187d2d other 64bit warning fix 2017-08-02 17:37:58 -07:00
Chris Marsh ee11358d7f null or empty strings should be omitted 2017-08-02 14:57:02 -07:00
Chris Marsh 7324ae890c squelch warnings in 64bit compile 2017-08-02 14:56:39 -07:00
Chris Marsh 7fe7e2ab53 Initial pass at a unity example... no callbacks yet. 2017-08-02 11:31:35 -07:00
Chris Marsh 27e39a0ec5 Initial unity project example 2017-08-02 11:03:20 -07:00
Chris Marsh 60ad70adc2 Fix ordering of ready/disconnect callbacks. 2017-08-02 10:44:55 -07:00
Chris Marsh a7eb65355e missed a format 2017-08-02 10:44:08 -07:00
Chris Marsh 2311a26eb0 Fix my dll making, also other cmake variable use 2017-08-01 13:32:56 -07:00
Chris Marsh 67a81b82cd Moar readme 2017-07-31 15:58:46 -07:00
Chris Marsh 1e971e1161 Start on dllification 2017-07-31 15:58:39 -07:00
Chris Marsh 120fe1b069 Make these use my helper functions 2017-07-31 15:40:31 -07:00
Chris Marsh d5e6c4c11a track open/close state in connection, disconnect on read error, clarify error codes a little 2017-07-31 15:38:12 -07:00
Chris Marsh c3c27c730d note max sizes 2017-07-28 16:06:46 -07:00
Chris Marsh 1b7f782f57 register join and spectate handlers too 2017-07-28 13:53:05 -07:00
Chris Marsh 059ab337c8 Seed random number generator 2017-07-28 13:52:34 -07:00
Chris Marsh 52bdc2714d More complete presence data to test with. 2017-07-28 13:43:43 -07:00
Chris Marsh 98852fba82 Wrap json writer the same way I did reader. More RAII for json writing so I'm less likely to mess it up again. 2017-07-28 13:42:58 -07:00
Chris Marsh e69f9fbf71 Just keep a single queued presence message. 2017-07-28 10:59:32 -07:00
Chris Marsh a6a9b6259f missed a format I guess 2017-07-28 10:57:22 -07:00
Chris Marsh ef60ec40c3 Do/wrap error checking around json reading 2017-07-28 10:03:05 -07:00
Chris Marsh 6774b5d881 Only queue messages when connected. 2017-07-28 09:45:53 -07:00
Chris Marsh 6b10bd6c51 Explain backoff 2017-07-28 09:45:11 -07:00
Chris Marsh 9eb7e41c4b try more pipes 2017-07-27 16:08:17 -07:00
Chris Marsh ffab428366 Don't need 2017-07-27 16:08:17 -07:00
Chris Marsh 20ad7e4ced OSX/linux version initial attempt 2017-07-27 16:08:17 -07:00
Chris Marsh bfcfd10baa fix some warnings, format 2017-07-27 16:08:17 -07:00
Chris Marsh f617f3b78d Let's just register in init 2017-07-27 13:29:24 -07:00
Chris Marsh 1f6fd05884 Add registry key to simplify launching 2017-07-27 11:56:19 -07:00
Chris Marsh fbb9828538 Add install and bundle targets 2017-07-25 16:00:12 -07:00
Chris Marsh eff657014b Add quit to test shutdown works; empty command to not send presence. 2017-07-25 14:33:12 -07:00
Chris Marsh 211350604b like using better 2017-07-25 13:56:56 -07:00
Chris Marsh 7dcc2d45e3 Make that define a cmake option. 2017-07-25 13:40:30 -07:00
Chris Marsh eb2f6f8edc bootstrapping fix 2017-07-25 11:57:52 -07:00
Chris Marsh 7c07dba3f7 Handle initial connect failure better. 2017-07-25 11:41:12 -07:00
Chris Marsh fbd8d6897d Automate running clang-format if it is available. 2017-07-25 11:02:28 -07:00
Chris Marsh 7a6172a300 Format 2017-07-25 09:27:48 -07:00
Chris Marsh 866e6d1104 Clean up this allocation junk 2017-07-25 09:06:48 -07:00
Chris Marsh 38c0599380 Just use stack allocations in parsing by default. 2017-07-24 14:59:45 -07:00
Chris Marsh 63058ddf23 Error message cb 2017-07-24 14:58:53 -07:00
Chris Marsh 88ab85c81e Rename, move some json stuff to header 2017-07-24 10:54:47 -07:00
Chris Marsh 449584b9c9 Register for events for our three callbacks 2017-07-21 15:42:59 -07:00
Chris Marsh 063a329a0b Wait for READY event for connection. 2017-07-21 13:54:52 -07:00
Chris Marsh 559f56b05c I'm still not convinced of this multiple ipc pipe thing. 2017-07-20 15:59:50 -07:00
Chris Marsh 6ea9c46f77 Rename a thing 2017-07-20 15:59:15 -07:00
Chris Marsh 827c056602 I like this better over here. 2017-07-20 15:08:34 -07:00