Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.0 #26

Merged
merged 26 commits into from
Nov 22, 2024
Merged

1.3.0 #26

merged 26 commits into from
Nov 22, 2024

Conversation

Kirollos
Copy link
Owner

No description provided.

Kirollos and others added 26 commits April 8, 2024 03:24
- Implementation of ConfigManager, ConfigData and MessageFormatter classes
- The use of JSON as the main method of configuration, hence the inclusion of rapidjson library
- Ditching support for EuroScope 3.1d
- removal of useless inst pointer and use pMyPlugin instead
- discord-rpc included as a submodule for recompilation purposes (for debugging, no code changes)
- Init phase: Obtaining file path would break if the module name was not exactly DiscordEuroscope.dll. This approach was tweaked to support any variation to this name.
- Ditching the conventional method of radio callsigns (as a text file) and the implementation of the radio callsigns in the JSON config file.
- Implementation of a commandline ".discord hotreload" to quickly reload the config file.

More documentation to follow..
total_inrange and total_tracked were accidentally misplaced.
* GitHub Action: Create msbuild.yml
+ Changes to JSON config structure
JSON element "custom" has been renamed to "custom_callsigns"
The value of this element was changed from array of objects
to a single object of indefinite amount of elements.
This object will hold two values:
1. the callsign, which can be a strict constant or a regex (element name)
2. the corresponding radio callsign (element value)

Example:
    "radio_callsigns": {
        "config": {
            "load_from_ese": false,
            "path_to_ese" : "..\\..\\"
        },
        "custom_callsigns": {
            "^HECC_CTR$": "Cairo Control Bandbox",
            "^HECC_(\\d+)(?:_)CTR$" : "Cairo Control ACC $0"
        }
    }
This commit introduces buttons to the rich presences.
The JSON structure would be like this:
```"buttons": [
    {
        "label": "Global Button1",
        "url": "https://url"
    },
    {
        "label": "Global Button2",
        "url": "https://url"
    }
]```
The buttons array can contain 2 elements as a maximum.
Like other parameters, the buttons can be implemented globally and in each state.
@Kirollos Kirollos merged commit 1a22290 into master Nov 22, 2024
@Kirollos Kirollos deleted the 1.3.0 branch November 22, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant