pomdog
pomdog copied to clipboard
Resource directory is hard-coded
Basically the issue is that I prefer to store assets in data or content (lowercase) directory, but it is not possible since the path of assets is hard-coded.
As for details, every platform specific GameHost class implementation creates AssetManager with hard-coded path (something + "/Content"). For example, GameHostX11.cpp#L258.
Yet I think that it is user's task to decide where are assets will be stored at. My guess is that the root directory for assets should be either working directory or somehow specified path via constructor parameters, which defaults to working directory (I am not sure how to do that).