Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure EOL at end of C files | Nicholas Tay | 2022-05-25 | 1 | -1/+1 |
| | | | | macOS clang warned me lol | ||||
* | Improve plugin loading architecture | Nicholas Tay | 2022-05-11 | 1 | -11/+3 |
| | | | | | | | | | | | | | This should be better, maybe the variable names could be better though. Init is more extensible, we take in a 'board_data' struct on the plugin end that has everything it needs (mainly function pointers for now). Then, a 'board' struct is given back to the main Clak runtime, with everything it needs to know (again, mainly function pointers). It is a bit weird that the board is not stored with Clak but as a pointer to the dynamically loaded bit, but not sure. | ||||
* | Dynamic load boards as DLL (windows only for now) | Nicholas Tay | 2022-05-10 | 2 | -3/+12 |
| | | | | | | The .h files are pretty weird, should look at other C projects to see how they load plugins. This function pointer business with typedefs is kinda weird, not sure where they should live. | ||||
* | More messing around with plugin system | Nicholas Tay | 2022-05-08 | 1 | -0/+3 |
| | | | | | Just more attempts, but I think I'm gonna switch over to dynamic .so/.dll loading. That would be pretty fun to check out. | ||||
* | Initial working Windows playsound | Nicholas Tay | 2022-04-28 | 1 | -0/+0 |