Skip to content

Allow for embedding the resource file inside the executable #26

@slendidev

Description

@slendidev

With C23, there is now a #embed preprocessor macro that can be used to embed raw file data. It would be cool to have some functions that allow us to specify a buffer and size instead of just a file path option.

Example:
In addition to rresResourceChunk rresLoadResourceChunk(const char *fileName, int rresId), there could be a rresResourceChunk rresLoadResourceChunk(const unsigned char *buffer, size_t buffer_size, int rresId) as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions