James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Michael Steenbeek
079d99d7b2
Require new plugins to specify a target API version
2022-12-20 16:34:38 +01:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Ted John
3acec45f97
Mark plugins that errored in main as started ( #17207 )
...
This is to make sure plugin still runs stop / clean up code before it is unloaded. Otherwise context menu items etc. are not removed.
2022-05-14 15:44:35 +01:00
Ted John
818dcacb31
Add draw to image API
2022-03-24 22:37:22 +00:00
Ted John
6fea0b5025
Start work on intransient plugins
2022-03-21 21:42:30 +00:00
Ted John
007a33404e
Close plugin's windows gracefully when stopped
...
When a plugin is stopped, close all windows created by that plugin.
Ensure the close event on the window can not open a new window if the plugin is being stopped.
2022-02-17 20:18:30 +00:00
ζeh Matt
993b168bfd
Implement profiler ( #16194 )
...
* Implement profiling API
* Add console commands for the profiler
* Remove accidental line
* Correct csv output
* Add copyright notice
* Add missing override
* Add default virtual destructor
* Explicitly pass template argument
* Use static
* Add plugin API for profiler
* Add more profile calls
* Workaround for GCC hopefully
* Add missing static keyword
* Use uint64 for call count
* Reduce name length see if CI passes
* Improve handling of function names
* Work around (broken) static inline variables
* Fix missing include
* Disable profiler for clang 5 and older
* Update copyright date
* Profile UpdateAllMiscEntities
* Apply review suggestions
Co-authored-by: Ted John <ted@brambles.org >
2022-01-18 20:21:20 +02:00
ZehMatt
a7bef5442b
Allow plugins to target a specific API version
2021-08-05 17:16:42 +03:00
skdltmxn
e1cfa8693f
Use c_str() instead of data()
2021-01-07 04:28:19 +09:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
Duncan
9451578cad
Fix #13454 . Use File class so that utf8 paths understood ( #13455 )
2020-11-25 13:37:07 +00:00
Tulio Leao
6a8d9007e2
Close #11614 : Require plugins to specify their license
2020-06-19 16:14:33 +02:00
Ted John
c67962577a
Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING
2020-04-26 14:35:08 +01:00
Ted John
2f525e0539
Apply more code review comments
2020-04-26 14:35:07 +01:00
Ted John
d480fb8daa
Apply suggestions from code review
...
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com >
Co-Authored-By: Michael Steenbeek <m.o.steenbeek@gmail.com >
2020-04-26 14:35:07 +01:00
Ted John
2890faee0a
Change plugin type to just local and remote
2020-04-26 14:35:03 +01:00
Ted John
e6341f0a42
Get scripting compiling on clang
2020-04-26 14:35:03 +01:00
Ted John
dc64d3541d
Transfer server-client scripts over network
2020-04-26 14:35:03 +01:00
Ted John
639faa2085
Fix GCC issues
2020-04-26 14:35:03 +01:00
Ted John
057155e5ab
Use a function to register plugin rather than return value
2020-04-26 14:35:02 +01:00
Ted John
d8b0b24c43
Implement date API
2020-04-26 14:35:02 +01:00
Ted John
e6915e8799
Do not load plugins on title screen
2020-04-26 14:35:01 +01:00
Ted John
5d78a1f2bf
Add initial network API
2020-04-26 14:35:00 +01:00
Ted John
5bd58118b5
Get the plugin branch building again
2020-04-26 14:35:00 +01:00
Hielke Morsink
e8bdb95f13
format new files
...
Since many of the changes were made before the clang-format changes went live, the new source files used a different format still. This PR applies the new style to all the new source files.
2020-04-26 14:35:00 +01:00
Hielke Morsink
c064614280
Use new copyright/license notice
2020-04-26 14:35:00 +01:00
Ted John
26eb91016e
Remove old hot reload code
2020-04-26 14:35:00 +01:00
Ted John
7047dec1d9
Get custom drop downs working
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2020-04-26 14:34:59 +01:00
Ted John
237e0be7ef
Add basic window API
2020-04-26 14:34:59 +01:00
Ted John
f54b3efe9e
Use shared_ptr for Plugin
2020-04-26 14:34:59 +01:00
Ted John
5697bcf0bd
Add basic map and thing support
2020-04-26 14:34:59 +01:00
Ted John
3556dead74
Add hot reloading support
2020-04-26 14:34:59 +01:00
Ted John
de527b3ff7
Add load and start plugin scripts
2020-04-26 14:34:59 +01:00