mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
d8cca2bf83
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>
11 lines
295 B
C++
11 lines
295 B
C++
#pragma once
|
|
|
|
#include "discord.h"
|
|
|
|
namespace jak2 {
|
|
extern const std::map<std::string, std::string> level_names;
|
|
extern const std::map<std::string, std::string> level_name_remap;
|
|
extern const std::vector<std::string> indoor_levels;
|
|
const char* time_of_day_str(float time);
|
|
} // namespace jak2
|