anth64
a30eeb7b1c
extract_module_id non static -> static
2025-11-06 22:29:15 +01:00
anth64
8d4a506a91
extract_module_id(const char* path) static -> not static
2025-11-06 21:25:47 +01:00
anth64
0cf819fc73
stk module id static -> not static
2025-11-06 19:29:20 +01:00
anth64
3b993458d1
Add module ID tracking for hot-reloading
...
- Add stk_module_ids array to track module IDs by filename.
- extract_module_id() extracts module ID from it's filename.
- Enables tracking of file changes of already loaded modules.
2025-11-04 07:39:20 +01:00
anth64
35cc5afa9d
Module discovery working for real this time
...
- Tested on Linux
- Allocate module memory before loading anything (seg fault fixed)
2025-11-02 19:41:56 +01:00
anth64
5c621c8367
Init/shutdown working
...
- stk_init/shutdown do what they are supposed to.
- buffer sizes moved to headers
2025-11-02 18:40:33 +01:00
anth64
7d7f02d1be
use a constant for the mod dir buffer size
2025-11-02 12:44:10 +01:00
anth64
a66d9f9357
add mod dir
2025-11-02 12:30:26 +01:00
anth64
0e6664ec47
Implement Linux directory watching using inotify
2025-10-29 20:25:45 +01:00
anth64
bab9887fdb
added functions to load/unload modules
2025-10-23 22:20:49 +02:00
anth64
df0954ba0d
stk module count function, remove stk_ids since handles will be used as "ids" and typedef for stk module functions
2025-10-23 21:36:49 +02:00
anth64
4b6c3ffe2f
instead of storing modules as a struct, switch to a more "ECS" style of handling modules
2025-10-09 07:55:41 +02:00
anth64
dfa190caea
add minimal module struct
2025-10-08 21:58:22 +02:00