Commit Graph

21 Commits

Author SHA1 Message Date
James Seibel 1af6e83086 Add missing licensing headers 2023-09-01 20:43:26 -05:00
James Seibel 7a0a217822 Update existing licensing headers 2023-09-01 07:44:15 -05:00
James Seibel 8489003e0c Apply editorconfig auto formatting 2023-08-14 21:16:08 -05:00
James Seibel 1dad6fd83f Overhaul Dh API event definition system
Whether an event is a one time event or a cancelable event is now defined via their interface.
Also replace DhApiLevelSaveEvent with DhApiChunkModifiedEvent
2023-06-23 23:07:41 -05:00
James Seibel 594f42a889 rename namespace lod -> distanthorizons 2023-06-17 17:45:21 -05:00
James Seibel 250ace6f28 rename lod.core.api -> lod.coreapi.api to file compiler issues 2023-05-02 07:33:22 -05:00
James Seibel 0a806c1218 Minor refactoring and Event Test fixes 2022-11-25 09:51:59 -06:00
James Seibel d6a83c8b61 Fix event related null pointer issues 2022-11-24 23:09:00 -06:00
James Seibel 0647d212d6 Fix Event tests not failing correctly 2022-11-24 22:32:37 -06:00
James Seibel 0f06fedb95 rename DhApiEventInjector -> ApiEventInjector
This renaming was because the injector isn't designed to be used from the API, only internally; and externally available objects all start with "DhApi"
2022-11-24 18:05:07 -06:00
James Seibel 6ca2da3f7f Add one time API events (IE setup events)
This allows users to bind to setup events after they've happened and still have the event fire. This is useful for setup since mod load order isn't defined.
2022-11-21 19:26:14 -06:00
James Seibel 6c249335c5 Move some API objects into the DhApiMain object 2022-09-16 23:24:25 -05:00
James Seibel ec738aea22 Re-add api event tests 2022-09-13 21:56:03 -05:00
James Seibel 92a98aba96 Hook up the API events (some are missing parameter objects) 2022-09-13 21:44:00 -05:00
James Seibel 4f1203b32c Flip API -> Core dependency to Core -> API
Very rough, a decent amount of the API isn't hooked up to anything.
2022-09-12 21:53:55 -05:00
TomTheFurry 3f23ef960b Reorganize all the classes and move them around to make more sense and be easier to navigate. Also removed/unwrapped the 'a7' temp package. 2022-09-12 22:43:06 +08:00
James Seibel f2c19ef3a3 comment out failing unit test 2022-09-11 22:41:14 -05:00
James Seibel 14b855ada6 Fix incorrect API tests (and move them to the API sub-project) 2022-09-11 22:25:22 -05:00
James Seibel 09ceab5c70 Comment out API/API test code so we can get everything compiling 2022-09-07 07:37:07 -05:00
James Seibel 7a00ba09a2 Move API tests to the API sub-project 2022-09-05 18:53:12 -05:00
James Seibel 9eefd53fdc Fix test compiling in API
TODO: why do we need manifold to compile the API when any test file is present?
2022-09-05 16:08:40 -05:00