First time post here, please tell me if I go against some rules. I have checked if my question isn’t already there and haven’t seen it.
SDL already has great file abstraction functionality, but what I am missing is the ability to enumerate the files in a directory, and more specifically, get modified date/time of files. I know how to write it for Linux and Windows but it would be much better if SDL offered this functionality.
Why do I want/need this? Because I want to support modding with Lua scripts on my game: the scripts should be found automatically by the game and when loaded, the game should be able to detect if the file has changed (modified date/time) so that the Lua script can be reloaded and the game doesn’t need to be restarted or the user doesn’t have to manually reload the mod. When the mod contains a syntax error, the script will be disabled until the file is modified and automatically reloaded.
Any chance this will be implemented?