jak-project/game/kernel/jak1
Hat Kid d8cca2bf83
game: refactor discord code and improve jak 2 support (#2714)
The Discord RPC code has been cleaned up and split up between game
versions.

For Jak 2, the Discord integration now shows large images for all levels
(with corresponding day and nighttime variants if required) and small
images for time of day and various states like being on the jetboard,
driving a zoomer, playing as Daxter, etc.

TODO:
- [x] mission specific images and detection
- [x] detect side missions properly
- [x] `onin-game` detection


![image](https://github.com/open-goal/jak-project/assets/6624576/35ec273f-404c-4475-a7c7-06121a17b1a5)

![image](https://github.com/open-goal/jak-project/assets/6624576/8456f5e2-4f96-4c72-ae9e-d930d76c93af)

![image](https://github.com/open-goal/jak-project/assets/6624576/9a17a0ec-c9bd-40fa-8556-f139712d8f07)

---------

Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
2023-06-17 05:16:40 +01:00
..
fileio.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
fileio.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kboot.cpp [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kboot.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kdgo.cpp [decomp] decompile decomp.gc (#1936) 2022-10-01 13:39:56 -04:00
kdgo.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
klink.cpp [decomp] Jak 2 mips2c, collide-func (#1805) 2022-08-26 18:03:48 -04:00
klink.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
klisten.cpp [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
klisten.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kmachine.cpp game: refactor discord code and improve jak 2 support (#2714) 2023-06-17 05:16:40 +01:00
kmachine.h g/jak2: initial Discord RPC implementation (#2100) 2023-01-07 10:34:01 -05:00
kprint.cpp fix upper 32 bits in certain format args being discarded (#1606) 2022-07-05 12:14:22 -04:00
kprint.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
kscheme.cpp game: Migrate from GLFW to SDL2 & attempt to rewrite / simplify display and input code (#2397) 2023-06-04 15:34:37 -04:00
kscheme.h fix upper 32 bits in certain format args being discarded (#1606) 2022-07-05 12:14:22 -04:00
ksound.cpp [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
ksound.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00