Skip to content
New issue

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

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

Already on GitHub? # to your account

[Alpha!] Addon API #2750

Closed
wants to merge 3 commits into from
Closed

[Alpha!] Addon API #2750

wants to merge 3 commits into from

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented May 7, 2021

Addons are mods (like terrains and trucks) which bundle and execute a script. All installed addons are listed in Console window, menu Addons. User must press "Load" button to load an addon. The "Autoload" checkbox is dummy (WIP). The script will remain running until unloaded (TODO).

This is a lightweight edition of project AngelHUD (#2490) - it contains the same DearIMGUI features (WIP) and allows the user to load (TODO: reload) them while program is running.

obrazek

UPDATE 2021-09-02
Examples removed - I'm currently remaking it to work more closely with existing scripting subsystem.

@ohlidalp ohlidalp marked this pull request as draft May 7, 2021 23:46
See AddonReadMe.txt

AddonFileFormat.h/cpp - copypaste of Terrn2FileFormat.h/cpp
GUI_ConsoleWindow.cpp - DrawAddonSelector() - copypaste of server list UI.
Status: terrain scripts work as usual. Addon scripts not tested.
@ohlidalp
Copy link
Member Author

Superseded by much more lightweight #2840

@ohlidalp ohlidalp closed this Jan 13, 2022
@ohlidalp ohlidalp deleted the addon_API branch June 1, 2024 20:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant