GothicKit / ZenKit

A re-implementation of file formats used by the early 2000's ZenGin
http://zk.gothickit.dev/
MIT License
44 stars 10 forks source link

Stabilize and generify the API #3

Closed lmichaelis closed 1 year ago

lmichaelis commented 2 years ago

The API needs to be stabilized and made more intuitive by making all classes and features behave in a similar way. Right now, for example, one can create a daedalus::script from a buffer or by passing a std::string_view which reads a file. Ignoring for now, that it should take a std::filesystem::path instead, this API should either be available for all classes or be removed in favour of just always passing a buffer.